[android-developers] isUserAMonkey throws exception
// Short Msg: java.lang.RuntimeException
// Long Msg: java.lang.RuntimeException: Unknown exception code: 1 msg
null
...
// Build Changelist: 1681
// Build Time: 1286811002000
// java.lang.RuntimeException: Unknown exception code: 1 msg null
// at android.os.Parcel.readException(Parcel.java:1257)
// at android.os.Parcel.readException(Parcel.java:1235)
// at
android.app.ActivityManagerProxy.isUserAMonkey(ActivityManagerNative.java:
2754)
// at
android.app.ActivityManager.isUserAMonkey(ActivityManager.java:990)
I get the following exception when trying to use the isUserAMonkey API
on a keydown.
mAM =
(android.app.ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
if (mAM.isUserAMonkey()) {
return true;
}
Any reason why this may be happening?
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home