Is it a bug or feature?
I have a screen with 'mobileheader' element on it, that has checkbox 'Back Button' ticked. Using GUI builder, I added 'Backbutton' event with 'Run JavaScript' action. Javascript shows an alert('Back button pressed'); if event is fired.
Now I am testing it on my Android device and see, that pressing hardware back button fires an event and shown alertbox, but tapping on-screen button inside the caption just do simple history.back() with no 'Backbutton' event fired.
To my mind, this is a bug, as default 'Back button' in the screen header should fire http://docs.phonegap.com/en/3.0.0rc1/... event as well.
Workaround is to make my own Back-button-component with desired functionality and add it to headers on the screens requiring this behaviour; or to make a screen templete with custom button. But why not to have this functionality out of the box?
Thank you.