How to make android apps
In this page, you will know how to create the simple hello android application. We are creating the simple example of android using the Eclipse IDE. For creating the simple example:
Hello Android Example
You need to follow the 3 steps mentioned above for creating the Hello android application.
1) Create the New Android project
For creating the new android studio project:
1) Select Start a new Android Studio project
2) Provide the following information: Application name, Company domain, Project location and Package name of application and click next.
3) Select the API level of application and click next.
4) Select the Activity type (Empty Activity).
5) Provide the Activity Name and click finish.
After finishing the Activity configuration, Android Studio auto generates the activity class and other required configuration files.
Now an android project has been created. You can explore the android project and see the simple program, it looks like this:
2) Write the message
Android studio auto generates code for activity_main.xml file. You may edit this file according to your requirement.
To understand the first android application, visit the next page (internal details of hello android example).
3) Run the android application
To run the android application, click the run icon on the toolbar or simply press Shift + F10.
The android emulator might take 2 or 3 minutes to boot. So please have patience. After booting the emulator, the android studio installs the application and launches the activity. You will see something like this: