How to make android appsIn 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 ExampleYou need to follow the 3 steps mentioned above for creating the Hello android application. 1) Create the New Android projectFor 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 messageFile: activity_main.xml Android studio auto generates code for activity_main.xml file. You may edit this file according to your requirement. File: MainActivity.java To understand the first android application, visit the next page (internal details of hello android example).3) Run the android applicationTo 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: |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India