Multiple Acitivites

Put your problem here if it does not fit any of the other categories.

Multiple Acitivites

Postby res » Fri Feb 15, 2008 1:21 am

All the examples use finish() on an Activity to return to the previous activity. I have 2 Activities that I want to be able to switch between so I don't want to call finish() all the time.

How do we tell Android which Activity we should display?
res
Senior Developer
Senior Developer
 
Posts: 146
Joined: Tue Nov 20, 2007 8:14 pm
Location: United States

Top

Postby plusminus » Fri Feb 15, 2008 10:49 am

Hello res,

you could use the TabWidget which is available since m5 or a View-switcher.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests