Skip to content

Instantly share code, notes, and snippets.

@PaulKinlan
Created June 1, 2012 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PaulKinlan/2854138 to your computer and use it in GitHub Desktop.
Save PaulKinlan/2854138 to your computer and use it in GitHub Desktop.
http://webintents.org/save text/uri-list client
var i = new Intent({
"action": "http://webintents.org/save",
"type": "text/uri-list",
"data": "http://placekitten.com/g/200/300"
})
var onsuccess = function(data) {
};
var onerror = function(){ };
window.navigator.startActivity(i, onsuccess, onerror);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment