Hello world. Follow steps under the sections “Create an AVD” and “Create a New Android Project” at http://developer.android.com/resources/tutorials/hello-world.html Don’t do anything under the section “Construct the UI”
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Toast.makeText(HelloAndroid.this, "clicked", Toast.LENGTH_SHORT).show(); } });
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
This is a class name in the package
These say that this class is the entry point into the app.
That is, the OS can call this activity by using the name and category.
This particular name and category means it is the entry point
String actionName = "com.example.helloandroid.ShowOtherView";
Intent intent = new Intent(actionName);