For mine I've put a call to android.os.Debug.waitForDebugger() in
onCreate() so it will wait for the debugger to attach before executing
any further code. This works when I'm using Eclipse to install the app
on the phone and then the wallpaper settings on my phone to activate
it.
On Jan 5, 5:29 am
Thanks! That is USEFUL to know.
On Tue, Jan 4, 2011 at 10:27 PM, Peter Webb wrote:
> Stick the following in your code:
>
> android.os.Debug.waitForDebugger();
>
> Not the easiest thing to find ...
>
--
You received this message because you are subscribed to the Google
Groups "Android Develope
Stick the following in your code:
android.os.Debug.waitForDebugger();
Not the easiest thing to find ...
On Jan 5, 4:29 pm, John Lussmyer wrote:
> Well, I just went through my code several times, and found the 1 character
> typo that was causing my onchanged() method to be hung in an infinit
Well, I just went through my code several times, and found the 1 character
typo that was causing my onchanged() method to be hung in an infinite
loop.
There doesn't seem to be any way to use the debugger to find this kind of
problem, as it just won't connect.
On Tue, Jan 4, 2011 at 3:12 PM, Jo
4 matches
Mail list logo