Re: [android-developers] Re: Building android contact source code (eclair version) on eclipse.

2012-07-17 Thread Pratik Prajapati
I am making new platform sdk, from the platform build. I found that android.jar created with sdk build contains only public APIs. I wanted all APIs marked as "@hide" also be part of android.jar. I can not write stub for all thousand od hidden apis! any better way? Regards, Pratik On Tue, Jul

[android-developers] Re: Maximum number of thread created by an Android activity

2012-07-17 Thread b0b
On Tuesday, 17 July 2012 23:42:41 UTC+2, michael s wrote: > > Hi, > > Is there a limit for the number of thread created by an Android activity > runs on a phone? > If yes, how can I find out such limit? > > Thank you. > > It depends on devices but on most of them this limit is set to 42 threads.

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 3:04 PM, billb wrote: > I've done some searching and have found the "finish()" method for > PreferencesActivity, however, I am now at a loss on how to call this method > from within the Preference subclass. The Context used to initialize the Preference will be the Activi

Re: [android-developers] Re: Maximum number of thread created by an Android activity

2012-07-17 Thread m silverstri
Thanks. Can you please tell me where in the android code which defined this limited, 42? On Tue, Jul 17, 2012 at 2:52 PM, b0b wrote: > > > On Tuesday, 17 July 2012 23:42:41 UTC+2, michael s wrote: >> >> Hi, >> >> Is there a limit for the number of thread created by an Android activity >> runs on

[android-developers] top command

2012-07-17 Thread jlum
I'm trying to collect some process information for my app. I ran the "top -t -m 10" command from the shell and received the following output: User 0%, System 1%, IOW 0%, IRQ 0% User 11 + Nice 0 + Sys 22 + Idle 1490 + IOW 0 + IRQ 0 + SIRQ 0 = 1523 PID TIDPR CPU% S VSS RS

[android-developers] how to display candidate list when standard android Latin IME keyboard is hidden

2012-07-17 Thread eli
Hi, May I know how to modify the standard android ime to display candidate list view when using the hardware keyboard to type on the emulator skin? I had override the onEvaluateInputViewShown to always return true but nothing appears. Thanks -- You received this message because you are subsc

Re: [android-developers] Maximum number of thread created by an Android activity

