android - How to pick right uri scheme for intent? -


i going through android's documentation looks missing something. don't know how find data uri should use intent actions.

so according documentation intent has 2 primary information fields:

action -- general action performed, such action_view, action_edit, action_main, etc.

data -- data operate on, such person record in contacts database, expressed uri. examples of action/data pairs are:

action_view content://contacts/people/1 -- display information person identifier "1".

action_dial content://contacts/people/1 -- display phone dialer person filled in. action_view tel:123 -- display phone dialer given number filled in. note how view action what considered reasonable thing particular uri.

action_dial> tel:123 -- display phone dialer given number filled in.

action_edit content://contacts/people/1 -- edit information person identifier "1".

finding action easy, have trouble finding uri matches it.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -