Android Back-button Quits Phonegap-app When In Textarea
In my Phonegap-app I handle Android's Back-button with document.addEventListener('backbutton', mysuperawesomecallback, false) This works fine so far. However, when I'm writing in a
Solution 1:
Add following lines into your main activity which is derived from DroidGap
@OverridepublicvoidonBackPressed() {
}
Solution 2:
I believe you are actually running into a bug in PhoneGap. We've fixed this issue in PhoneGap 2.2.0 which will be out very soon.
Post a Comment for "Android Back-button Quits Phonegap-app When In Textarea"