Re: [android-developers] Re: How to execute KILL -9 pID command

2011-08-04 Thread arun kumar
/* Way one */ android.os.Process.killProcess(android.os.Process.myPid()) /* Way Two */ System.exit(0); On 8/5/11, vinaykant wrote: > Thanks for your reply.. > > Is there any way using any package or API to get this thing done? > > Regards > Vinay > > On Aug 5, 4:27 am, Paul Turchenko wrote: >> L

Re: [android-developers] Android and web server connectivity

2011-08-04 Thread sourabh sahu
I want the data should come in XML format from mysql server and at android side I will parse. Lets say I have taken a webspace on some server providing me MYSQL database.now what should I do? If a user request it and server will generate and XML response. Question is How we can generate XML from M

Re: [android-developers] Android and web server connectivity

2011-08-04 Thread Ratheesh Valamchuzhy
hi using the http connection /post we canretrive the data from the mysql server and use...plse explain the more requirement thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers

Re: [android-developers] Android and web server connectivity

2011-08-04 Thread sourabh sahu
Can you please elobrate it more(Technically). Thanks, Sourabh On Fri, Aug 5, 2011 at 5:11 AM, TreKing wrote: > On Thu, Aug 4, 2011 at 8:34 AM, ashkmth wrote: > >> The android client should be able to retrieve the the latitude and >> longitude of locations in mysql(external) database and then p

[android-developers] Custom Simpleadapter not updating listview on notifyDataSetChanged

