Here is how I've done it in one of my apps: @Override public void onBackPressed() { Toast.makeText(this, "Back button disabled, press Reset", Toast.LENGTH_LONG).show(); }
On Wednesday, September 19, 2012 1:10:52 PM UTC-5, Wajiha Kanwal wrote: > > Can anybody tell me how can i disable BACK button on android? > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en