In this blog, you are going to learn the procedure and key points to remember while creating a new project.
Android Studio creates boilerplate code that you need to get started with a project. When you create an Android Studio project, a hello world program is created for you in default.
Wondering what is a project?
In Android Studio every project is an Android App. That means project means an app.
Now let's start making one ourselves for better understanding.
• Open Android Studio IDE, after everything loads up a menu screen will be shown. Select " Start a new Android Studio project".
• Now in the next step, you have to assign your app a name and package name.
Package Name Format: com.YOURCOMPANY.APPNAME
Android Studio itself analyses the package name of your future projects.
Note: Your app package name must be unique, else you can't upload it to play store.
• Now you to select the minimum SDK of your app.
What is the Minimum SDK version?
Minimum SDK is the minimum android version required so that your app could run.
If the user's smartphone has an android version older than the minimum SDK then your app can't run on his device.
Let's see the list of Android Versions :
1.5 - 3 - Cupcake
1.6 - 4 - Donut
2.0 - 5 - Eclair
2.2 - 8 - Froyo
2.3 - 9 - Gingerbread
3.0 - 11 - Honeycomb
4.0 - 14 - Ice-cream Sandwich
4.0.3 - 15 - Ice-cream Sandwich
4.1 - 16 - Jellybean
4.4 - 19 - Kitkat
5.0 - 21 - Lollypop
6.0 - 23 - Marshmallow
And then followed by 7.0 - Nougat, 8.0 - Oreo, and 9.0 - Pie.
Choose android minimum SDK version wise to reach maximum users around the world.
Now choose the Activity. Activities are nothing but the screens in your app. About these, I'll be explaining in detail in upcoming blogs.
For now, choose Empty Activity and click on finish.
Now a progress bar will be shown on Gradle build. It takes a little time and done. That's how you can create a simple hello world program with Android Studio.
Up Next :
Make Customised Splash Screen for Your Android Studio project
Android Studio creates boilerplate code that you need to get started with a project. When you create an Android Studio project, a hello world program is created for you in default.
Wondering what is a project?
In Android Studio every project is an Android App. That means project means an app.
Now let's start making one ourselves for better understanding.
Steps to make a "Hello World" Application in Android Studio :
• Open Android Studio IDE, after everything loads up a menu screen will be shown. Select " Start a new Android Studio project".
• Now in the next step, you have to assign your app a name and package name.
Package Name Format: com.YOURCOMPANY.APPNAME
Android Studio itself analyses the package name of your future projects.
Note: Your app package name must be unique, else you can't upload it to play store.
• Now you to select the minimum SDK of your app.
What is the Minimum SDK version?
Minimum SDK is the minimum android version required so that your app could run.
If the user's smartphone has an android version older than the minimum SDK then your app can't run on his device.
Let's see the list of Android Versions :
1.5 - 3 - Cupcake
1.6 - 4 - Donut
2.0 - 5 - Eclair
2.2 - 8 - Froyo
2.3 - 9 - Gingerbread
3.0 - 11 - Honeycomb
4.0 - 14 - Ice-cream Sandwich
4.0.3 - 15 - Ice-cream Sandwich
4.1 - 16 - Jellybean
4.4 - 19 - Kitkat
5.0 - 21 - Lollypop
6.0 - 23 - Marshmallow
And then followed by 7.0 - Nougat, 8.0 - Oreo, and 9.0 - Pie.
Choose android minimum SDK version wise to reach maximum users around the world.
Now choose the Activity. Activities are nothing but the screens in your app. About these, I'll be explaining in detail in upcoming blogs.
For now, choose Empty Activity and click on finish.
Now a progress bar will be shown on Gradle build. It takes a little time and done. That's how you can create a simple hello world program with Android Studio.
Up Next :
Make Customised Splash Screen for Your Android Studio project
0 Comments