Show loading indicator in Phonegap InAppBrowser
问题 I am trying to display a loading indicator in Phonegap InAppBrowser when a page is loading using the following code: var ref; ref = window.open('http://www.google.com', '_top', 'location=no'); ref.addEventListener('loadstart', function(event) { //navigator.splashscreen.show(); navigator.notification.activityStart("", "loading"); }); ref.addEventListener('loadstop', function(event) { //navigator.splashscreen.hide(); navigator.notification.activityStop(); }); It doesn't display the indicator. I