webnovel

set up

Installing Android Studio & Setup

Download Android Studio by writing "download android studio" in your browser's search bar. Go to the official android studio website and download android studio!

Click on the  downloaded android studio in your Downloads folder  and install it by following instructions & clicking on "Next"

Create a new android project by selecting Create New Project > basic activity > name the project >  package name >  location >  language (java/kotlin) > API level(try to use an API which runs on maximum possible phones)

To be able to zoom in and out using mouse wheel, you will have to activate a setting as mentioned below:-

Go to "File > Settings > Editor > General and click the checkbox next to "change font size with cltr+mouse wheel"

To Create an Emulator for testing your Android app:-

Select  Tools > AVD  manger > Create Virtual Device > Phone/tablet (select the device you want to choose  ) > Next > System image (API level) > Finish

Here mainly two languages will be used : XML and Java. XML is for designing and Java is for the logic and hence is the brain of the app.

Code completion or Auto completion suggests the code while you write it and it is very helpful as it saves a lot of time while coding. There are three types of code completion in Android Studio

Basic completion (auto complets variable name)                                      

Ctrl + Space              

Smart completion (auto completes code on the basis of context)               

Ctrl + Shift + Space

Statement completion (auto completes brackets , parantheses)               

Ctrl + Shift + Enter

Download Android Studio Here: https://developer.android.com/studio

Next chapter