PDA

View Full Version : Switching Screens



thelocketheart
05-11-2012, 12:39 AM
I'm using Eclipse along with the AIDE android application. I'm trying to get PressButtonA to turn the page to Page2; much like a book but without the page effect. I'm planning on just getting an Eclipse book but figured I'd ask a community as well.

Sent from my Sony Tablet S using Android.net

Orby
05-12-2012, 07:53 AM
If I've got this correctly... as easier as create a new intent and start the Page2 activity.



Intent i = new Intent(Page1.this, Page2.class);
startactivity(i);