Simplest way to open new screen

Discussion in 'Android App Developers' started by Frank PaBirds, Dec 15, 2011.

  1. Frank PaBirds
    Offline

    Frank PaBirds New Member

    Joined:
    Dec 3, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I am new to Andoid/Java. I have done a lot of programming in Microsoft Access Visual Basic.

    In VB, to open a new form from a button click, you create the form and then add the following to the button's onclick event docmd.openform("Form1"). That's all there is to it!

    In Android/Java I cannot find an equivilant command. Everything I look at has activities, listeners, intents, etc.

    Is there a simple way to do this?

    If not, can someone give me the most bareboned code for simply opening a new screen from a button click?

    I understand how to create a new layout.xml file. I just can't figure out how to simply display it.
Search tags for this page

android onclick open new screen

,

open a new form in android

,

open+new+form+on+button+click+in android