On Fri, Jan 4, 2013 at 5:15 PM, dashman <[email protected]> wrote:

> // then call either one of the lines below - not sure which one is better
>         super.onBackPressed();
>
>         //finish();
>     }
>

Same diff. I believe super.onBackPressed() just calls finish() (you can
check this easily).


> the only problem i have is that onBackPressed() is API5 and am trying to
> maintain compatiblity with API4.
>

http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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