On Thu, Jan 19, 2012 at 5:32 AM, Raneez <[email protected]> wrote: > My application consists of 2 activities and 1 list activity. > > List activity --> list of titles from google rss feed. > 2nd activity --> shows the details of the item. > 3rd activity --> WebView , which shows the content of the url. > > From the 3rd activity i want to go back to list activity and show the > previous contents when the back key is pressed.
Please allow the BACK button to go to the previous activity, since that is a meaningful activity. Please do not break the user's expectation of what the BACK button does. If you are using an action bar (native, ActionBarSherlock, etc.), having your logo in the upper-left go to the initial activity may make sense. To do that, add FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_SINGLE_TOP to the Intent you use with startActivity() when they tap that logo. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

