Re: [android-developers] restart device from code

2011-04-13 Thread Rogério de Souza Moraes
Hi, I modified the Android framework to create a menu with soft buttons to emulate the hadr buttons. I have one hard button to call this menu, but when the user keep pressing this button for a long time, the Android reboots. I believe that it causes a memory leak and the Android reboots. Regards

Re: [android-developers] restart device from code

2011-04-13 Thread String
I've certainly had a bug that. Usually locked it up for a minute or two first, then rebooted. IMHO, it was a bug in the OpenGLES stack rather than my code, but that's splitting hairs. Chased that one for nearly a year before I finally squashed it. String -- You received this message because y

Re: [android-developers] restart device from code

2011-04-13 Thread Marcin Orlowski
2011/4/13 Rogério de Souza Moraes here with a bug in my program I could force the Android to restart, but I do > not recommend this way. You say you found a bug when "executed" in your code causes the whole device to reboot? Regards, Marcin Orlowski *Tray Agenda * -

Re: [android-developers] restart device from code

2011-04-13 Thread Rogério de Souza Moraes
Hi, here with a bug in my program I could force the Android to restart, but I do not recommend this way. 2011/4/13 TreKing > 2011/4/13 Károly Holczhauser > >> Is there any chance to restart the hole device from code ?! > > > A restart is not going to fix a hole in your device =P > > > ---

Re: [android-developers] restart device from code

2011-04-13 Thread TreKing
2011/4/13 Károly Holczhauser > Is there any chance to restart the hole device from code ?! A restart is not going to fix a hole in your device =P - TreKing

Re: [android-developers] restart device from code

2011-04-13 Thread Marcin Orlowski
2011/4/13 Károly Holczhauser > Hi there! > > Is there any chance to restart the hole device from code ?! > No (unless you got root). What you need that for? Regards, Marcin Orlowski *Tray Agenda * - keep you daily schedule handy... *Date In Tray*

Re: [android-developers] restart device from code

2011-04-13 Thread Jonas Petersson
On 2011-04-13 13:12, Károly Holczhauser wrote: Is there any chance to restart the hole device from code ?! Try this: new AlertDialog.Builder(this) .setMessage("Dear user, could you please restart?") .show(); Anything else would be a bad idea even if it was possible.

[android-developers] restart device from code

2011-04-13 Thread Károly Holczhauser
Hi there! Is there any chance to restart the hole device from code ?! Thanks: Károly -- 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,