Saturday, July 11, 2015

Getting Started


Getting Started




We will be using Android Studio as an IDE for our tutorials. In this tutorial I will assume that you already have setup Android Studio and updated android SDK to the latest version. We will be using AppCompat Library throughout the tutorials, so we will need those installed too.


When you launch Android studio you will see following welcome screen. Let's create new Android Studio project by selecting the 'Start a new Android Studio project' option in the Quick Start List.



Then in the next dialog enter Application Name , Package name and provide the project location, that's where  where you want to store your project.





In the next step, select the target android devices, We discuss about adding modules for Wear, TV, Auto and Glass, but for now Let's keep the default 'Phone and Tablet' selected. 

Select minimum SDK version, in this case 14. The minimum SDK version determines the lowest API level of Android that this app will run on.





Next, we select the activity template, We have different types of Activity Template which we can choose from but for this tutorial we will be using blank activity.





And, then in the final step of our project creation wizard, We can customize the Activity, For this tutorial we will keep the default values and click Finish. 

Then we have our Android Project ready, when the project opens we have following screen.





Now, if you Run the project you will see the screen as seen on the preview.




We will have a quick look at all the project elements in our next tutorial, Understanding the Android Studio Project.

No comments:

Post a Comment