move one page to another page by clicking on button in android using eclips
Android
2
Posts
2
Posters
3
Views
1
Watching
-
To move from one activity to another in Android, you need an Intent. The sample format of how to use an Intent is pasted below. Intent intent = new Intent(context,NameofActivitytoMoveTo.class); startActivity(intent); Suppose you have ActivityOne in your android project and you want to navigate to ActivityTwo, use the sample code below: Intent intent = new Intent(ActivityOne.this,ActivityTwo.class); startActivity(intent); The two lines of code above will be in the button onClickListener. Hope this helps. Happy coding.