Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fomojola/6005823 to your computer and use it in GitHub Desktop.
Save fomojola/6005823 to your computer and use it in GitHub Desktop.
Titanium Appcelerator Hipmob iOS URL Received Event Handling - Full example at https://github.com/Hipmob/hipmob-titanium-test
var on_url = function(e){
var dialog = Ti.UI.createAlertDialog({
message: 'URL Received ['+e.url+']!',
ok: 'OK',
title: 'Hipmob' });
dialog.show();
setTimeout(function(){ dialog.hide(); }, 5000);
};
chatView.addEventListener(hipmob.EVENT_URL_RECEIVED, on_url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment