Understanding Android Studio Tutorial

By cv.fokus jadi berkah November 27, 2017
Android studio tutorial

Understanding Android Studio Tutorial  Currently, who is not familiar with android studio tutorial smartphone? Almost everyone around the world is familiar with this type of smartphone, from among children to adults. But do you know, how to create android apps that you use everyday on the android studio tutorial ?</>

In the android application, the media used for now is quite a lot, one of them is by using Android Studio. What is Android Studio tutorial?

Broadly speaking Android Studio tutorial is an application that you can use to create applications that can work on android smartphone devices with APK or XAPK extension type. For understanding android studio specifically, we can define as follows.

Android Studio tutorial is an IDE for Android Development introduced by google on Google I / O event in 2013. Android Studio is one of the development of Eclipse IDE, and is based on the popular Java IDE, IntelliJ IDEA. Android Studio is the official IDE for Android app development.

As a media that became the development of Eclipse, Android Studio must have been equipped with new style and has many new features compared to Eclipse IDE. Unlike Eclipse using Ant, Android Studio uses Gradle as a build environment. Other features already embedded on Android Studio are as follows:

Using a flexible Gradle-based build system.
Can build multiple APKs.
Template support for Google Services and various device types.
Better layout editor.
Built-in support for Google Cloud Platform, making it easy to integrate with Google Cloud Messaging and App Engine.
Import library directly from Maven repository
and many more

Android Studio Tutorial Approach

Before we do the making of an application on android studio, it is good first we must know the parts – parts that are quite important on android studio, below are some elements that you can understand before plunging more deeply.

1. Layout Introduction
Talking about layout issues, on android studio as well as on eclipse, layout in android studio is divided into 2, that is design and also text, by default when opened xml layout in android studio using design mode, but in this case you guys can change into text mode, so it looks source code or sequence of code from its XML text.

You need to know also that in Android studio already has Live Preview feature, so with this feature, you do not need to go back and forth to design mode just to see the XML code that you have created or edit.

2. Row or Structural Folder
In the build folder section like the gene / contained in eclipse, the contents are only the resulting files generated from the IDE, so no need to be changed the contents of the folder. Then the libs folder / same as in eclipse. If you use the library in the form of .jar then place the libs difolder.

Next folder src /. , src is the folder where source java and layout are stored in XML, by default android studio will generate both folders, androidtest and play. The androidtest folder is a special UnitTest folder, if you do not understand it, just focus on the main folder, because the source and resource are inside the folder.

Here is a folder structure on Android, In Android  there is also a folder .idea, app, gradle and files – files that diroot folder. App folder / is the main folder on the android app, inside will be like this.

3. Grandle
One of the latest features in Android Studio is the gradle feature, grandle is a featured build automation. As shown in the name diusungnya, this feature can help you create an animation feature quite easily. For those of you who want to find out more, you can visit his official website at The Gradle file contains the library used, application version, signed key properties, repository location etc. The files that we will often change are the build.gradle files that are in the app / following folder.

With the addition of this feature, of course you can see other files, where the file contains settings for the sdk version in compaile, build version you will use, the application package name, minSDK you will use, versioncode, versionname and a dependencies will you guys use.

Why should there be a new IDE? The SDK was previously bundled along with Eclipse, while Android Studio uses IntelliJ IDEA Community Edition. Both IDEs have their own ‘fanatic’ fans. Some IntelliJ IDEA supporters often say that Eclipse is too complicated for beginners. Any other differences? Android Studio uses Gradle for project management. For those who have never heard of it, Gradle is a build automation tool that can be configured via Groovy-based DSL. This is what distinguishes Gradle from Ant or Maven using XML. The use of Groovy-based DSLs makes Gradle more flexible and programmable easily.

The end result of the program code in Android Studio is the Android app in the form of a zip archive file with APK extension. Files that are ready to be distributed should be equipped with a digital certificate so that the user can ensure that the application is created by the real developer. For that, developers can choose the Build menu, Generate Signed APK … In the dialog that appears, there is also a chance to use ProGuard. The main purpose of using ProGuard is to make it hard for irrelevant parties to reverse engineering (knowing the Java program code logic that is in the APK file).


Leave a Reply

Your email address will not be published. Required fields are marked *