February 11th, 2012, 07:16 PM
|
#4 (permalink)
|
|
Senior Member
Join Date: Jul 2010
Posts: 977
Device(s): Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Thanks: 52
Thanked 199 Times in 144 Posts
|
so you just want to start a new activity when the user presses one of the buttons?
In that case, when the user presses a button, you can start a new activity like so:
Code:
startActivity(new Intent(NameOfStartActivity.this, NameOfNewActivity.class);
To dertermine exactly which activity to launch, just use a switch statement (or series of conditionals depending on your onClick implementation).
|
|
|