Tuesday, January 11, 2011

[android-developers] Validity term of getProperty('am.current.package') in monkeyrunner

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+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


Real Estate