Saturday, April 30, 2016

[Android] Chapter 2: Creating first project


Hello! Today we take a look at creating new project in Android Studio.

Creating a project:


First thing you have to do is fill your "Application name". The app will be presented to users under this name.
Second thing is to fill "Company Domain". This is qualifier that is appended to "Package name". Package name must be unique across all packages installed on an Android system, so chose wisely!


Here you can specify devices supported by your app. In this tutorial we will develop application for Android Phones and Tablets on API 16+. Chosen min API level determines methods you can use in your project. Olders API do not support some functionality. No worries, you can change it later.

Let's just create basic project with a Blank Activity. This is all we need to have runnable application with some basic skeleton at the start.

I recommend to leave this at is it. I will talk about naming convetion later.


Congratulation! You have created your first project! Do not hesitate and click Run app button at the top (green arrow (shift + F10))

Now. I recommend to switch Project tab display mode from Android to Project (dropdown 2.). You will have better overview on your project in this display mode.

In the next lesson we will take a look at project and package structure.

No comments :

Post a Comment