callback/callback-android — comment on commit bd7ed19b525ef1740fce3e43e7e11dd6ee9e1a2c
File:  line 0
By brycecurtis:

JQM relies upon the url with # being added to history. You can work around by intercepting the backbutton in your deviceready callback.

document.addEventListener("deviceready", function() {
document.addEventListener('backbutton', function() {
history.back();
if ($.mobile.urlHistory.activeIndex < 1) { navigator.app.exitApp();}
}, false);
}, false);