08-02-2012 05:55 AM
Hi all,
I am new here and to BB Dev. So I am not sure if it is proper for me to post the questions here, but I believe it is worth a try, at least.
I am using jQuery Mobile, 1.1.1 to develop a BB app.
At this stage, I am making UIs and have got the following issues:
1. ESC Key:
When the ESC key on the keyboard is clicked, instead of going back to the previous pagew within the app, the app is quit. I have tried codes. like:
<script>
window.onkeyup = function(e) {
if (e.keyCode == 27)
window.history.back();
}
</script>
But it doesn't work.
2.
All the inputable area like, text field, text area or search, get the focuse, they are blakced out, means, the users cannot really see what they are typing in. By the way, on 9790 (V 7.0), I don't counter the same issue.
So I am wondering if anybody here got the same problems, and would kindly like to share their solutions.
Thank you.
D
Solved! Go to Solution.
08-02-2012 01:01 PM
Html5/webworks created apps will run in instance of the browser field. Hard back button will always close these apps so u needs to consume that if you don’t want to close. Script won’t help you
08-02-2012 09:31 PM
Thank you !!
Just one confusion here, I am not sure I fully understppd what it means by " consume that if you don't want to close".
Could you please give me a little more details if you could spare some time?
D
08-03-2012 01:47 AM
wre are using following api.
http://docs.phonegap.com/en/2.0.0/cordova_events_e
08-03-2012 01:52 AM
Phoneapp,
It seems like another libary I need to catch up with.
Thank you, my friend.