my environment
android studio 1.0.1
cordova-4.1.0
i'm trying access website @ http://example.com/index.php line super.loadurl(config.getstarturl());
application runs on physical device (moto g2, android 5) splash screen mainactivity extends cordovaactivity works fine on mainactivity shows alert title: application error , body: there network error. (http://example.com/index.php)
i have set needed permission internet access androidmanifest.xml
recently have updated cordova 2.9 4.1.; log cat doesn't show's record related application while running application. tried replace "http://example.com/index.php" "file:///android_asset/www/example.html" worked fine, made change in , redirected "http://example.com/index.php" form onload or giving link example.html page fails redirect.
anybody has solution or trick solve it?
add www before example. http://www.example.com/index.php should work.
if still not working try debugging using chrome. link might http://www.html5rocks.com/en/tutorials/developertools/mobile/
Comments
Post a Comment