Check the previous post too: Diego Torres Milano's blog: Android: Playing with Intents which refers to a previous version.
This new version includes some extra features to help you understand and test Android intents.
Installation
Use the method described in Diego Torres Milano's blog: Android Intent Playground 2.0 installation or download AndroidIntentPlayground.apk and install it on the emulator using
adb install AndroidIntentPlayground.apk
Usage
After successful installation the launcher icon appear on the main screen
Launch Intent Playground and the main screen appears
we can tailor an Intent, filling some of its attributes, and then do something with it for example starting the corresponding application.
Among these Intent attributes we can set
action | the general action of the Intent, such as ACTION_VIEW, ACTION_EDIT, ACTION_MAIN, etc. |
attribute | the data to operate on, specified as an (attribute, value) pair. Can be a
|
value | the actual value to complete the (attribute, value) pair as specified in attribute |
intent | specifies what to do with the intent
|
activity | the resolved activity |
Random intents
There's a menu option to fill in random values, from a pre built list, of intent attributes
1 comment:
Can I get the source code for Acdroid Intent Playground 2.0
Post a Comment