android

android is an operating system.

R.java global file for all activities

start emulator: project->run as Android or window->android

androidmanifest : meta data for the app; it has entry point that you can set up.

each activity is a screen

hello_activity.java file: transfer from screen to screen: button.setOnClickListener() {

public onClick() { Intent intent = new Intent(currActivity, nextActivity); startActivity(intent); }

}

button tag is created in the activity_hello.xml file, which is the layout

layout : view

all the string variable is defined string.xml

R.java is an automatically generated file from the variables defined string.xml or other variables

extra

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s