[android-developers] Re: isUserAMonkey throws exception

2010-10-20 Thread George
Dianne, There seems to be a bug in ActivityManagerNative.java. The return of value of 1 (when monkey is running) is being treated as an exception. Looks like the order of reading/writing the exception is mixed-up in the parcel. On Oct 17, 11:39 pm, Dianne Hackborn hack...@android.com wrote:

[android-developers] Re: isUserAMonkey throws exception

2010-10-18 Thread andrew_esh
Perhaps this is Android's way of saying: Take your stinking paws off me, you damned dirty ape! (I couldn't resist.) -- 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

[android-developers] Re: isUserAMonkey throws exception

2010-10-18 Thread Bret Foreman
A quick google search shoes that many people have had this exception and generated questions about it. I haven't seen an answer anywhere, though. -- 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] Re: isUserAMonkey throws exception

2010-10-18 Thread Bret Foreman
By the way, the isUserAMonkey method is missing from the ActivityManager in the SDK version 8 install I have. Is it possible that this method was removed due to unreliable behavior? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: isUserAMonkey throws exception

2010-10-18 Thread joebowbeer
DeviceAdminSample in the Android-8 ApiDemos calls this method in some cases. Does this sample work in your installation? On Oct 18, 10:10 am, Bret Foreman bret.fore...@gmail.com wrote: By the way, the isUserAMonkey method is missing from the ActivityManager in the SDK version 8 install I have.

[android-developers] Re: isUserAMonkey throws exception

2010-10-18 Thread Bret Foreman
No, it does not. The same error occurs - it complains that the isUserAMonkey method is undefined. -- 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] Re: isUserAMonkey throws exception

2010-10-18 Thread Bret Foreman
As a work-around I just created my own flag which I set when I want to test. After reading about how unreliable the isUserAMonkey method is for other people, it seems like keep my existing solution is prudent, at least until the next version of the SDK. -- You received this message because you