2012-07-17 Thread Kristopher Micinski
If you're going up against 42 threads you're probably relatively insane anyway... Why do you need to know this? The answer is almost surely that the fact you're even asking implies something is wrong in your app's design. kris On Tue, Jul 17, 2012 at 5:42 PM, michael s wrote: > Hi, > > Is ther

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread billb
TreKing thanks! I'm now showing my preferences as before but I'm not capturing the click event. I have overridden the Preference class onClick method with the below, however, I set a breakpoint that is never reached. @Override public void onClick() { PrefsActivity act = (PrefsActiv

Re: [android-developers] top command

2012-07-17 Thread Justin Anderson
http://linux.die.net/man/1/top Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jul 17, 2012 at 5:47 PM, jlum wrote: > I'm trying to collect some process information for my app. > I ran the "top -t -m 10" command from the shell and received the fol

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 8:10 PM, billb wrote: > I have overridden the Preference class onClick method with the below, > however, I set a breakpoint that is never reached. Can't help you there as I've never extended Preference and tried what you're doing. I'll reiterate that you can just use fin

[android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-17 Thread Mind
1st: This does NOT occur on ICS. I have two Activities that I cycle between. Game screen and Results screen (don't complain about not using Activity Fragments). I end one with finish() and then call the next. If I exit out using the back button, some time later one of the Activies pops up.

[android-developers] Re: Regarding game application.

2012-07-17 Thread iconapp 2010
On Tue, Jul 17, 2012 at 5:53 PM, iconapp 2010 wrote: >Actually I am working for a game application called "NFC Hunter". In > that of first screen there is a panel at the middle. by touching on that > the original game has to came into picture. > >For more clarity on this go through th

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread Zoheb Rahman
Have gone through the log cat with verbose... can't find anything -- 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 android

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread Zoheb Rahman
Went through the LogCat in verbose ... can't find anything !!! somebody ! anybody !! HELP !!! > > -- 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

[android-developers] When will Nexus s get the JB OTA?

2012-07-17 Thread Fanjiang Pei
It's really a long time waiting.. -- 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 android-developers+unsubscr...@googlegr

[android-developers] Cancelling multiple alert dialogs

2012-07-17 Thread B.Arunkumar
Hi, I have an app which produces more than one alert dialog in different situations. Let us say we have more than one alert dialog on the screen - dialog1, dialog2. When dialog1 ok is pressed as per the code below, the screen finishes: AlertDialog.Builder alert_box=new AlertDialog.Builder(A

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread gjs
Hi, And how long does it take on HTC One using cell phone network connection ? Regards On Wednesday, July 18, 2012 3:52:47 PM UTC+10, Zoheb Rahman wrote: > > Went through the LogCat in verbose ... can't find anything !!! somebody ! > anybody !! HELP !!! >> >> -- You received this message beca

[android-developers] Re: Maximum number of thread created by an Android activity

2012-07-17 Thread gjs
Hi, Just code a test activity that creates an increasing number of Threads and you will get your own answer. Regards On Wednesday, July 18, 2012 7:42:41 AM UTC+10, michael s wrote: > > Hi, > > Is there a limit for the number of thread created by an Android activity > runs on a phone? > If yes,

Re: [android-developers] Cancelling multiple alert dialogs

2012-07-17 Thread TreKing
On Wed, Jul 18, 2012 at 12:57 AM, B.Arunkumar wrote: > Now how do I cancel also dialog2? > Keep a reference to it and call dismiss() or it. Or better yet, use showDialog() to have it managed for you.

Re: [android-developers] When will Nexus s get the JB OTA?

2012-07-17 Thread TreKing
On Wed, Jul 18, 2012 at 12:55 AM, Fanjiang Pei wrote: > It's really a long time waiting.. This has nothing to do with developing apps with the Android SDK, which is what this list is for. Ask your carrier. -

[android-developers] [Chris] Playing vidoes and showing images from Playlist

2012-07-17 Thread Kumar Bibek
Hi Chris, I think playing videos or showing images directly on the browser would be the best solution that we can have right now. I tried modal dialogs, but some devices played it, and other's failed. It was a 50-50 number. So, I would say, showing the videos and images in a separate screen, full

[android-developers] Re: [Chris] Playing vidoes and showing images from Playlist

2012-07-17 Thread Kumar Bibek
Sorry. Wrong email ID. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jul 18, 2012 at 12:00 PM, Kumar Bibek wrote: > Hi Chris, > > I think playing videos or showing images directly on the browser would be > the best solution that we can have r

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread Zoheb Rahman
It takes about 42 secs using the cell phone network on the HTC one x ... have tried this several times and takes around the same time ... but when i run it on a emulator using the same android firmware as the HTC one x ... it takes only 4 secs > > -- You received this message because you are

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-17 Thread Dirk Vranckaert
I do indeed need that. What I'm trying to do is: 1) I have a widget with a button, on the button I want to put the PendingIntent that I showed in my first post. 2) Then when the user presses that button, an action happens (something is started), and I want to change the PendingIntent on the butt

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-17 Thread Dianne Hackborn
The log line you posted just means that for some reason your UI thread has been busy so missed frames. If the code you printed is executing that log line more than once, then you either have a race condition (because this is being executed from multiple threads), or something is clearing that flag

Re: [android-developers] Re: Maximum number of thread created by an Android activity

2012-07-17 Thread Dianne Hackborn
There is no such limit to the number of threads. However, if you are wondering about such limits, you should probably be re-thinking your app design. :} On Tue, Jul 17, 2012 at 2:52 PM, b0b wrote: > > > On Tuesday, 17 July 2012 23:42:41 UTC+2, michael s wrote: >> >> Hi, >> >> Is there a limit f

<    1   2