27
edits
Line 23: | Line 23: | ||
!|MIME | !|MIME | ||
!|URI | !|URI | ||
|- | |||
|"createShortcut" | |||
|action: "org.mozilla.firefox", name: "Mozilla", icon: "http://mozilla.com/dino.png", uri: "http://mozilla.com" | |||
|CREATE_SHORTCUT | |||
|SHORTCUT_INTENT: new Intent("org.mozilla.firefox", "http://mozilla.com"), SHORTCUT_NAME: "Mozilla", SHORTCUT_ICON: new Bitmap [from icon URL] | |||
| | |||
| | |||
|- | |- | ||
|"dial" | |"dial" | ||
|type: "webtelephony/number", number: "+11234567890" | |type: "webtelephony/number", number: "+11234567890" | ||
| | |DIAL | ||
| | | | ||
| | | | ||
Line 33: | Line 40: | ||
|"open" | |"open" | ||
|type: "image/jpeg", uri: "http://example.com/image.jpg" | |type: "image/jpeg", uri: "http://example.com/image.jpg" | ||
| | |VIEW | ||
| | | | ||
|"image/jpeg" | |"image/jpeg" | ||
Line 40: | Line 47: | ||
|"pick" | |"pick" | ||
|type: "image/jpeg" | |type: "image/jpeg" | ||
| | |GET_CONTENT | ||
| | | | ||
|"image/jpeg" | |"image/jpeg" | ||
Line 47: | Line 54: | ||
|"send" | |"send" | ||
|type: "text/plain", text: "my message" | |type: "text/plain", text: "my message" | ||
| | |SEND | ||
| | |TEXT: "my message" | ||
|"text/plain" | |"text/plain" | ||
| | |||
|- | |||
| | |||
|type: "image/jpeg", uri: "http://example.com/image.jpg" | |||
|SEND | |||
|STREAM: "http://example.com/image.jpg" | |||
|"image/jpeg" | |||
| | | | ||
|- | |- | ||
|"view" | |"view" | ||
|type: "url", url: "http://google.com/" | |type: "url", url: "http://google.com/" | ||
| | |VIEW | ||
| | | | ||
| | | | ||
Line 61: | Line 75: | ||
| | | | ||
|type: "url", url: "mailto:user@example.com" | |type: "url", url: "mailto:user@example.com" | ||
| | |VIEW | ||
| | | | ||
| | | | ||
|"mailto:user@example.com" | |"mailto:user@example.com" | ||
|} | |} |
edits