This post is to support those who read the books such as Busy programmer’s guide to Firebase with Android. If you are getting started on Android programming, this post will help to understand the basic structure of the Android project.
Android Studio
Android studio provides a unified environment to develop apps for Android phones, tablets, Android Wear, Android TV and Android Auto. It is the official Integrated Development Environment (IDE) for android app development based on IntelliJ IDEA. You can learn more about Android studio features from Android Developer Website.
You can download the Android Studio setup file from Download Android Studio and SDK Tools. It is bundled with Android SDK, so you don’t need to download Android SDK separately. If your Operating System is other than Windows, you can visit this URL to download the Android Studio Bundle.
Launch downloaded executable file (android-studio-bundle-xxxxxxxxxx-windows.exe). Make sure you have installed Java JDK in your machine before launching Android Studio setup. If you don’t have JDK installed, you can download the latest version by visiting this website.
Create a new project
Launch the Android Studio. You will get the following screen that provides few options to start a new project or to import existing project.
By clicking on the configure button at the bottom of the screen, you can launch the SDK Manager, Settings window, Plugins window and Check for updates option.
Click the Start a new Android Studio project to start a new project. It will open the configuration page.
Enter the application name and domain and if your application requires C++ support tick the Include C++ Support checkbox. If it includes NDK tools project location should not contain whitespace. Click Next button to go to the next window.
You can select the minimum supported SDK version for each targetted device type. This example only supports the Phone and Tablet devices. Due to that Phone and Tablet selected.
There are different templates of Activities and you can add one from the above list to the project by selecting. Click Next button to go to the next window.
Depending on the type of the template, Android Studio will show configuration window. Click the Finish button to create the project.
After creating the project, Android Studio will show the project file structure and design view of the Activity.
Android Studio
Android studio provides a unified environment to develop apps for Android phones, tablets, Android Wear, Android TV and Android Auto. It is the official Integrated Development Environment (IDE) for android app development based on IntelliJ IDEA. You can learn more about Android studio features from Android Developer Website.
You can download the Android Studio setup file from Download Android Studio and SDK Tools. It is bundled with Android SDK, so you don’t need to download Android SDK separately. If your Operating System is other than Windows, you can visit this URL to download the Android Studio Bundle.
Launch downloaded executable file (android-studio-bundle-xxxxxxxxxx-windows.exe). Make sure you have installed Java JDK in your machine before launching Android Studio setup. If you don’t have JDK installed, you can download the latest version by visiting this website.
Create a new project
Launch the Android Studio. You will get the following screen that provides few options to start a new project or to import existing project.
By clicking on the configure button at the bottom of the screen, you can launch the SDK Manager, Settings window, Plugins window and Check for updates option.
Click the Start a new Android Studio project to start a new project. It will open the configuration page.
Enter the application name and domain and if your application requires C++ support tick the Include C++ Support checkbox. If it includes NDK tools project location should not contain whitespace. Click Next button to go to the next window.
You can select the minimum supported SDK version for each targetted device type. This example only supports the Phone and Tablet devices. Due to that Phone and Tablet selected.
There are different templates of Activities and you can add one from the above list to the project by selecting. Click Next button to go to the next window.
Depending on the type of the template, Android Studio will show configuration window. Click the Finish button to create the project.
After creating the project, Android Studio will show the project file structure and design view of the Activity.
Comments
Post a Comment