1

I understand that android has this few functions such as onBackPressed() which utilizes the back button on the android phones for native android applications,

I was wondering if it was possible to utilize this backbutton on a mobile website, are there any function or codes for them. Could anyone point me to any reference on these on how to go about coding it if possible.

The other question that I would like to ask as well is that is this also possible for IOS. Considering that the IOS back button is usually built into the application itself.

Added for clarity, I'm designing my application using mainly jquery stuff.

Lionel Koh
  • 199
  • 1
  • 1
  • 13

1 Answers1

1

If you are planning to use twitter bootstrap for you mobile website, may be this what you are looking for here

If you plan to use phone gap, you may want to have a look at here

If you are using only jquery, then there is no way to disable the hardware back button as explained here

Community
  • 1
  • 1
geekgugi
  • 389
  • 1
  • 6
  • 22