A quick demo of implicit and explicit intents.
- Use startActivityForResult() to start the second Activity
- To return data from the second Activity:
// http://stackoverflow.com/questions/1219860/javascript-jquery-html-encoding | |
function htmlEncode(value){ | |
return $('<div/>').text(value).html(); | |
} | |
function htmlDecode(value){ | |
return $('<div/>').html(value).text(); | |
} |