« first day (1177 days earlier)      last day (126 days later) » 

03:36
gm @Narendra
 
1 hour later…
04:38
gm @Sport
 
3 hours later…
 
3 hours later…
10:35
how can i override hardware back button in android ?
16
Q: Override Android Backbutton behavior only works on the first page with PhoneGap

RedfoxI am using PhoneGap 1.5.0, jQuery 1.7.1 and jQuery mobile 1.0.1 and trying to override the backbutton in Android as stated here or here. document.addEventListener("deviceready", onDeviceReady, false); // PhoneGap loaded function onDeviceReady() { console.log("PhoneGap Ready!"); // waiting for ...

check it
@HimanshuAgarwal
i am not having cordova.js file, I am using online build tool from build.phonegap.com
11:06
ohh
that i have never used
ok thanks, I have one more issue that when app starts I am showing my index.html then after few seconds I am redirecting to another external url like this

receivedEvent: function(id) {
var popup = window.open('http://www.google.com/index_mobile', '_blank', 'location=no,toolbar=no,hidden=yes');
popup.addEventListener("loadstop", function() {
popup.show();
});
and it loads fine but when user press back button of device then the first screen again appears in which i have making "loading..." animation. So I want when this external url loads then this loading page won't no longer available to user
how can i do that can you guide me
11:50
@Sport
 
2 hours later…
13:24
@HimanshuAgarwal ?
13:49
@senti yes

« first day (1177 days earlier)      last day (126 days later) »