do you mean the back button of  your "android device" doesn't work ?and you
want to disable it?another saying :you want to disable it(bace button)
under the lower layer with all apps couldn't handle it?

On Mon, Sep 24, 2012 at 6:14 AM, Lew <lewbl...@gmail.com> wrote:

> Marty Ballard wrote:
> > Wajiha Kanwal wrote:
>>
>> Can anybody tell me how can i disable BACK button on android?
>
>
>
>> > 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();
>> >  }
>>
>
> This evades the question of whether you should disable the back button.
>
> To which the answer pretty much always is "No".
>
> Assuming you don't want to piss off your users.
>
> --
> Lew
>
>
> --
> 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
>

-- 
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

Reply via email to