Getting Started with Writing Successful Android Apps
The global market for Android devices is certainly booming. There are over 2 million Android applications present in the market today. Around 40, 000 new regular and low-quality apps are added every month.
Android phones are very much in demand nowadays, and their popularity is only going to further increase with passing time. Google recently gave out Nexus Android devices to developers with 3.5+ stars and 5,000+ downloads on their Android application, trying to bring home the idea that it is worth their while to be an Android developer.
Android is free and an open source platform built on the versatile and robust system of Linux. Android offers a complete software stack to developers which include operating system, middleware and key mobile applications. Market penetration of and user acceptance to Android was very poor when it was launched in 2007. Then, it was still in its early development cycle. But Android got a major boost after Google’s acquisition and development efforts. This resulted in increased visibility for Android mobile technology.
Java is the core programming language if you want to write Android applications. All that is required is your technical aptitude coupled with your innovativeness. If you have this then you could contribute to the booming Android community as well as have your slice out of this lucrative mobile technology.
To start with, given below are some simple to follow steps to write Google Android apps:
Download and Setup Eclipse for Android App Development
Developing Android applications can be a very exciting and fun experience for Android developers. To get started with creating successful Android applications, you certainly need a proper development environment which includes some technical prerequisites. Fulfilling these will allow you to utilize different tools required to create an Android app.
To prepare the working environment you need to setup the Android SDK, Eclipse IDE, and ADT Plug-in. We assume that you have knowledge of what Android is and have a basic understanding of programming, although programming is not required. Download the mentioned development tools, unzip the files and store in Program files. Following are the steps:
1) Install the Java Development Kit (JDK)
To start creating android application, JDK must be installed. Click the link
to download the JDK.
2) Download and install the Eclipse IDE
To develop android apps using eclipse IDE, you need to install the Eclipse. Click the link to download the Eclipse.
3) Download and install the android SDK
You also need to download the android SDK. Double click on the exe file and it will be installed.
4) Download the ADT plugin for eclipse
Android Development Tools (ADT) is required to be able to develop the android application in the eclipse IDE. This provides the integrated development environment.
To download the ADT, you need to follow given steps:
1) Start the eclipse IDE, then select Help > Install new software...
2) In the work with combo box, write https://dl-ssl.google.com/android/eclipse/
3) Select the checkbox next to Developer Tools and click next
4) You will see a list of tools to be downloaded here, click next
5) Click finish
6) Restart the eclipse IDE after completing the installation
5) Configuring the ADT plugin
After the installation of ADT plugin, you must specify the location of your Android SDK directory. To do so follow the given steps:
1. In the "Welcome to Android Development" window that comes, select Use existing SDKs.
2. Browse and pick the location of the Android SDK directory you recently downloaded and unzipped.
3. Click Next.
Your Eclipse IDE is now set up to develop Android apps. But you still need to add the latest SDK platform tools and an Android platform to your environment.
6) Create an Android Virtual Device (AVD)
To be able to run the android application in the Android Emulator, you need to create Android Virtual Device (AVD). To create the AVD:
1. Select the Window menu > AVD Manager
2. Hit the new button, to create the AVD
3. Write the AVD name in the dialogue box that appears, e.g. youravd. Now choose the target android version e.g. android2.4.
4. click the create AVD
7) Create and Run a New Project
Now you are all set to create and run a new project. Following are the steps:
• Create a new project: Navigate to ‘File>New>other>Android>Android project to give your new project a name. Feed other details and then click on “Finish”.
• Feed your code: You need to go to the “src” folder-Ã click on “Activity”Ã Add blocks of codeÃ start code.
• Run the Program: Click on “Play” buttonÃ Run Android application-Ã Unlock the device to get your first Android program.
About ADTC Global
ADTC GLOBAL is a Training institute with proven expertise in training useful android applications as well as providing hands-on training to budding android developers. We have a dedicated team of android trainers who provide intensive and dedicated training on all core and general aspects of android development. We have mastered the Android SDK and can effortlessly transfer our skills and knowledge to you through our android training course.
For more information, click here.