android - Unable to load page with InAppBrowser -


i have weird problem inappbrowser: display error message when trying load web url. here code:

    var twittershareurl =  "https://twitter.com/intent/tweet/?" +     "text=" + encodeuricomponent("a fancy message") +     "&url=" + encodeuricomponent("http://myurl.com");     var browser = window.open(twittershareurl, '_blank', "location=no");     browser.addeventlistener('loadstart', function (e) {          if (/\/complete/.test(e.url)) {             browser.close();         }     }); 

cordova 2.4, have use version because of plugin.

problem solved: because phone did not have sim card (i using wifi tests). don't knows how things related inserting sim solved problem (and unlocked series of things email checking on gmail).


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -