Page 1 of 1

PhoneGap's menubutton works but its backbutton does not.

Posted: Sun Mar 09, 2014 4:22 pm
by Jamie5245261

Hi gang,

I have managed to figure out how to do things with the device API (PhoneGap) and even had my backbutton working at one point (it'd take the user to either the home page or, if they were on the home page already, would exit them from the app). Today it does not seem to be working and I don't know why. I haven't made any code changes that should have affected it as best as I can tell. The backbutton previously worked on multiple devices, so I think we can rule out the device itself as being the problem.

And, just to make things more interesting, my PhoneGap menubutton works like a charm. I don't understand how it's possible for the menubutton to work but not the backbutton. As part of the debugging process I created some simple testing code, below at reference, that fires an alert message. All of the alerts work except for the backbutton one. How can that be?

Can you provide any guidance? What do I need to do to get this backbutton running again?

References:
ul
liMy app (Last Letter) , shared with appery./li
liMy PhoneGap testing code: http://pastebin.com/Uzttx28g/li
liMy config.xml for my android source: http://pastebin.com/w7qe7Wn5/li
liMy AndroidManifest.xml file: http://pastebin.com/5NsRvcA4/li
liAppery GetSatisfaction: "Device BackButton Work only on Appery.io Tester ??" (https://getsatisfaction.com/apperyio/... )/li
liAppery GetSatisfaction: "Program the backbutton on mobile phone" (https://getsatisfaction.com/apperyio/... )/li
liAppery GetSatisfaction: "How to Cancel the action of navigating to a previous screen when the Backbutton is clicked" (https://getsatisfaction.com/apperyio/... )/li
/ul


PhoneGap's menubutton works but its backbutton does not.

Posted: Sun Mar 09, 2014 6:30 pm
by Igor

Hi,

We'll check this but it may take some time.


PhoneGap's menubutton works but its backbutton does not.

Posted: Sun Mar 09, 2014 6:35 pm
by Jamie5245261

Thanks Igor. I'll be looking forward to discovering what this was.


PhoneGap's menubutton works but its backbutton does not.

Posted: Tue Mar 11, 2014 12:48 am
by Alena Prykhodko

Hi Jamie.

This is a bug.Will be fixed on Production in mid-april.

But there is a workaround: https://getsatisfaction.com/apperyio/...


PhoneGap's menubutton works but its backbutton does not.

Posted: Tue Mar 11, 2014 11:13 am
by Jamie5245261

Hi Alena,

I guess I'll have to wait until mid-April. I had already implemented the workaround prior to publishing this post (see item #3 in my References section, above). Unless of course there's anything else I'm missing.


PhoneGap's menubutton works but its backbutton does not.

Posted: Mon Apr 14, 2014 2:05 pm
by Maryna Brodina

Hello!

This bug should be fixed now.