Hi,
seems like 'Start Activity' is the most powerfull command in Automagic and
gives access to lot of usefull things. Of course it 's the most complicated
theme, too It is hard to do the first steps there. For your actual special
problem most of time Google fails in help to. Well: Programmers life
So I'm looking for good beginners stuff for reading and learning. Any
links, examples and descriptions to understand the fields you have to fill
in AM's 'Start Activity' are welcome and helpfull; thx for!
2nd question - same theme: Is there a kind of 'inspector' for apps to
browse throu their objects and methods?
Regards - LiTe
Learning Android 's playground
Moderator: Martin
Re: Learning Android 's playground
Hi,
A good start is to use the Android developer documentation of the Intent class http://developer.android.com/reference/ ... ntent.html and check the documentation of individual actions listed as ACTION_*.
For example action Intent.html#ACTION_WEB_SEARCH can be used to start a search on the web. You can use the extra with key "query" to pass the search term.
A complete configuration would look like this:
Action: android.intent.action.WEB_SEARCH
Extras: putString("query", "test")
The help page of the action Start Activity contains a few more simple examples.
To my knowledge there is no good way to dynamically collect this information on a device. If you are lucky you find some developer documentation available on the web like http://dev.skype.com/skype-uri or you can check the source code of open source android apps.
Regards,
Martin
A good start is to use the Android developer documentation of the Intent class http://developer.android.com/reference/ ... ntent.html and check the documentation of individual actions listed as ACTION_*.
For example action Intent.html#ACTION_WEB_SEARCH can be used to start a search on the web. You can use the extra with key "query" to pass the search term.
A complete configuration would look like this:
Action: android.intent.action.WEB_SEARCH
Extras: putString("query", "test")
The help page of the action Start Activity contains a few more simple examples.
To my knowledge there is no good way to dynamically collect this information on a device. If you are lucky you find some developer documentation available on the web like http://dev.skype.com/skype-uri or you can check the source code of open source android apps.
Regards,
Martin