0% found this document useful (0 votes)
6 views2 pages

Create a Simple Android App in Java

This document provides step-by-step instructions for creating a new Android project in Android Studio. It includes selecting project options, configuring settings, and writing code in Java or Kotlin, as well as modifying the XML layout file. Finally, it guides the user to run the project on an emulator or a real device to display 'Hello World!'.

Uploaded by

chiillpilll109
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Create a Simple Android App in Java

This document provides step-by-step instructions for creating a new Android project in Android Studio. It includes selecting project options, configuring settings, and writing code in Java or Kotlin, as well as modifying the XML layout file. Finally, it guides the user to run the project on an emulator or a real device to display 'Hello World!'.

Uploaded by

chiillpilll109
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. Start Android Studio.

2. In Android Studio select the Option “Project”

3. Click on “New Project”

4. Activity Panel get Display, In that there is Options like Phone- Tab, Smart Watch Etc.

5. Form that select Phone-Tab Option, In that Select Empty View Activity.

6. Then Click on “Finish” Button.

7. Then one Panel gets Open in that Enter a Project Name [By Default the Name is “MY APPLICATION”

8. Then Select the Language “Java”, Select SDK Version.[For Example: 5.0 Lolipop Version]

9. Build Configuration Language: Kotlin DSL

10. Click on Finish Button.

11. The IDE get open.

12. Go to Tree Structure, In that Select your Project Name [For Example “MY APPLICATION”]

13. Then Go To APP Folder, Then SRC Folder, Then Main Folder, Then Java Folder, Then COM Folder,
Then Example Folder, Then, my application Folder in that there is Main Activity. Java OR Main
[Link]

14. Then Re-write the Java Code in Main [Link] OR Main [Link]
15. Then for XML File: Go To APP Folder, Then SRC Folder, Then Main Folder, Then RES Folder then
Layout Folder in that select “activity_main.xml” File Re-write the xml Code.

16. Then Go To Device Manager & then Select: An Android Emulator OR Your real Android phone (USB
debugging must be enabled)

17. The Output will Display: Hello World!

You might also like