• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps adding in button

Hi,
i am beginner in android application but crazy about this . i am designing a simple android application . simply i want that when i click on next button , it send me on next text page which i had designed .. i don't know the codes :( .... Can anyone help me ?

Thanks ,
James
 
well .. I gotta see what you started doing so I can help .. but here's a code to navigate, you place this in the onClickListener for the button
Code:
{
Intent intent = new Intent(page.this, next.class);
startActivity(intent);
}

page is the current page, and next is the other page
you also have to add the next page inside the manifest
 
Back
Top Bottom