[android-developers] Re: anddev.org - brand new shiny forum version!

2010-05-18 Thread Nithin
The black color background is not at all looking good. In that ash color fonts, can't clearly visible at all. Please change the black background color.. This is my personal opinion.. Nithin On May 18, 4:38 am, plusminus stoeps...@gmx.de wrote: Hi fellow Androids, anddev.org has been out

[android-developers] How to get TimedOutException in DatagramSocket receive method ?

2010-05-18 Thread murali
Hi all, I have a problem in receiving datagram packet . I have two threads ; one for receiving and other for sending. First, am calling receive thread and that thread will be waiting for a packet, until i call the sending thread. -- You received this message because you are subscribed to the

[android-developers] Re: How to get TimedOutException in DatagramSocket receive method ?

2010-05-18 Thread murali
Hi all, I have a problem in receiving datagram packet . I have two threads ; one for receiving and other for sending. First, am calling receive thread and that thread will be waiting for a packet, until i call the sending thread. If my sending failed, then receiver thread, continously waits. I

[android-developers] Phone gets reset automatically.

2010-05-18 Thread Amit
Hi, I am browsing a lot on my android phone.Some times I see it gets restarted automatically in idle state. I saw the log and appears android.intent.action.REBOOT is causing the reset. But it seems only system can send this intent and I not able to figure out why system sending this intent.

[android-developers] Developing UI for Android apps

2010-05-18 Thread warunsl
Hello everyone, . I am new to Android programming and have tried writing a couple of apps myself. One thing i noticed is that my application was very poor wrt the UI and the design aspects. I want to know what tools/softwares are used for developing the UI for Android apps. . Thanks in advance --

[android-developers] Phone gets reset automatically.

2010-05-18 Thread Amit
Hi, I am browsing a lot on my android phone.Some times I see it gets restarted automatically in idle state. I saw the log and appears android.intent.action.REBOOT is causing the reset. But it seems only system can send this intent and I not able to figure out why system sending this intent.

[android-developers] Re: anddev.org - brand new shiny forum version!

2010-05-18 Thread Anthoni
The black color background is not at all looking good. In that ash color fonts, can't clearly visible at all. Please change the black background color.. This is my personal opinion.. I also agree with this. I have pretty bad eyes and I used to love going to the forum to read code snippets and

[android-developers] Re: How can I associate a file with a task?

2010-05-18 Thread ko5tik
On 18 Mai, 01:22, Bob Lee crazy...@crazybob.org wrote: My activity can be reused in multiple tasks concurrently. It stores a photo associated with the task in a file. If the task is abandoned, how can I know to delete the photo? Currently, I'm planning on keeping a fixed size queue of

[android-developers] Re: stock api

2010-05-18 Thread puneet dhami
hi Brion Emde. thanks for the response. i would like to further ask about this web service. what is this webservice(which server is providing this) ? how can we used it. On Apr 29, 5:04 am, Brion Emde brione2...@gmail.com wrote: Google Finance is using a web service to provide that data to the

[android-developers] Re: change wallpaper

2010-05-18 Thread String
On May 18, 5:42 am, pramod.deore deore.pramo...@gmail.com wrote:              I am developing one application in that I want to change wallpaper. But I don't know how to do that. please help me For old-school static wallpapers, there are two approaches. In Android 2.0 and above, you should be

[android-developers] Re: anddev.org - brand new shiny forum version!

2010-05-18 Thread Mathias Lin
Nice, it's my favorite forum. I like the new skin, better than before. But agree with the contrast, it should be higher, either darker background or text font brighter. Regards, Mathias On May 18, 2:28 pm, Anthoni anthoni.gard...@gmail.com wrote: The black color background is not at all looking

[android-developers] Re: DDMS('?' in process name field)

2010-05-18 Thread Mathias Lin
I have the same problem that sometimes my app doesn't show up in the process list properly but just with a ? I figured that it might depend on where I started the app from, i.e. from within my IDE (IntelliJ or Eclipse) or if I start if from the device, i.e. right after a fresh reboot of the

[android-developers] Auto-focus problem in Camera class (HTC Hero) ? ...

