11-20-2012 04:38 AM
sorry for my trivial question..but I'm striving to allow a user going back to previous page on a BB10 webworks application..I cannot figure out neither which is the gesture nor to display the bottom bar containing the back button (e.g. like in "Settings" application).
I am a bit confused..
Thanks a lot
Solved! Go to Solution.
11-20-2012 08:29 AM
There are several ways to accomplish this.
1. Use a framework such as BB UI. This will give you screen pushing and popping and the BB10 look and feel with an action bar at the bottom. You can see the project here: https://github.com/blackberry/bbUI.js
2. You can also use the Jquery Mobile BB10 Theme which would let you simply add the back action bar and include the js and css files. Quite simple. Then hook up the back button to window.history.back(). You can check out the project here https://github.com/blackberry/jQueryMobile-BB10-Th
3. The last option is your own navigation. You could easily hook it into window.location.back() or something similar.
Hope that helps