2011-08-04 Thread Manish Garg
Hi All, I am using following adapter class when I am calling notifyDataInvalidate and then notifyDataSetChanged, it is not updating listview. strangely I have two instance of this adapter, in one of them list is getting updated. public class CalendarEventAdapter extends SimpleAdapter {

[android-developers] map does not displaying in device

2011-08-04 Thread Ratheesh Valamchuzhy
Hi alll I am developing an applicatin which displays google map in android phone , i already take the Api key from google and put it to the XML file ... iam using Goolgle MAp API level 8 my prblem is the map is displaying in the emulater not in the Android phone Any one help me to do that.. i

[android-developers] Re: How to execute KILL -9 pID command

2011-08-04 Thread vinaykant
Thanks for your reply.. Is there any way using any package or API to get this thing done? Regards Vinay On Aug 5, 4:27 am, Paul Turchenko wrote: > Look > athttp://developer.android.com/reference/android/Manifest.permission.ht... > > But I do agree with Mark. Please don't write anything like th

Re: [android-developers] purpose of R.java file

2011-08-04 Thread pavan
Hi Satya, A project's R.java file is an index into all the resources defined in the file. You use this class in your source code as a sort of short-hand way to refer to resources you've included in your project. This is particularly powerful with the code-completion features of IDEs like Eclipse

[android-developers] Delete the sent msg

2011-08-04 Thread subha
Hi,How to delete particular (contact Number) sms from sent items via andriod application? Thanks, subha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Android Input Method Problem

2011-08-04 Thread Daniel Felix
Hi All, I am working for a InputMethod and want to design my keyboard with multicolored keys. I have searched on internet and cannot find any thing with keyboard api to modified the different keys with different color. I am following the SampleInputMethod Application. If someone know about

Re: [android-developers] Need Help

2011-08-04 Thread Nick Risaro
Yeah, it's possible, once I was using Navigation, received a phone call and the "lady" continued giving me directions over the call but I don't now if the other person could hear "she". On Fri, Aug 5, 2011 at 1:19 AM, Durgadoss R wrote: > I don't think the Audio Flinger would allow you play a Me

Re: [android-developers] Need Help

2011-08-04 Thread Durgadoss R
I don't think the Audio Flinger would allow you play a Media Stream when you are on a CALL. If you explore (Hack) the Audio Flinger + Telephony stack, you can make the song yourself. Not Sure, whether the latter part is doable. On Fri, Aug 5, 2011 at 7:34 AM, Nick Risaro wrote: > Why?? > > > On

Re: [android-developers] automating android

2011-08-04 Thread sai krishna
Hope this helps u http://seleniuminyou.blogspot.com/search/label/Android On Fri, Aug 5, 2011 at 4:38 AM, TreKing wrote: > On Wed, Aug 3, 2011 at 7:03 PM, neeta s wrote: > >> I am new to automating android. >> Can one of you guide me to start. >> > > Start here: http://www.catb.org/~esr/faqs/sm

Re: [android-developers] Re: Uploading same .apk to Market as two different apps

2011-08-04 Thread Nikolay Elenkov
On Fri, Aug 5, 2011 at 11:50 AM, Peter Webb wrote: > I want them to be the SAME app if possible, as this eliminates the > need to worry about Preferences or anything else. (Only the paid > version uses Preferences, so I don't have to worry about keeping the > Preference selections made in the curr

[android-developers] Re: Android source line numbers in stack trace

2011-08-04 Thread Chris Stratton
On Wednesday, August 3, 2011 4:20:02 PM UTC-4, Caleb9 wrote: > > It seems to me that my stack trace in Eclipse, while debugging, is > showing wrong line numbers for Android classes. Can someone please give me some hints on what am I doing wrong or > maybe what did I misunderstand about this?

[android-developers] Re: Uploading same .apk to Market as two different apps

2011-08-04 Thread Peter Webb
I want them to be the SAME app if possible, as this eliminates the need to worry about Preferences or anything else. (Only the paid version uses Preferences, so I don't have to worry about keeping the Preference selections made in the current free version). I can't simply make them absolutely iden

Re: [android-developers] Override Hint when EditText is fullscreen

2011-08-04 Thread Nick Risaro
You can try with one layout for each mode, in one you have the "Enter User Name" text and in the other don't. On Wed, Aug 3, 2011 at 9:12 PM, Karthz wrote: > Can I override the hint of an EditText when it is in landscape mode > and the ime is fullscreen? > > For example, in a login screen, I hav

Re: [android-developers] Android source line numbers in stack trace

2011-08-04 Thread Nick Risaro
I think that you need to look in the code of Button.java, not View.java. Check that the code you are looking is the same (version) that the one you are running. Just for curiosity, why are you trying to follow the error in that class? On Wed, Aug 3, 2011 at 5:20 PM, Caleb9 wrote: > Hello, > I'm

[android-developers] Re: How to delete a video file's entry from content provider

2011-08-04 Thread davemac
Check this out: http://stackoverflow.com/questions/4430888/android-file-delete-leaves-empty-placeholder-in-gallery - dave http://www.androidbook.com/proandroid3 On Aug 4, 10:33 am, Raj wrote: > Hello, > In my app, I've moved the recorded video to some other location. When I try > to find the fi

Re: [android-developers] Need Help

2011-08-04 Thread Nick Risaro
Why?? On Wed, Aug 3, 2011 at 10:46 AM, Deepak Sharma wrote: > I want to make an app in which i have to play a background song while > user is on a call with someone and this song should be heard to both > user and the caller . > > -- > You received this message because you are subscribed to the

[android-developers] hp dv6 t pavillion reviews

2011-08-04 Thread monir 619
hp dv6 t pavillion reviews It's consistently showtime with the HP Pavilion dv6 t. Powered by

[android-developers] Re: Trying to get the URI for all non media document in API level 8

2011-08-04 Thread davemac
Doh! Wrong one (that one was 11 not 8). Try this one and query the mime_type: http://developer.android.com/reference/android/provider/MediaStore.MediaColumns.html - dave On Aug 4, 9:57 pm, davemac wrote: > See this provider: > > http://developer.android.com/reference/android/provider/MediaStore

[android-developers] Re: can we detect tablets and mobiles in android programmaticaly.

2011-08-04 Thread albnok
Check that the screen layout is large or xlarge. "Supports screens" in the manifest helps filter apps. On Aug 3, 12:24 am, arun joshi wrote: > hello all, >              i am working on a project in which i had to detect the type of > device whether it is of type mobile or tablets which will avail

[android-developers] Re: Trying to get the URI for all non media document in API level 8

2011-08-04 Thread davemac
See this provider: http://developer.android.com/reference/android/provider/MediaStore.Files.html - dave http://www.androidbook.com/proandroid3 On Aug 3, 5:19 am, Debabrata wrote: > Hi All, > > Is there any URI or DB maintained by the android provider(in    FROYO or > Gingerbread) related to all

[android-developers] Re: Comments in market place

2011-08-04 Thread davemac
You could address the spyware issue with a comment in an updated description of your app. It's not the ideal solution, but it's an option. - dave http://www.androidbook.com/proandroid3 On Aug 4, 6:18 pm, Kevin Duffey wrote: > All three of these are good. I really don't get the reason behind not

[android-developers] Re: how to edit layout file at runtime

2011-08-04 Thread davemac
Without knowing the specifics of what you're trying to do, it's difficult to advise you. However, it's very possible that what you really want to do is create a suitable number of layouts depending on expected device configurations. That way, you don't need to worry about dynamically setting up a l

[android-developers] How does android decide to cache a process?

2011-08-04 Thread KK
In Gingerbread Settings->Applications->MyApplications, the Running tab has been divided into two. Running Services and Cached Background Process. So how and when does Android decide to cache a process? Mainly is there anything my app can do to tell the system to never cache my process? Thanks KK

[android-developers] Re: Wrote stack trace to '/data/anr/traces.txt'

2011-08-04 Thread davemac
What TreKing said. Did you notice this helpful information in the stacktrace: For ExpandableListView, use setAdapter(ExpandableListAdapter) instead of setAdapter(ListAdapter) Try changing that. - dave http://www.androidbook.com/proandroid3 On Aug 4, 6:25 pm, TreKing wrote: > On Wed, Aug 3, 201

Re: [android-developers] Is there any ETA in which more markets will be added?

2011-08-04 Thread TreKing
On Tue, Aug 2, 2011 at 11:03 PM, applegrew wrote: > Does anyone know of what Google is doing currently to address this? > Nobody knows. They don't disclose this information. On Thu, Aug 4, 2011 at 5:29 PM, Gaurav Agarwal < gaurav.agar...@wissenways.com> wrote: > Google are you listening. Goo

[android-developers] Re: SQLiteDatabase exception on query

2011-08-04 Thread Zsolt Vasvari
SQLite exceptions are extremely helpful and almost always spell out the exact problem. On Aug 4, 3:49 am, Mobileschizo wrote: > Why is this causing an exception? > > String[] col = new String [] {"id"}; > String sel =  "firstname=? AND lastname=?"; > String[] selArgs = new String[] {"John", "Smit

Re: [android-developers] Problem while running my first Android Application

2011-08-04 Thread Jim Graham
On Wed, Aug 03, 2011 at 12:26:12AM -0700, kavitha ravindran wrote: >I'm pretty stuck up here...while running HelloAndroid program. I'm > using Android 3.2 in Eclipse Indigo IDE. My PC has Win XP. You're about to be un-stuck. Read on. > The message in console window is, All too familiar to

[android-developers] Re: Film Use of Android Device

2011-08-04 Thread jtoolsdev
I've used CamStudio to record demo videos on an emulator. I haven't tried it with a tablet image yet. It would require a fast machine (I'm running a 4 core 64-bit machine when I use CamStudio). It's free so you might give it a try to see if it fits your needs: http://camstudio.org/ -- You

[android-developers] Yet Another IllegalStateException Weirdness

2011-08-04 Thread jtoolsdev
I'm getting this crash when I'm running my app with monkey. The crash is not seen when just running the app on the emulator nor on a device. This is a revision of an app I've had out for over a year and modified for tablets using the Google 3.0 API. java.lang.IllegalStateException: The conten

Re: [android-developers] Tips on how to start android development

2011-08-04 Thread Miguel Morales
It's easy. Choose a project and start developing it. There's no better way of learning than getting your hands dirty. You won't do everything right the first time, but you'll learn a lot. On Thu, Aug 4, 2011 at 3:21 PM, Mark Murphy wrote: > On Thu, Aug 4, 2011 at 5:30 PM, mohammed.ezza...@gmail

[android-developers] Re: Role of the Compatibility Library?

2011-08-04 Thread aleksej
hi, Could you please clarify one moment - if my app was build with ACL and runs on Honeycomb tablet is it still use ACL classes or Honeycomb platform native? thanks. On Jul 16, 9:04 am, Mark Murphy wrote: > Up until 3 minutes ago, I was fairly clear on the role of the > AndroidCompatibilityLibr

Re: [android-developers] Android and web server connectivity

2011-08-04 Thread TreKing
On Thu, Aug 4, 2011 at 8:34 AM, ashkmth wrote: > The android client should be able to retrieve the the latitude and > longitude of locations in mysql(external) database and then plot it on a > google map. > > Could u plzz tell me whether this is possible? > Yes, it is possible. > If yes, the

Re: [android-developers] MapView Tiles not loading on my device, they are in my emulator

2011-08-04 Thread TreKing
On Thu, Aug 4, 2011 at 11:40 AM, Tonez wrote: > Can anyone shed some light as to what it is that I'm missing to get the > mapView tiles to load on my device for testing? > If you are still debugging ("debuggable = true") then that should work. If you switched to release mode, you now need a sepa

[android-developers] Re: How to execute KILL -9 pID command

2011-08-04 Thread Paul Turchenko
Look at http://developer.android.com/reference/android/Manifest.permission.html#KILL_BACKGROUND_PROCESSES But I do agree with Mark. Please don't write anything like that. On Aug 4, 5:20 pm, Mark Murphy wrote: > On Thu, Aug 4, 2011 at 2:12 PM, vinaykant wrote: > > I am new baby in android develo

Re: [android-developers] Screen Recording or Screen capture

2011-08-04 Thread TreKing
On Thu, Aug 4, 2011 at 5:32 AM, Manu wrote: > I'm looking for Screen capture as images Use DDMS - see the documentation for details. - TreKing -

Re: [android-developers] Orientation Change (With Interchangeable Buttons)

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 8:51 PM, Adro947 wrote: > So basically, how can I maintain the current view (ie. what is visible and > invisible) on an orientation change? > Read the documentation section on the Activity Lifecycle and handling saving and restoring state.

Re: [android-developers] automating android

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 7:03 PM, neeta s wrote: > I am new to automating android. > Can one of you guide me to start. > Start here: http://www.catb.org/~esr/faqs/smart-questions.html - TreKing

Re: [android-developers] purpose of R.java file

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 3:30 PM, satya wrote: > Iam interested to know what is the purpose of R.java file.How the id's are > created.why the id's are created and what is the use of generating the id's. > > plz send the reply..thanks > plz read the documentation ...

[android-developers] Screen Shot Capture Timing!!!

2011-08-04 Thread Sebastian Tomaszewski
Hello All, I have a little dilema with the Timing on one of my Screen Capture applications: 1. Currenlty I am using the following code in oroder to capture the SCREEN SHOT of the device: " v1 = linView.getRootView(); v1.setDrawingCacheEnabled(*true*); bmp = v1.getDrawingCache(); " Which gives the

Re: [android-developers] ListActivity with tabs

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 3:07 PM, stephen miller wrote: > The tabs at the bottom stop working once I click on the second tab. > Could anyone please help? > You might want to at least explain what "stop working" means if you want anyone to read and try to debug a giant blob of foreign, unformatted c

Re: [android-developers] android mms types differences

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 2:07 AM, kanawa wrote: > Do "send" refers only to successfully delivered messages and "outbox" to > all of them (delivered + drafts)? > Strictly based on the names, that would be my assumption. --

Re: [android-developers] SQLiteDatabase exception on query

2011-08-04 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your exception. On Wed, Aug 3, 2011 at 3:49 PM, Mobileschizo wrote: > Why is this causing an exception? > > String[] col = new String [] {"id"}; > String sel =  "firstname=? AND

Re: [android-developers] Starting an App by placing a Phone on a sticker

2011-08-04 Thread Mark Murphy
On Wed, Aug 3, 2011 at 6:31 AM, Samba wrote: > Suppose a tag has a text called "Test App" and In my phone i have an > app called "Test App". > > 1) Is it possible via NFC API to start that app. If the app is properly constructed, yes. http://developer.android.com/guide/topics/nfc/index.html#inte

[android-developers] Problems with Canvas, containing Button, and with onClick method too..

2011-08-04 Thread Jeremy Dagorn
Hi all, So I have an activity which is a Canvas. I wanted to put a button on it. I'm able to do that, but several problems happened : 1) When I want to do button.setText("name"); -> there is a force close of the app, with the following error : NullPointer exception on the line calling the setText(

Re: [android-developers] What build system should I use to build the projects using Android.mk files

2011-08-04 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find a Google Group that is relevant to your question Step #4: Ask there This list is for people developing with the Android SDK. On Wed, Aug 3, 2011 at 5:41 PM, Raja wrote: > I wanted to play around with mo

Re: [android-developers] Complex script rendering issue

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 7:03 AM, Madhu K Iyengar wrote: > Is there any time frame by which android new version will start > supporting complex script rendering ? Currently, no support exists for > indic (HIndi, Devanagari etc) & southeast Asian languages. Generally, Google makes no announcements i

Re: [android-developers] signature key retrieval

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 8:06 AM, martypantsROK wrote: > Is there anything that can be done to get a key signature from an app > I already uploaded? No, sorry. > Somehow, I'm not sure how, my key that Eclipse generated no longer > works and the app I sign > is not getting the same signature.  So,

Re: [android-developers] Is there any ETA in which more markets will be added?

2011-08-04 Thread Gaurav Agarwal
Yes, android apps market should be opened for Indian developers without any delay. We are big community of internet users. Gmail and google+ both has second highest number of users in India after US. Google are you listening. gaurav On Wed, Aug 3, 2011 at 9:33 AM, applegrew wrote: > It's been

Re: [android-developers] Override android.location.Geocoder on a per-app basis?

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 9:31 AM, Chris J. Karr wrote: > The simplest solution would be to ignore Geocoder altogether (and just > use a custom lookup method), but in the spirit of doing things the > "Android way", I was wondering if it was possible to override the > system provider Context.LOCATION_

Re: [android-developers] Problem while running my first Android Application

2011-08-04 Thread Gaurav Agarwal
- Go to your android folder (in Program Files) - Android ->android-sdk->tools (check u will have emulator.exe file) - Press shift+right click - Press "Open Command Window here" - type emulator @my_avd once emulator is launch try to run your app gaurav On Wed, Aug 3, 2011 at 12:56

Re: [android-developers] Wrote stack trace to '/data/anr/traces.txt'

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 12:45 AM, Aabishkar wrote: > Tried many times still not woking Tried what many times? Re-running the same application that crashes? That's not likely to just go away ... > Help me to solve this.. Did you try reading the stacktrace you posted?

Re: [android-developers] Re: NFC Secure Element

2011-08-04 Thread Fernando Miguélez
If you follow the complete thread you will answer yourself to both questions, no. El 05/08/2011 00:15, "Xiang" escribió: > Hi, > > Thanks for the information and patches for manually enabling the card > emulation in Android. I am able to read and write a block into the > Mifare 4K emulated inside

Re: [android-developers] how to edit layout file at runtime

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 4:50 AM, abhay chavan wrote: > I want edit layout file runtime and use this file for layout how its > possible You cannot edit layout resources at runtime, sorry. All resources are read-only. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/common

Re: [android-developers] Tips on how to start android development

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 5:30 PM, mohammed.ezza...@gmail.com wrote: > book recommendations would be stunning http://stackoverflow.com/questions/1114287/good-book-for-beginning-android-development In the interests of full disclosure, I wrote some of the books cited in that answer. -- Mark Murphy

Re: [android-developers] How to execute KILL -9 pID command

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 2:12 PM, vinaykant wrote: > I am new baby in android development and developing an application > which will KILL a running application (ex. com.example.helloWorld). Please don't. > I tried process.getruntime().exec("kill -9 211"), here 211 is the pID > which I am able to g

Re: [android-developers] Problem while running my first Android Application

2011-08-04 Thread TreKing
On Wed, Aug 3, 2011 at 2:26 AM, kavitha ravindran < kavitha.ravindr...@gmail.com> wrote: > The message in console window is, And the problem is ... ? - TreKing

Re: [android-developers] EABI problem

2011-08-04 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find a Google Group that is relevant to your question Step #4: Ask there This list is for people developing with the Android SDK. On Thu, Aug 4, 2011 at 4:47 AM, dina wrote: > Hi all, > > I'm building a fram

Re: [android-developers] Re: Comments in market place

2011-08-04 Thread Kevin Duffey
All three of these are good. I really don't get the reason behind not allowing a reply to a comment, or the ability for some sort of mark that indicates a reply is pure crap.. either by a competitor or someone who has no clue how to try to resolve an issue with their particular device (which is a l

[android-developers] How to execute KILL -9 pID command

2011-08-04 Thread vinaykant
Hi All, I am new baby in android development and developing an application which will KILL a running application (ex. com.example.helloWorld). I tried process.getruntime().exec("kill -9 211"), here 211 is the pID which I am able to get. But the process.getruntime().exec command giving me permiss

[android-developers] Android and web server connectivity

2011-08-04 Thread ashkmth
hey guys i am developing a final year location-based project(gps) in android.I have to create a server using php and mysql which contains name and location(in latitude and longitude) of important hospitals in Mumbai.The android client should be able to retrieve the the latitude and longitude of loc

[android-developers] Rendering concept unclear

2011-08-04 Thread kiranbobbu
Hello , I am not clear of what rendering exactly mean. I had seen software and hardware rendering modules in media frameworks. What does they do and how exactly they are close to hardware? Best Regards -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Tips on how to start android development

2011-08-04 Thread mohammed.ezza...@gmail.com
Hello Guys, i am new in developing Android applications but not in development or mobile development so i was wondering if you can give some tips and stuff on how to kick start android, book recommendations would be stunning thanks -- You received this message because you are subscribed to the Go

[android-developers] MapView Tiles not loading on my device, they are in my emulator

2011-08-04 Thread Tonez
Hi Everyone, I'm currently building an app which utilizes the mapView component - I've gotten to the point where I need to test on an actual device but unfortunately the mapView tiles won't load. Steps I took to get to this point are as follows: I followed the instruction on the 'Obtaining a Map

[android-developers] Re: call barcode scanner

2011-08-04 Thread Chris
For Zxing: Start an Intent on the ZXing Barcode Scanner and return the Result to your Activity. Intent i = new Intent("com.google.zxing.client.android.SCAN"); i.setPackage("com.google.zxing.client.android"); i.putExtra("SCAN_MODE", "MODE"); startActivityForResult(i, 0); Hope this helps ;) On 4

[android-developers] Override android.location.Geocoder on a per-app basis?

2011-08-04 Thread Chris J. Karr
I have an app where I want to implement a function that takes a latitude & longitude pair and return a "place" associated with those coordinates. The android.location.Geocoder interface is exactly what I need, but the documentation includes the following note: "The Geocoder class requires a backend

[android-developers] DLNA Core

2011-08-04 Thread keynes
Hi All, I plan to do a kind of iMediaShare. I wonder that, is there any ready DLNA core which is open and documented? Which will not contain any UI, just APIs to find remote devices and send any URL from internet for rendering on. I plan to develeop UI according my requirement. Thanks for your he

[android-developers] Recording from both Cameras at the same time

2011-08-04 Thread Mike Maas
After searching for awhile and trying some code to open() both Front and Rear Cameras I am left to answer the experts: Is it possible to record from both Cameras at the same time? When setting up two separate Camera instances, opening them seems to work but setting them to a preview or MediaRecor

[android-developers] multilanguage support on "Developer Console"

2011-08-04 Thread martypantsROK
I thought I was smart and put all the strings I needed for my application into strings.xml and so I could make it available in multiple languages. Gee what a smart boy I am. And then I try to upload it to Market and Developer Console isn't smart enough to figure things out. It says "Set a title

[android-developers] Android Audio Policy for Volume control on Digital output devices

2011-08-04 Thread Arun
Hi all, I came across this piece of code in the AudioPolicyManager. float AudioPolicyManagerBase::computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device) { float volume = 1.0; AudioOutputDescriptor *outputDesc = mOutputs.valueFor(output); StreamDescriptor &stre

[android-developers] How to get the nfc card' UID?

2011-08-04 Thread xiaodai...@163.com
Hi, I just started to research the NFC relevant content. I can scan the card, but always don't read the card UID. I want to use getId(),but it cant'n read. And i see some demo ,using "Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);" But it outputs a bunch of garbage characters

[android-developers] MapView get map bounds issue

2011-08-04 Thread pavel
Hello. I have a problem with MapView and getting bounds of visible map area (in geographical units). I am aware that I have to get this value when map is drawn, I am reading them in a different thread, after map is drawn. The problem is that at certain zoom point and map position, getLatitudeSpan

[android-developers] EABI problem

2011-08-04 Thread dina
Hi all, I'm building a frame buffer driver and I'm getting these warnings : WARNING: "__aeabi_d2iz" [/home/dina/linux_shared/frame_buffer/ Bg_ID3437/nm5625fb.ko] undefined! WARNING: "__aeabi_dcmpeq" [/home/dina/linux_shared/frame_buffer/ Bg_ID3437/nm5625fb.ko] undefined! WARNING: "__aeabi_d2uiz"

[android-developers] "Unable to open log device '/dev/log/main': No such file or directory"

2011-08-04 Thread devgeeks
Hi, I am fairly new to Android development. I was working on a simple app and it was working great in the emulator, so I decided it was time to get a device to test it on. I am just a hobbiest and didn't want to spend a lot of money so I bought an incredibly cheap Huawei Sonic (U8650 apparentl

Re: [android-developers] Application not found at android market on Samsung galaxy mini

2011-08-04 Thread pavan
Hi Sudeep, I got the same problem and solved it by usiging this is supported in 1.6 version ,1.5 will give error so dont use android:minSdkVersion="3" like error: No resource identifier found for attribute 'resizable' in package android:resizeable="true" is *Deprecated* * * -- You receiv

[android-developers] Android Notification Sound

2011-08-04 Thread Ronan Doyle
Hi, I have only recently begun to develop android apps. I am currently working on a sound board, just for the learning experience more than anything else, I have no plans to release it :). I was wondering if anyone could help me out with setting a sound for notifications by long clicking on a butt

[android-developers] Question about Activity's launch modes

2011-08-04 Thread leo
As described in figure4 on http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html, Activity Y in task B will be brought front when activity2 in Task A startActivityY. my question is :what will happen if Activity is not at the top of task B when Activity 2 startActivityY.

[android-developers] Re: Updating home screen shortcut icon

2011-08-04 Thread mad stuntman
Hi Willian, Did you solve the problem? I have the same issue. I have relocated .action.MAIN intent filter to newer activity in the new app version, and users report me that they are not able to lunch application from older shortcut after upgrade. They need delete previous shortcut and create a new

[android-developers] Question about Activity's launch modes

2011-08-04 Thread 赖明江
** As described in figure4 on http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html, Activity Y in task B will be brought front when activity2 in Task A startActivityY. my question is :what will happen if Activity is not at the top of task B when Activity 2 startActivity

[android-developers] Complex script rendering issue

2011-08-04 Thread Madhu K Iyengar
Is there any time frame by which android new version will start supporting complex script rendering ? Currently, no support exists for indic (HIndi, Devanagari etc) & southeast Asian languages. Is there any technical issues in supporting complex script rendering? I don't think so given that Google

[android-developers] Re: Publish .APK on a website, not in Android Market?

2011-08-04 Thread Thomas
Hello All, My Android G1 developer phone was able to connect to a website, link and install from an apk I put there to test downloading .apks and Unknown Sources. My Droid X2 wouldn't do that. I had to use an app called AwesomeDrop to download and install it to the Droid X2. Once installed the ap

[android-developers] Re: NFC Secure Element

2011-08-04 Thread Xiang
Hi, Thanks for the information and patches for manually enabling the card emulation in Android. I am able to read and write a block into the Mifare 4K emulated inside Nexus S using an external card reader. Is it possible to read the data inside the Mifare 4K from Android application? Is SEEK patch

[android-developers] Orientation Change (With Interchangeable Buttons)

2011-08-04 Thread Adro947
Hello. I'm making an app, in which there are two buttons. In the default layout, Button 1 is visible. Pressing button 1 makes button 1 disappear and makes button 2 appear. Pressing button 2 makes button 2 disappear and makes button 1 appearand so forth. The problem I'm having is that when the

[android-developers] signature key retrieval

2011-08-04 Thread martypantsROK
Is there anything that can be done to get a key signature from an app I already uploaded? Somehow, I'm not sure how, my key that Eclipse generated no longer works and the app I sign is not getting the same signature. So, I can't upload an upgrade and anyone who bought the app can't get that upgrad

[android-developers] Screen Recording or Screen capture

2011-08-04 Thread Manu
Hi, Is there a way where I can capture the screen of my android device in real time? I browsed few forums but unable to get this information. I'm looking for Screen capture as images (video would be even good). I'm new here, so bear my technical knowledge in explaining my requirement. -- You rec

[android-developers] Display the Soft Keyboard from a Service

2011-08-04 Thread Piero
Hi all, I wrote a service which creates a "top bar", displayed on top of all activities, containing an EditText. I want to display the soft keyboard when that EditText is clicked, but this is not happening. Of course I've also tried this: [code] InputMethodManager imm = (InputMethodManager)this.g

[android-developers] SDK Manager

2011-08-04 Thread Emmanuel Ofembe Eneufei
Why does SDK manager just flicker and not open when I'm configuring Eclipse? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Vertical Seekbar

2011-08-04 Thread Ismi Ammar
Hi Balafon, i've tested your seekbar.. it seem that there's a bug in it,.. when scrolling somehow the thumb/slider is not at the right position.. e.g the index is 2 but the slider/thumb is at the first one.. and someshow the on touch event only affected the slider..not the thumb (is it that the

[android-developers] Error reporting

2011-08-04 Thread kalaiprabha
I'm getting this error message while running hello world application in android"emulator: ERROR: unexpected qemud char. channel close" what should i do now? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] how to edit layout file at runtime

2011-08-04 Thread abhay chavan
I want edit layout file runtime and use this file for layout how its possible -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send emai

[android-developers] Display soft-keyboard from a service

2011-08-04 Thread rippeltippel
Hi all, I wrote a service which creates a "top bar", displayed on top of all activities, containing an EditText. I want to display the soft-keyboard when that EditText is clicked, but this is not happening. Of course I've also tried this: InputMethodManager imm = (InputMethodManager)this.getSy

[android-developers] purpose of R.java file

2011-08-04 Thread satya
h Iam interested to know what is the purpose of R.java file.How the id's are created.why the id's are created and what is the use of generating the id's. plz send the reply..thanks -- You received this message because you are subscribed to the Google

[android-developers] Re: Problem with monkeyrunner. java.lang.ClassCastException when use sameAs().

2011-08-04 Thread Raja
I'm using monkeyrunner from android-sdk_r12-linux_x86, and I get the same ClassCastException when trying to use the MonkeyImage.sameAs method. On Jul 11, 12:22 am, Sean Wang wrote: > Hi, Now I am using the monkeyrunner with Android SDK_r12. Also got > this problem. > OS: Win7 x64 professional > J

[android-developers] Android source line numbers in stack trace

2011-08-04 Thread Caleb9
Hello, I'm an Android noob, so sorry if this kind of question has already been asked million times before, but searching both here and elsewhere I couldn't find an answer to my problem. It seems to me that my stack trace in Eclipse, while debugging, is showing wrong line numbers for Android classes

[android-developers] New Application

2011-08-04 Thread Ed Harned
Today Android application developers can enjoy the benefits of fork- join processing on Android devices. TymeacAND is an Android application thread managing service in either an embedded or remote (IPC) configuration. This is an open-source project naturally. The introductory article is here: Man

[android-developers] purpose of R.java file

2011-08-04 Thread satya
h Iam interested to know what is the purpose of R.java file.How the id's are created.why the id's are created and what is the use of generating the id's. plz send the reply..thanks -- You received this message because you are subscribed to the Google

[android-developers] Controler un EditText

2011-08-04 Thread GUICHARD Jacques
Quelsqu'un sait comment controler la saisie dans un EditText, je ne veux que des lettres majuscules et l'espace ? Merci -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.co

  1   2   3   >