on 02-18-2013 9:02 AM
Hi All,
I did a SUP hwc application, and it's working end-to-end fine in iphone.
But problem with Physical back button (hard key) in android device.
Scenario:
Suppose In HWC application, I navigate through screens A --> B--> C(Create screen)--> D(success screen of C)
Now I am in screen D,
suppose now if I press on Physical back button (hard key) in android device I can see Screen C.
if I use MenuItem back button, I will navigate to screen A( which is correct according to our scenario)
It's a big problem in end user perspective.
is there any option to disable the physical back button (hard key) in android device?
Thanks in advance,
Lakshman Balanagu.
The following two methods may be of some help.
In Custom.js there is a method called customBeforeNavigateBackward. It allows you to return false if you do not wish the navigation to proceed.
The other method to take a look at would be customBeforeMenuItemClick.
Let me know if that doesn't work.
Dan van Leeuwen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.