Simple Questions asked-
What is Android?
Android OS is a Linux-based mobile operating system that primarily runs on smartphones and tablets.
Related Topics-
What is Linux?
What is operating system?
Who invented Android?
How to develop Android?
What is IDE?
What is the IDE for Android?
What is Android Studio?
Android Studio Requirements for PC
How to install Android Studio, Android Studio SDK Tools, Android Studio AVD?
Running Android App on a Virtual/Physical Device
What is the extension for Android? What is APK?
What is Linux?
Linux is the best-known and most-used open source operating
system. As an operating system, Linux is software that sits
underneath all of the other software on a computer, receiving
requests from those programs and relaying these requests to
the computer's hardware.
What is operating system?
An operating system (OS) is the program that, after being
initially loaded into the computer by a boot program,
manages all of the other application programs in a
computer. The application programs make use of the operating
system by making requests for services through a defined
application program interface (API).
Who invented Android?
Android was mainly invented by Google Inc..
More About the Question
Who were the founders of Android?-
Android Inc. was founded in Palo Alto, California, in October 2003 by Andy Rubin,
Rich Miner, Nick Sears, and Chris White.
How to develop Android?
Firstfall, to develop Android we need an IDE for Android, so that we can develop
Android.
The main IDE for Android is Android Studio, install that.
Related Question
What is IDE?
What is IDE?
The full form of IDE is Integrated development environment.
An integrated development environment (IDE) is a software application that
helps programmers develop software code efficiently. It increases developer
productivity by combining capabilities such as software editing, building, testing,
and packaging in an easy-to-use application.
What is IDE for Android?
The main IDE for Android is Android Studio.
Download Android Studio from this link.
What is Android Studio?
Android Studio is an IDE for Android Development. Android apps can also be
developed without Android Studio, but if you want to make your own, and
interested in coding, then Android Studio is for you.
In simple words, Android Studio is the official Integrated Development
Environment (IDE) for Android app development.
Android Studio Requirements for PC
Requirements-
1.64-bit Microsoft® Windows® 8/10/11.
2.x86_64 CPU architecture; 2nd generation Intel Core or newer, or AMD CPU with
support for a Windows Hypervisor.
3.8 GB RAM or more.
4,8 GB of available disk space minimum (IDE + Android SDK + Android Emulator)
5.1280 x 800 minimum screen resolution.
How to install Android Studio?
To install Android Studio follow the steps-
1.Open this link.
2.The file size is 942 MB , so when downloaded open the exe file and adjust your
settings.
3.Open Android Studio (app not exe file) and again adjust your settings, and make
sure , you accept the terms and license for both of things (Android Studio bolds
when asking terms and conditions while downloading Android Studio).
4. Click on new project, then empty activity template, then enter name, package
name, your API level (keep default for first project). Then click on finish button.
How to install Android Studio(SDK Tools)?
To install Android Studio SDK Tools follow the steps-
5.After Creating Project, Wait for some processes occurring in Android
Studio, when finish, click on sdk manager, then in the SDK Platforms, install
the versions of Android you want.
6.Go to SDK Tools and install Android SDK Build-Tools, Android SDK
Command-Line Tools, Android Emulator, Android Emulator Hypervisor
Driver, Android SDK Platform-Tools, Google Play Services, Google USB
Driver, Google Web Driver and Intel x86 Emulator Accelerator.
Running Android App on a Virtual/Physical Device
To install Android Studio SDK Tools follow the steps-
7.Click on Device Manager And then if you have USB Drive or a proper device
(Android 11+), you can pair using wifi or USB, To pair with wifi, click on
physical device and then pair using wifi by enabling developer options and
wireless debugging, and then go back to your pc and then scan qr code or
pin with your mobile, and you are ready to go. To pair with USB, first enable
USB debugging on your android phone in the developer options, (to enable
developer mode go to about phone, then tap build number 7 times) then
device name will be visible (my device is “PIXEL 4 API 30”).
Then click on run or press Shift + F10 on your keyboard to run on your physical
device.
How to create an AVD in Android Studio?
8.Click on Device Manager , then go to virtual section, then click on “Create a new
device”.
9.Select your device(that you want), then click on next. Choose your system
image(version of android, current is “R”), then enter your device settings, click on
“finish” button.
10.Your device will take 5-10 minutes to install on your disk completely.
11.Restart your IDE and now you can start your avd by clicking on on the run(you
can see the button below), AVD is installed.
What is the extension of Android?
Now first the question comes, what is extension in computer?
Extensions tell your computer which application created or can open the file and
which icon to use for the file. For example, the docx extension tells your computer
that Microsoft Word can open the file and to display a Word icon when you view it
in File Explorer.
So, now I hope that this is cleared to you that “what is extension in
computer?”, now what is the extension for Android?
The extension for Android is APK. We will learn more about it on next page.
What is APK?
APK is a extension for Android , which is a program, like you download files
from PlayStore, those files are all APK only. The PlayStore filters APK files, so
you can download/install them easily.
Learn Android Studio-
I. How to create a project in Android Studio-
Open Android Studio-
2. Click on new project and select any activity/template you want, let's select the Empty Views Activity.
3. Click NEXT and then enter the name that you want for your app(let's enter MyFirstApp for now), enter the package name that you want for your app(let's enter com.example.firstapp for now), select the location that you want for your project(default location is C:\Users\%USERPROFILE%\AndroidStudioProjects\%APPNAME%), select the Language as Java and select the minimum SDK that you want like current market has API 30, Android 11.0 that is R version we have to select the minimum SDK and not the current market one, let's select the SDK that will work on 100% of devices (you can check the percentage of users below the Minimum SDK dropdown), that is API 19 (Current that may not be avilable in future, but I like to select API 19 always because it works on 100% of devices), and after selecting the sdk, click on FINISH button and Gradel Build will start to build the project.
(Tip - Gradel Files are very heavy and in future as you create projects, they can take upto 50GB of storage on your C Drive in the C:\Users\%USERPROFILE%\.gradle directory, so if you want to change the location to another directory or another drive like D, E, F... then click on File in the top-left of Android Studio window, click on Settings, click on Build, Execution, Deployment, click Build Tools, click on Gradle, and in the General Settings there is the default directory, so you can change that one for every project)
Build Apps with Android Studio (Beginner)-
I. How to use source code-
There are many methods to use source code from github-
Create the classes, activities and resources given in the source code and then, copy and paste the lines of codes from a activity/class/resource in the same activity/class/resource.
Click on CODE dropdown, click on Download as ZIP. The ZIP file will be downloaded, extract the ZIP and you will get a folder, open that from Android Studio by the Open... option in the File dropdown or the Open option on the right side of New Project if you are outside the project (all projects are closed).
Get from Version Control (VCS) - Open a random project, click on File, click on New Project, click on Get from Version Control, enter the git (click on CODE dropdown, copy the git link given there and paste the git), click on CLONE and Android Studio will get the project from VCS (Version Control).
_________________________________________________________________________________________
II. Create your first project (dummy) -
Note - What does All Tutorials contain?
Ans- It contains - How to use source code? and How to type code?(Will teach a lot basics of Android Studio) tutorials. You can download the tutorials and source code. Source code link is given below. And the source code is supported for Android Studio Flamingo.
How can you start?
Ans - You can start by typing code for first project to learn a lot of new things like OnClickListener, References, Methods/Functions, Layout Designing, Constraints, Buttons/TextView/ImageView designing.
Download the tutorials and source codes from Google Drive-
II. Create your second project (dummy) -
Like we communicate by talking, computer communicates through text fields. Let's start by creating a new project -
Let's take the app name - 'ReceivingDataFromUser' package name will be set automatically as 'com.example.receivingdatafromuser' Select Location as whatever you want and language as Java. And Let's click pn 'FINISH' button.
Note - What does All Tutorials contain?
Ans- It contains - How to use source code? and How to type code?(Will teach a lot basics of Android Studio) tutorials. You can download the tutorials and source code. Source code link is given below. And the source code is supported for Android Studio Flamingo. Note - "How to use source code?" tutorial is not given because you maybe already know how to use that. If you are using my Google Drive source code, then make sure to remove the tutorial (.mp4 file) from the ZIP file/Folder/Project before you open the Project.
How can you start?
Ans - You can start by typing code for every basic (starting) projects to learn a lot of new things like OnClickListener, References, Methods/Functions, Layout Designing, Constraints, Buttons/TextView/ImageView/EditText and much more designing etc.
Download the tutorials and source code from Google Drive-
Calculator
Source code and tutorial-
Notes App
Source code and tutorial-
Paint App
Source code and tutorial-
Quiz App
Source code and tutorial-
Congratulations! You are now advanced to the next level - Intermediate
Congrats! On completing making your first 6 apps! Now what we build-
1.FirstApp
2.ReceivingDataFromUser
3.Calculator App
4.Notes App
5.Paint App
6.Quiz App
In the next level, we will learn to build some higher apps like data stored on cloud, login apps, authentication apps, and much more and after the intermediate level, you will automatically get advanced onto the advanced level.