You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phonegap
I have a phonegap app with the index.html installed in the app. There
a link to a server hosted cgi. This cgi is behind authentication.
A webserver plugin forces the user to an authentication page, if not
already cookied. With valid credentials, the user is redirected to
the initial target. That intermediate authentication page ends up on
the Android Stack. I've tried using this from the backbutton snippet
on the server hosted destination page. But that doesn't work.
function init() {
document.addEventListener("deviceready", onDR, false);
}
function onDR(){
document.addEventListener("backbutton", backKeyDown, true);
//boot your app...
}
function backKeyDown() {
// do something here if you wish
alert('go back!');
}
Is there a way I can put the authentication URI in the manifest.xml so
it's automatically not put on the stack.
Any suggestions?
Thanks,
I. Horowitz
Bryce Curtis
unread,
May 18, 2012, 2:29:39 PM5/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message