Академический Документы
Профессиональный Документы
Культура Документы
2. Choose PC version
PSU Release
Choose Next Until Installation Done
• Get the latest version of Android Studio from
:http://developer.android.com/sdk/index.html
Check all of the component
WAIT UNTIL IT FINISHED
Instalasi Java Virtual Machine
• Get the installer / Go to : https://java.com/en/download/
• Follow the instruction from the website
• Wait until it finished
Update
Reference : my package
Reference : my package
Reference : my package
Reference : my package
Reference : my package
Reference : my package
BUILD YOUR FIRST APP!!
Note: The lower you choose the android device, the more device can compatible to your app
but it has least feature
• There are 3 main part of code in android studio
• 1st android manifest
• 2nd Java Code
• 3rd res
1. ANDROID MANIFEST
• Android manifest is an identity of your program , you must match
your <activity android:name=“bla bla”> with your java file , if there
are more than 1 java file you must declare it in here
• Android manifest also contain your program accessibility in your
device which are internet usage, read/write internal memory etc.
2nd Java File
• In this part you can put your java code
• The most important thing is you must match your layout name in this
java file (look the example above)
• You can create more than 1 java file ( right click curren java file, new
java file)
3rd RES(LAYOUT)
• In RES you can put all of your program need to run for example :
• Layout
• Image
• Etc
Layout
• .xml is your user interface later will be used in your device
• You can do it with the hardway or easyway , its your choice
Hardway
easyway
HOW TO RUN IT??
• Make sure you have installed your device driver in your pc
• Turn on your development options in your android device(it wont
work if you don’t do this step)
• Plug in your cable data from phone to pc
VOILA THAT’S YOUR FIRST APP!!