View Code? Open in Web Editor
NEW
This project forked from codystandridge/androidmidterm
androidmidterm's Introduction
Installing Android Studio
Creating a Project from Scratch
- Choose empty activity
- Name your project
- Choose Kotlin or Java
- Kotlin can also use java code, so I recommend Kotlin
- Click finish
Importing a Project from Git
- Click the VCS tab in Android Studio
- Click checkout from version control
- Click git
- Paste the github link into the URL
- Click clone
- Click yes to open the project
- Leave the setting as is (use explicit module groups and use default gradle wrapper)
- Finally click ok
Creating a Virtual Device for Testing
- Click AVD Manager (5th button from the right)
- Click create virtual device
- Choose any device (I chose Pixel 2)
- Chose Android Pie or Oreo
- Click next then finish
- Main file is MainActivity.kt
- This is where you will write your code for the most part
- activity_main.xml is where you will make any graphical changes
- Here you will add buttons, text boxes, layouts, etc.
- For this project you will need to display the random number gotten from your websites
- One method for this is to use Volley to make GET requests.
- In order to make GET request to your website you will need to make endpoints
androidmidterm's People
Contributors
Watchers