mikeflores2000
Posts: 0
Joined: Sun May 06, 2012 11:09 pm

How can i override the back key to return to last application and not exit?

Correction:
The back key is not the issue.
In Android, the child browser has a bug even with PhoneGap 1.7+:

"On 5/19/12 2:40 AM, "Shazron" wrote:

The method I'm proposing
assumes all link events are trapped, inspected for a url param, and in
its absence, falls back to default behavior. Maybe thats not
realistic. Seems like both iOS and Android do not trap the target
attribute. Which means we'd need to add a url param so that trap is
caught.

It is not entirely a question of "nastiness" in adding a url param
with regards to why it won't work in iOS (although imo I don't like
it) - I have already presented valid technical reasons.

With respect to achieving all our goals - not introducing a new API,
and fixing this bug that sorely needs fixing - ChildBrowser like you
proposed is the better bet then. So what should be the plan for this?
"
Specific bug number can be found at
https://issues.apache.org/jira/secure...

mikeflores2000
Posts: 0
Joined: Sun May 06, 2012 11:09 pm

How can i override the back key to return to last application and not exit?

OMG, here we go again.
Correction:
In Android, the child browser has NO bug with PhoneGap 1.7+
The solution is to simply go into Settings--Developer options
Clear the checkbox
'Don't keep activities
Destroy every activity as soon as the user leaves it'

Return to “Issues”