Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Intent Start Another Activity

    public void sendMessage(View view) {
        Intent intent = new Intent(this, DisplayMessageActivity.class);
        startActivity(intent);
    }
        /*DisplayMessageActivity is the name of the other activity*/
 
PREVIOUS NEXT
Tagged: #Intent #Start #Another #Activity
ADD COMMENT
Topic
Name
5+2 =