Skip to content Skip to sidebar Skip to footer

Using An Intent To Start New Activity From Listactivity

my ListActivity has a button on the bottom that I want to use to fire up a new activity using an intent. When I tried saying Intent intent = new Intent(this, OtherActivity.class) I

Solution 1:

Intent intent = new Intent(NameOfYourListActivity.this, OtherActivity.class)

Post a Comment for "Using An Intent To Start New Activity From Listactivity"