2010-05-18 Thread Emre A. Yavuz
Hi, We are trying to capture images using phone's camera, which is HTC Hero in this case, using the Camera class in Android. However, we haven't been able to let the phone's camera to autofocus on any object it is pointing at for some reason. Has anybody experienced a similar problem before?

[android-developers] Re: Wired crash with ActivityUnitTestCase and dimens.xml

2010-05-18 Thread T-Droid
Ok, here is my observation. On device with Android 1.5 the program is crashing. With 1.6 the program works fine. I removed the attrs.xml and using the dimension elements directly. The crash was gone for 1.5 devices. On May 11, 10:13 am, T-Droid dev.r...@googlemail.com wrote: No comments?

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-18 Thread Donal Rafferty
Thanks Kostya, I think I'm nearly there. My current problem is adding a new configured access point. I have it hard coded in my code as follows: --- WifiConfiguration wc = new WifiConfiguration(); wc.SSID = ''+scanResult.SSID+''; wc.status =

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-18 Thread Kostya Vasilyev
Donald, Yes, obviously it's possible - Android's built-it UI for connection management does it somehow :) In my program, I do it like this: http://kmansoft.wordpress.com/2010/04/08/adding-wifi-networks-to-known-list/ -- Kostya Vasilev -- WiFi Manager + pretty widget -

[android-developers] Re: anddev.org - brand new shiny forum version!

2010-05-18 Thread plusminus
Okay, I'll tune up the text font a little. Thanks for your feedback :) Best Regards, Nicolas On 18 Mai, 09:09, Mathias Lin m...@mathiaslin.com wrote: Nice, it's my favorite forum. I like the new skin, better than before. But agree with the contrast, it should be higher, either darker

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-18 Thread Donal Rafferty
Very good tutorial there, thanks. One thing missing though is how you decide whether a scan result is an open netowrk or one using WEP or WPA/WPA2? Do you have to use scanResult.describeContents() or scanResult.capabilities in some way to determine which type of network to add? 2010/5/18

[android-developers] Add a contact and send a vcard from source code

2010-05-18 Thread Soumya
Hi, I am preparing my own contacts application and using my own database. The reason being that these are some confidential contacts which are not to be displayed in the normal contacts screen. I am able to save the information in the database which I have created, not in the contacts content

[android-developers] Re: Why does Android 2.1 kill my service?

2010-05-18 Thread mort
Music players were the most common example for remote services even on Google's SDK site. Got a link for that handy? Sorry, can't find it right now... Maybe I just misunderstood something? How is it possible to enable playing while the app's in background without a remote service?

[android-developers] How to handle accents in XML encoded as utf-8??

2010-05-18 Thread Samuh
I am parsing a RSS2.0 feed on Android using XML Pull Parser. The encoding for the XML is set as UTF-8. The parser fails giving invalid token exception. When I save the received XML feed file and open it in the browser(FireFox), the browser cannot render the XML and spits out an Invalid

[android-developers] Can't stop debugging

2010-05-18 Thread String
OK, this is a weird one. I have an app which, for the last 12 hours or so, I can't NOT launch in debug mode on my handset. No matter what I do, it shows the Process ... is waiting for the debugger to attach dialog, and the process appears with the little green bug icon in DDMS. Never seen

[android-developers] Re: Why does Android 2.1 kill my service?

2010-05-18 Thread mort
Strange... Maybe the exported attribute makes the difference? Update: Seems like it does. At least in the emulator and on my device. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-18 Thread Kostya Vasilyev
Donal, It's in scanResult.capabilites, and it's a pretty self-explanatory string. describeCapabilities is inhertied from Parcelable and has to do with persistence. -- Kostya 18.05.2010 12:48, Donal Rafferty пишет: Very good tutorial there, thanks. One thing missing though is how you

[android-developers] Setting via the Java API the height/width of a spinner in pixels

2010-05-18 Thread Sid
Hi - I tried doing this as this: b code final Spinner dayText=new Spinner(this); ArrayAdapterString adapter = new ArrayAdapterString(this, android.R.layout.simple_dropdown_item_1line, DAY_OPTIONS); dayText.setAdapter(adapter); dayText.getLayoutParams().height=45;

Re: [android-developers] Re: WCF complex types with android

2010-05-18 Thread Lamia Hannoun
Any body !! plz 2010/5/16 Lamia Hannoun lamia.hann...@gmail.com Hi ! Actually, i was casting my response to SoapPrimitive i tried to use SoapObject and it worked.Now I'm trying to send object as parameters but i couldn't do that. Can anyone help me. Thx -- You received this message

[android-developers] Urgent Help: AudioTrack class ...Streaming Mode

2010-05-18 Thread silentpartner
Hi all, I am trying to playback voice data which is received in form of RTP packets in my application. The class Receiver.java extends thread is playing back the audio. The question is 1. For real time streaming operation how to configure the write(byte[], int offsetInBytes, int

[android-developers] Re: XML editor problem

2010-05-18 Thread SHameed
Thanks for the responses. Instead of selecting just xml, you need to select the option Android XML. On the Eclipse editior, you'll find an icon that resembles a+ that is used to create Android specific XML. This will let you choose XML files for Preference, Menu, etc. On May 14, 5:40 pm, Mark

[android-developers] Re: Can't stop debugging

2010-05-18 Thread fulanito
That´s weird. Try deleting the project from the workspace (*without* removing it from disk) and importing it again (Import-Existing projects into workspace), sometimes when Eclipse goes crazy it does the trick. Fulanito. On May 18, 12:36 pm, String sterling.ud...@googlemail.com wrote: OK, this

[android-developers] Re: Question about contact management (register and lookUpKey)

2010-05-18 Thread jef
I Finally found a solution for the second problem : I was creating the contact in severals times (create RawContact and add all data of contact after) So yet I'm using this code : ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation();

[android-developers] Prepare VCard in android

2010-05-18 Thread Soumya
Hi, I am preparing a contacts application and would like to support the VCard export. Can anyone tell me if there is any API I can use to create a VCard. Thank you, Soumya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Android NDK

2010-05-18 Thread satish bhoyar
Hi all, How i can download android NDK? thanks satish -- 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 to

Re: [android-developers] Android NDK

2010-05-18 Thread Rogério de Souza Moraes
Hi Satish, here is the link were you can find it: http://developer.android.com/sdk/ndk/index.html Regards, Rogerio 2010/5/18 satish bhoyar getsatonl...@gmail.com Hi all, How i can download android NDK? thanks satish -- You received this message because you are subscribed to the

[android-developers] Make a phone call with special character *123*456789#

2010-05-18 Thread Thang Q. Tran
Dear all, I would like to make an Android application that user enter the number they would like to dial, and the app automatically format the number into *123*number# (that means the final number would contain 2 special character * and #. Could you please help me how to let Android understand

[android-developers] Can I create a sticky dialog?

2010-05-18 Thread henrik
Hi. I have an app that performs an asynchronous login as part of its startup sequence. This eventually displays a list of items. A separate thread performs integrity checks on a database on the sdcard during the startup sequence. If something is unexpected, I do a sendBroadcast() that

[android-developers] Auto-focus problem in Camera class (HTC Hero) ? ...

2010-05-18 Thread Emre A. Yavuz
Hi, We are trying to capture images using phone's camera, which is HTC Hero in this case, using the Camera class in Android. However, we haven't been able to let the phone's camera to autofocus on any object it is pointing at for some reason. Has anybody experienced a similar problem before?

[android-developers] Re: unable to open database file after OS upgrade

2010-05-18 Thread Wizard
I am having the same problem, the difference is that I never open any database. My app users keep say Force Close, and finally I got this log: android.database.sqlite.SQLiteException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method) The app

[android-developers] Can I create Tabs from Activity

2010-05-18 Thread Nithin
Hi, Is it necessary to use TabActivity for displaying Tabs. I want to display tabs from Activity. Is it possible. Nithin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] how to draw a simple shape according to compass data

2010-05-18 Thread Stephen Eilert
On Sat, May 15, 2010 at 9:08 PM, Yasin YILDIRIM yasinyildirim...@gmail.com wrote: Hello to everyone; I am trying to develop an application based on compass and camera surface. In the application there will be a camera preview and I want to draw a rectangle and text on this preview. When user

[android-developers] Crashing under Android 2.2. APIs update soon?

2010-05-18 Thread Moto
It seems a little ahead of tomorrows Google event... But I'm already getting many complaints that my app fails completely under Android 2.2. So that scares me a lot!! Anyone know when the API might be released? Tomorrow perhaps? :) -Moto -- You received this message because you are

[android-developers] Re: Developing UI for Android apps

2010-05-18 Thread Tomáš Hubálek
I'm using Eclipse with Android Plugin. Tom On 18 kvě, 08:25, warunsl waru...@gmail.com wrote: Hello everyone, . I am new to Android programming and have tried writing a couple of apps myself. One thing i noticed is that my application was very poor wrt the UI and the design aspects. I want

[android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread blcooley
In that case, you could build a hub Activity that can start each of your four Activities via startActivityForResult, then have the Activities call setResult, passing back an identifier that the hub Activity inspects in onActivityResult and uses to determine the next Activity to start. That way,

Re: [android-developers] HttpsURLConnection returns -1 code on second request

2010-05-18 Thread peeyush varshney
Hi, Please chech this: private boolean CheckInternetConnection { Log.d(TAG, CheckInternetConnection() ); try { URL url = new URL(http://www.google.com/;);// ... HttpURLConnection urlc = (HttpURLConnection) url.openConnection();

Re: [android-developers] Crashing under Android 2.2. APIs update soon?

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 9:05 AM, Moto medicalsou...@gmail.com wrote: Anyone know when the API might be released? Tomorrow perhaps? :) Judging from previous releases - about 2 - 4 weeks after people are actually using it.

[android-developers] Trouble with pendingIntent

2010-05-18 Thread ftovalle
Hi everybody, my problem is this: I have a Main Activity wich have a button, when i click on that, i execute moveTaskToBack(true); So, move activity to back, without finish it. Now, i have a notification, showing a message. When the user click there i want to restore the Main Activity (with

[android-developers] Re: Crashing under Android 2.2. APIs update soon?

2010-05-18 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
No actually the Sdk shown at Google IO gets released day of the IO conference On May 18, 9:24 am, TreKing treking...@gmail.com wrote: On Tue, May 18, 2010 at 9:05 AM, Moto medicalsou...@gmail.com wrote: Anyone know when the API might be released? Tomorrow perhaps? :) Judging from previous

Re: [android-developers] About to release first app to market.

2010-05-18 Thread TreKing
On Mon, May 17, 2010 at 2:36 PM, Leigh McRae leigh.mc...@lonedwarfgames.com wrote: I was wondering what people do to limit the phones that can purchase my app on Android Market. Why would you want to limit the number of devices that your apps runs on? OK, you can't test every single device,

[android-developers] Re: Crashing under Android 2.2. APIs update soon?

2010-05-18 Thread Moto
Sweet! I hope you're right! :) On May 18, 10:33 am, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: No actually the Sdk shown at Google IO gets released day of the IO conference On May 18, 9:24 am, TreKing treking...@gmail.com wrote: On Tue, May

[android-developers] Re: Developing UI for Android apps

2010-05-18 Thread Moto
For actual graphics I recommend Adobe products, i.e. Photoshop... and yeah for layout design use the Eclipse one... I hope better tools do become available for layout design... :) On May 18, 10:10 am, Tomáš Hubálek tom.huba...@gmail.com wrote: I'm using Eclipse with Android Plugin. Tom On

[android-developers] Does the use of a remote service help avoiding GC lags?

2010-05-18 Thread Gabriel Simões
Hello all, Since yesterday I got an idea running around my mind but I don´t know first if it would work, and then how hack it would be. People who develop audio processing/recording/playback apps for Android know how hard it is to maintain GC away from our critical paths: playing and recording

[android-developers] Re: Developing UI for Android apps

2010-05-18 Thread Gabriel Simões
Well, my tip is: understand how layouts work for the different display sizes/resolutions and then start thinking about using images to create your UIs. It´s a lot easier when you are developping for iphone/iPT since (until today) you have only one display size and one resolution config. For

[android-developers] Listener on Spinner

2010-05-18 Thread Lamia Hannoun
Hi! I want to click on an item of a spinner and change the content of another spinner. I tried to do this by creating a listener OnItemSelectedListener() but it doesn't work. Any Ideas??? Thx -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Listener on Spinner

2010-05-18 Thread Lamia Hannoun
Actually i can change the content with a simple array but the problem is that i'm calling inside the listener a method from my wcf i debug the problem and i could see that i can perfectly get data from my wcf.It's wiered i can't define the cause!! Any idea?! Thx 2010/5/18 Lamia Hannoun

[android-developers] Re: Can I create Tabs from Activity

2010-05-18 Thread Nithin
http://groups.google.com/group/android-developers/browse_thread/thread/3d510d76d38cde51/a8c686fd834a2196 From this link, I realized TabHost is assosiated with TabActivity, So we can't create Tabs without tabActivity. When executed I got this exception in Logcat.. Your TabHost must have a

Re: [android-developers] About to release first app to market.

2010-05-18 Thread Leigh McRae
Thanks for the response. I realize that Android has support to try and handle scaling the ui based on the screen size and density but this doesn't do anything for you if your using OpenGL. Since the emulator runs at about 3fps its very hard to test the different display modes. So I would

[android-developers] Re: Prepare VCard in android

2010-05-18 Thread Soumya
Isn't there any API to create a vcard with my own data in android? On May 18, 5:19 pm, Soumya soumyakanti...@gmail.com wrote: Hi, I am preparing a contacts application and would like to support the VCard export. Can anyone tell me if there is any API I can use to create a VCard. Thank you,

Re: [android-developers] Re: Prepare VCard in android

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 10:24 AM, Soumya soumyakanti...@gmail.com wrote: Isn't there any API to create a vcard with my own data in android? Can you wait more than 3 hours for a response before bumping your own thread?

Re: [android-developers] Listener on Spinner

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 10:11 AM, Lamia Hannoun lamia.hann...@gmail.comwrote: I tried to do this by creating a listener OnItemSelectedListener() but it doesn't work. Any Ideas??? Here's an idea - try posting more information than it doesn't work. On Tue, May 18, 2010 at 10:16 AM, Lamia

[android-developers] Re: About to release first app to market.

2010-05-18 Thread String
On May 18, 3:36 pm, TreKing treking...@gmail.com wrote: On Mon, May 17, 2010 at 2:36 PM, Leigh McRae leigh.mc...@lonedwarfgames.com wrote: I was wondering what people do to limit the phones that can purchase my app on Android Market. Why would you want to limit the number of devices that

Re: [android-developers] Can I create a sticky dialog?

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 8:22 AM, henrik henrik.aron...@gmail.com wrote: My problem is: this dialog disappears as soon as the startup sequence finishes and displays the list of items. Why does you startup sequence complete and show items if there was an error the user has to respond to?

[android-developers] Re: Can I create a sticky dialog?

2010-05-18 Thread henrik
On May 18, 5:33 pm, TreKing treking...@gmail.com wrote: On Tue, May 18, 2010 at 8:22 AM, henrik henrik.aron...@gmail.com wrote: My problem is: this dialog disappears as soon as the startup sequence finishes and displays the list of items. Why does you startup sequence complete and show

Re: [android-developers] Re: About to release first app to market.

2010-05-18 Thread Leigh McRae
I am actually really surprised as to how the Android Market is setup considering how long it's been out. There are a lot of people complaining about BlackBerry App World but to be honest Android Market feels likes amateur hour in comparison. Considering Google is a 200 billion market cap and

Re: [android-developers] Listener on Spinner

2010-05-18 Thread Lamia Hannoun
wcf is my .net webservice sorry for not mentionning it.Anyway, i try to connect 2 spinners when i click on an item of the first one i the other one should be refreshed. i can't do that and here is the code if u want adapter2=*new ArrayAdapter(this,android.R.layout.simple_spinner_item

Re: [android-developers] Re: How can I associate a file with a task?

2010-05-18 Thread Bob Lee
On Mon, May 17, 2010 at 11:32 PM, ko5tik kpriblo...@yahoo.com wrote: Wha do you mean bay abanddoned - the only callback for activity you can rely on is onPause() , which will be called when it leaves user focus. After this it may be killed sometime, or brought to front( onResume() will be

[android-developers] HTC Incredible not seeing market apps with GL 2.0 min set on manifest?

2010-05-18 Thread Robert Green
I just published a game last night (Deadly Chambers Beta) which has the following in the manifest: uses-sdk android:minSdkVersion=5 / uses-feature android:glEsVersion=0x0002/uses-feature So it should only be visible to Android 2.0+ devices with GL ES 2.0 or higher, right? It shows up for

[android-developers] Re: Urgent Help: AudioTrack class ...Streaming Mode

2010-05-18 Thread BobG
8khz sample rate sends 8 samples per ms. If you bundle up 50ms worth of samples in a packet (400 samples, 800 bytes) and send them the 50 ms lag is almost undetectable (unless you can hear the original too... 2 phones at the same time for example) -- You received this message because you are

Re: [android-developers] Re: About to release first app to market.

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 10:31 AM, String sterling.ud...@googlemail.comwrote: I think Leigh explained this, actually. Indeed, which is why I said: OK, you can't test every single device, but that's not a good reason, IMO. Key word (acronym?) being IMO. If you have good reason to expect

Re: [android-developers] Listener on Spinner

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 10:55 AM, Lamia Hannoun lamia.hann...@gmail.comwrote: i can get data from my webservice but once inside the bloc of the listener listEmployees is empty. All I see is this: listEmployees=GetEmployees(service.getSelectedItem().toString()); Which would indicate there's a

[android-developers] Display progress of xml parsing?

2010-05-18 Thread Nathan
Hopefully I am giving everyone an easy question. I'd like to be able to show progress of parsing an xml file in progress. I know it is more or less customary to use an AsyncTask and to have it update something like a progress bar dialog. XmlPullParser lets you get the line number. That's good

Re: [android-developers] How to handle accents in XML encoded as utf-8??

2010-05-18 Thread Frank Weiss
I always look at bits in the stream to debug UTF-8 encoding problems. Although you said the encoding is UTF-8, you ought to specifically verify: 1) The encoding given in the HTTP response 2) The encoding given in the XML prologue 3) The encoding setting of the Reader underlying the XPP. On Tue,

