>
> Thanks a lot Jason and Justin. My game works fine on 1.6+, at least on
> simulator. AFAIK that's API level 4, so I cannot use this method if I
> wan to keep that compatibility:
>
> @Override
> public void onBackPressed() {
>   return;
> }
>

That's not true... Set your target API level to something high enough that
you can use the onBackPressed.  Did you read the link I gave you?  It
specifically addresses this and tells you how to use both depending on the
API level.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, May 8, 2012 at 7:01 AM, Fran <[email protected]> wrote:

> Thanks a lot Jason and Justin. My game works fine on 1.6+, at least on
> simulator. AFAIK that's API level 4, so I cannot use this method if I
> wan to keep that compatibility:
>
> @Override
> public void onBackPressed() {
>   return;
> }
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to