monkeyrunner API said that getProperty('am.current.package') returns the Android package name of the currently running package.
I found that the function return the current package name only when the function immediately follow the execution of an application. I want to know whether that is normal or not. If that is normal, I want to know how soon getProperty() have to be called after the execution of an application in order to get a package name normally. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en