Re: [android-developers] Listener on Spinner

2010-05-18 Thread Lamia Hannoun
Yeah i finally found the issue when i get my data i have a datetime in it so i tried to replace with a simple new Date() and my Function worked actually so maybe i have to correct the datetime that i get from my BD that has a format like this 2010-04-20 18:00:24.000 so when i try to cast it to new

Re: [android-developers] Display progress of xml parsing?

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 11:24 AM, Nathan critter...@crittermap.com wrote: But number of lines / number of bytes doesn't match up. How about # of bytes read / total number of bytes ... ? - TreKing -

Re: [android-developers] Display progress of xml parsing?

2010-05-18 Thread Frank Weiss
Insert a byte-counting filter between the underlying byte stream and the parser. On Tue, May 18, 2010 at 9:24 AM, Nathan critter...@crittermap.com wrote: Hopefully I am giving everyone an easy question. I'd like to be able to show progress of parsing an xml file in progress. I know it is

[android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread blcooley
Looks like an easier way to do this might be to set android:nohistory to true in the manifest. (http://developer.android.com/guide/topics/ manifest/activity-element.html#nohist) On May 18, 9:10 am, blcooley blcoo...@gmail.com wrote: In that case, you could build a hub Activity that can start

Re: [android-developers] Re: Can I create a sticky dialog?

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 10:38 AM, henrik henrik.aron...@gmail.com wrote: Because the startup is not dependent on the background check. I see. In that case, since you have multiple threads, you could have the integrity checker wait on the login thread to ensure that one completes first before

Re: [android-developers] Re: About to release first app to market.

2010-05-18 Thread Ralf Schneider
Or put a post on here and see if a fellow dev can test it for you. I have set up a google group: %20http://groups.google.com/group/android-app-testing-circle http://groups.google.com/group/android-app-testing-circle Unfortunately there are currently only six (including me) people

[android-developers] Re: Urgent Help: AudioTrack class ...Streaming Mode

2010-05-18 Thread Gabriel Simões
Well, let´s see if I can help you some ... The question is 1. For real time streaming operation how to configure the write(byte[], int offsetInBytes, int sizeInBytes) methods??? For real time or offline streaming, it works the same way: as you receive your packets, call write so you can

[android-developers] Re: Speech recognition: prevent or automatically handle No matches found dialog

2010-05-18 Thread pac
Thanks for your information. I ended up having the app sleep for several seconds and then do a finishActivity() because if nothing happened by then, some error must have occurred. On Apr 20, 2:28 pm, Dianne Hackborn hack...@android.com wrote: Sorry, the current API does not provide this kind of

[android-developers] Re: AudioRecord creates a stereo file instead of a mono file.

2010-05-18 Thread pac
I must have just gotten the parameters wrong. I can create a mono file. But I used AudioFormat.CHANNEL_IN_MONO, not AudioFormat.CHANNEL_CONFIGURATION_MONO. On May 1, 9:41 am, niko20 nikolatesl...@yahoo.com wrote: Yes its a bug, sounds like the WAV header is wrong. You'll have to hack at that

[android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread ls02
Thank you. This is very useful advise that I already verified in my test app as working. Small problem is it seems the hub activity flickers a bit when launching next activity from onActivityResult (it does not flicker the first time when startActivityForResult is called from the hub's onCreate).

[android-developers] Re: AudioRecord: onPeriodicNotification and onMarkerReached are not called

2010-05-18 Thread pac
Thanks for the information. I gave up on the listener. I'm using a handler, and my recorder class is calling back to the activity whenever a buffer is ready to be processed. I'm having issues with that, but I posted about it elsewhere. On May 14, 11:45 am, HeHe cnm...@gmail.com wrote:

[android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread ls02
nohistory does not work. The app runs out of memory. On May 18, 12:33 pm, blcooley blcoo...@gmail.com wrote: Looks like an easier way to do this might be to set android:nohistory to true in the manifest. (http://developer.android.com/guide/topics/ manifest/activity-element.html#nohist) On

[android-developers] Forward Locking and ZappMarket

2010-05-18 Thread Shane Isbell
I've come to a critical decision in whether to use a web-based-site HTML 5 or an Android mobile-client to allow users to download purchased applications for ZappMarket. This has implications in regards to piracy so I wanted to get some feedback from the community. Solutions like Android Market

[android-developers] Removing / replacing radio button image

2010-05-18 Thread Divick Kishore
Hi, Could someone please suggest how can I remove / replace the image on a radio button? My radio button looks something like in the attached image. I am unable to find any xml property / method using which I can achieve the same. In case it helps, the xml declaration for my radio button

Re: [android-developers] Re: Can I create Tabs from Activity

2010-05-18 Thread skink
Nithin wrote: http://groups.google.com/group/android-developers/browse_thread/thread/3d510d76d38cde51/a8c686fd834a2196 From this link, I realized TabHost is assosiated with TabActivity, So we can't create Tabs without tabActivity. your assumption is wrong, read the above thread again, pay

[android-developers] Radio button layout.

2010-05-18 Thread Nathan
My RadioGroup isn't working properly. By now, I've figured out that RadioButtons have to be direct descendants of RadioGroup. At least, it seems to be that way for the last two years. In that case, what I would like line up two EditViews and a Spinner on the right with the three RadioButtons on

[android-developers] Re: Display progress of xml parsing?

2010-05-18 Thread Nathan
On May 18, 9:28 am, TreKing treking...@gmail.com wrote: On Tue, May 18, 2010 at 11:24 AM, Nathan critter...@crittermap.com wrote: But number of lines / number of bytes doesn't match up. How about # of bytes read / total number of bytes ... ? I'm okay with that, but I don't know how to get

Re: [android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 12:04 PM, ls02 agal...@audible.com wrote: nohistory does not work. The app runs out of memory. Have you looked at the singleTask flag? - TreKing - Chicago transit tracking

Re: [android-developers] Removing / replacing radio button image

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 12:16 PM, Divick Kishore divick.kish...@gmail.comwrote: Could someone please suggest how can I remove / replace the image on a radio button? Check the documentation for it's base class: CompoundButton to see if there's something of use there.

[android-developers] Gmail contact sync issue on Android 2.1-update1 - com.google.process.gapps has stopped unexpectedly

2010-05-18 Thread Mike Collins
This may be the wrong list but I'm not getting any response on the Defect list... I see the force quite dialog any time substantial changes are pushed up to gmail from the device. I have reproduced this issue with the Motorola Droid and Nexus One both running Android 2.1-update1. I first saw it

[android-developers] Re: Removing / replacing radio button image

2010-05-18 Thread Divkis
Hi TreKing, Could someone please suggest how can I remove / replace the image on a radio button? Check the documentation for it's base class: CompoundButton to see if there's something of use there. I have already checked CompoundButton documentation but I can't seem to find anything

Re: [android-developers] Re: Removing / replacing radio button image

2010-05-18 Thread TreKing
On Tue, May 18, 2010 at 12:53 PM, Divkis divick.kish...@gmail.com wrote: Any other ideas? Nope, sorry. I haven't used it myself, but I assumed the setDrawable functions in that class would be what you were looking for.

[android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread Streets Of Boston
What about setting your activity's launchMode to 'singleTask' (or 'singleTop') and implementing onNewIntent()? This would cause your current instance of your activity to be re-used. On May 18, 1:04 pm, ls02 agal...@audible.com wrote: nohistory does not work. The app runs out of memory. On May

[android-developers] Re: Crashing under Android 2.2. APIs update soon?

2010-05-18 Thread Streets Of Boston
Yep, usually that's the case. However, the *source* of the SDK may be released later. On May 18, 10:33 am, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: No actually the Sdk shown at Google IO gets released day of the IO conference On May 18, 9:24 

[android-developers] android.database.StaleDataException: Access closed cursor

2010-05-18 Thread social hub
*android.database.StaleDataException: Access closed cursor* I have activity A and I used managedQuery in Activity A. I have an adpater which extends from BaseAdapter. In GetView I access the mcursor to get fields. If I click a button on Activity A it goes to B, A--- B The problem arises when

[android-developers] Re: Trouble with pendingIntent

2010-05-18 Thread Felipe Ovalle
I found a solution for this! Simply I modified my manifest file android:launchMode=singleTask in the activity Main, Thanks anyway!! On Tue, May 18, 2010 at 11:31 AM, ftovalle ftova...@gmail.com wrote: Hi everybody, my problem is this: I have a Main Activity wich have a button, when i

[android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread ls02
Yes, this is really what I need. Though I see that periodically my singleTask activity contsractor and onCreate are called which means that activity instance is probably periodically destroyed though the activity's finalize is not called. But I tested my sample app and it runs without running out

Re: [android-developers] Re: Memory leaks in activities and views

2010-05-18 Thread Kostya Vasilyev
You could also be more proactive with releasing unneeded objects. Rather than doing it in finalize (if that is how you do it), do object cleanup in onPause. 18.05.2010 23:12 пользователь ls02 agal...@audible.com написал: Yes, this is really what I need. Though I see that periodically my

[android-developers] HTC Incredible suffering a reset while service running.

2010-05-18 Thread Nathan
Beta tester has reported that while my service is running, the phone reboots itself. Two beta testers have both reported this, both on the HTC Incredible. I can think of what I would do to cause a soft reset if I were trying, which I'm not. After 5-10 minutes or about 1000 files downloaded, the

[android-developers] Re: Participate in app promotion experiment

2010-05-18 Thread Maps.Huge.Info (Maps API Guru)
The experiment has started. Three developers sent me banners which are now running as ads on my app. So far, with about 4000 impressions, there have been 67 clicks or about 1.7 percent. -John -- You received this message because you are subscribed to the Google Groups Android Developers group.

  1   2   >