Mobile/Projects/API: Web activities: Difference between revisions

Added MozActivity mappings table
(Created page with "== Tracking == <onlyinclude> <bugzilla> { "blocks": "776027", "resolution": "---", "include_fields": "id, priority, summary, status, assigned_to", "order": "bu...")
 
(Added MozActivity mappings table)
Line 10: Line 10:
</bugzilla>
</bugzilla>
</onlyinclude>
</onlyinclude>
== MozActivity Mapping ==
These are proposed mappings from MozActivities to Android Intents
{| class="wikitable"
!colspan="2"|MozActivity
!colspan="4"|Android Intent
|-
!|Name
!|Data
!|Action
!|Extras
!|MIME
!|URI
|-
|"dial"
|type: "webtelephony/number", number: "+11234567890"
|"android.intent.action.DIAL"
|
|
|"tel:+11234567890"
|-
|"pick"
|type: "image/jpeg"
|"android.intent.action.GET_CONTENT"
|
|"image/jpeg"
|
|-
|"send"
|type: "text/plain", text: "my message"
|"android.intent.action.SEND"
|"android.intent.extra.TEXT": "my message"
|"text/plain"
|
|-
|"view"
|type: "url", url: "http://google.com/"
|"android.intent.action.VIEW"
|
|
|"http://google.com/"
|}
27

edits