On Tuesday, May 31, 2011 12:18:25 PM UTC-4, Donny Plunkett wrote:
>
> I've developed a Timer App that consists of 1 count down timer and 1 count 
> up timer.  I recently installed it to my Droid X phone for the first time 
> from by connecting my phone to my development box via USB, running the app 
> from the Eclipse IDE, choosing my phone from the Eclipse device list.  The 
> installation worked.  However, when I run my Timer App on my phone and 
> another app runs concurrently, my phone freezes up and I have to pull the 
> battery to unlock the phone.   For example, I was running my Timer App and 
> while it was running, I received a text message.  This caused the phone to 
> freeze up.  Another time, the Timer App was running, I opened up a web 
> browser while it was running, and this caused the phone to freeze up.  
>
> I don't know what's causing this problem as this is the first Android App 
> I've developed and installed to my phone.  Under my phone's app settings, I 
> have 'Unknown Sources' checked.  Under the phone's App Settings->Development 
> settings.  USB debugging is checked, Stay Awake is Checked.  My app manifest 
> file has debuggable set to true.
>

That sounds frustrating - rest assured though that it is not your fault.  
Nothing you can do without rooting the phone (or perhaps exploiting some odd 
corners of the device administrator interface?) should be able to make the 
phone unresponsive for more than the application not responding timeout - 
which is normally a few seconds but up to about 30? one some devices.

So it seems like you've tripped over a bug in the build of android on that 
phone.  Likely there are problems in your code as well - you can probably do 
a better job of handling the activity lifecycle.  But getting it wrong 
should only make your app mis-operate - it should not lock up the phone.
 

-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to