https://www.udemy.com/android-marshmallow-java-app-development-course/learn/v4/t/lecture/3608134
Video 18 : First Android application :
From starter screen -> Click on Start a New Android Studio Project ->
Here enter :
- your App name – this name is as it shows in home screen, apps list
- company Domain – used for package name which uniquely identifies your app in playstore.
- Package name – reverse domain name, java conventions apply here.
- Project Location – folder where you want to save your project files.
Next select, Minimum SDK – the minimum Android version that your app is going to run on. For new developments, chose it atleast API level 16.
Next chose an Activity – for this app, we chose it to be Blank or Empty Activity. Follow the next screens and click on Finish. This is going to create and setup your Android project. It may take a little bit of time.
Right click on your project ‘app’ -> click on Open Module Settings (F4) – this shows the project options like the compile sdk version, signing your app, etc.
Video 20 : Configuring Android Virtual Device (AVD) – Emulator
Creating virtual device , AVD , Emulator , Nexus 5 device
https://www.udemy.com/android-marshmallow-java-app-development-course/learn/v4/t/lecture/3608146
Tools -> Android -> AVD Manager
If you have got an Intel CPU on your machine, click on ‘Use Host GPU’ while creating your virtual device.
HAXM requires 8 GB of RAM or more. If you can’t run HAXM on your machine, then chose ARM EABI v7a System image for your virtual device to run.
Video 21 : Run your app on Emulator / AVD
First start your Emulator and let it be running.
https://www.udemy.com/android-marshmallow-java-app-development-course/learn/v4/t/lecture/3608148
Emulator does a pretty good job of showing what your application will look like, But when you are planning to upload your app to play store, you did run your app on physical device.
Video 22 : Run your app on Physical device
You need to have a USB cable.
You need to install drivers related to your OEM vendor and configure your Android device so that it can be detected by your computer or laptop.
https://www.udemy.com/android-marshmallow-java-app-development-course/learn/v4/t/lecture/3608152