// 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to