Hi friends,

I have Main Activity. That has 5 tabs(TabHost). I have overridden
onBackPressed in activity groups, as well As All 5 activities. This button
show user a dialog box and for confirmation of Exit When app start. It show
1st tab. Then if I press back it work fine for 4 tabs. But if I go for last
tab and then press back, The app closes .But there is not dialogue for the
user.Even nothing is print in log cat. That I have written in
onBackPressed() method From and of 5 activities including MainActivity.

I have also try onKeyDown() for back key but result is same? Please
reply,its too critical


-- 
Regards,
Vani Reddy

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