Hey, guys. If you haven’t yet installed android studio then
follow simple steps to install android studio. Today, we will start our journey
with android studio.
Open android studio. You will see the window as
shown in figure.
The left part of recent projects must be empty since you
haven’t yet created any project, but I am sure that you will create many in
recent future. This list shows all my projects. Here, click on Start a new
Android Studio project.
Now, after clicking on it, you will see another window in
which you need to fill up few details about your app.
First point is application name. Give the name to your
application. This name will arrive all over in your app. Generally, all apps’
names start will capital/block letter, hence android studio will suggest you to
do the same.
Second part is Company Domain. Here you can write the name
you’re your company or better way just write your website link. The package
name will be created using Application name and Company Domain in reverse order
method. Now, click on Next.
In this tutorial series we are dealing with only
mobile applications. So, here check the box for Phone and Tablet.
Here important part is minimum SDK level. Max SDK level is
fixed depending upon your version of android. My is 5.1 and after updating it
will become 6.0. minimum SDK level means the application created by you will
contain features of allowed by all version between min. and max. SDK including
them. So the application may behave wrongly in other android versions. But this
doesn’t mean that you should set min. SDK to the lowest i.e. to Android 1.0.
Because doing this won’t allow you to use many features. Currently near to 100%
of mobiles have android versions greater than or equal to android 2.2 i.e.
froyo. Recent AdSense policies allow to show ads on android with API more than
9 hence froyo cannot be set since its API is 8(if you want to set AdSense ads
and earn through app). API are given serially from first android version to
latest one.
Now, click on next. Here you are expected to
choose activity.
Activity is the basic layout provided by Android Studio. You
will add gadget on it. As you are new to studio, we will just select blank
activity. You can select other activities for trials as well.
So click on next. Here you will be asked about.
The activity on the layout are accessed through this.
Generally
people let the name as it is. I will do it as well. You can change it if you
want but this may create confusion for you in later programming parts. So I
recommend you to have it same at least in start. So, here we are ready to
launch our project click on Finish.
Your first project will look like this. If you want to start
other project then click on close project from file option in upper left
corner.
Stay tuned for future tutorials
No comments:
Post a Comment