Hi all, Welcome to your first Tutorial . Before starting with today’s tutorial let me just tell you about myself. My name is Rajat Setia and I am pursuing B.Tech from Guru Gobind Singh Indraprastha University, Delhi. Well i will be starting with my fourth year of graduation in August, meanwhile I have decided to write a series of Tutorials for Android Application Development. For all those who have interest in Developing Android Apps but think that its way too tough or requires a lot of coding experience? Let me just tell you, I am not much of an experienced ‘coder’. All you need to know is basic C++ and Java and you’re good to go!
But why Android ?
Well, In android App Development .. there are simply no limits – you can build almost anything that you can think of which you will see for yourself in the upcoming tutorials once we start building applications. But that’s not the best part, it’s when you start to get money out of those applications. I will have a separate tutorial for how to monetize your Applications but for today..
You’ll learn How to set up the Development Environment for building Android Applications. This would be a perquisite for the same.
Well, there’s a lot to get excited about in Mobile Application Development nowadays. With ever increasing variety of Software platforms (iOS, Windows and of course Android), the landscape for Mobile Developers is full of opportunities .
This tutorial is for beginners, to help them set up Development Environment for Android Application building. After completing this tutorial you will be ready to start building Basic Android Applications. But first…
What is Android ?
Android is basically an open-source platform based on the Linux kernel(collection of drivers and system calls). Andy Rubin and Rich Miner started the development of Android in 2003 .
The first beta version of the Android Software Development Kit (SDK) was released by Google in 2007 where as the first commercial version, Android 1.0, was released in September 2008. Android’s free development tools make it possible for you to start writing software at little or no cost.
Here are a few other advantages Android offers you as a developer:
- The Android SDK is available for Windows, Mac and Linux, so you don’t need to pay for new hardware to start writing applications.
- Android programming is based on Java programming language. So if you have basic understanding on Java programming , you’re halfway there!
- By distributing your application on Android Market, it’s available to hundreds and thousands of users instantly. You’re not just limited to one store.
History Of Android
What is an API level ?
API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform.
Alright, enough with the talk . Lets GET STARTED…
Set-Up Java Development Kit (JDK)
- Download the latest version of Java JDK.
(You will find instructions for installing JDK in downloaded files, follow the given instructions to install and configure the setup)
- Finally set PATH and JAVA_HOME environment variables to refer to the directory that contains java and javac.
- Right Click on My Computer > Properties > Advanced System Settings > Environment Variables > New > Enter Variable name as Path and update the variable value by specifying the path of javac file installed in your PC.
Installing Eclipse and Android SDK
There are so many advanced Technologies available to develop Android Applications. I’ll be using Eclipse IDE for developing Android Applications. The recommended environment for developing Android Applications is Eclipse with Android Development Toolkit (ADT) plugin installed. I’ll summarize the process here.
- Download, Extract and then Install the Android SDK for your platform (Windows, Mac ,or Linux)
- Download Eclipse 4.3.0 Standard for the required platform .
- After installing the Eclipse SDK in a directory, you can start the Workbench by running the Eclipse executable(On Windows, the executable file is called eclipse.exe,) included with the release.
- When the Workbench is launched, the first thing you see is a dialog that allows you to select where the workspace will be located. The workspace is the directory where your work will be stored.
Okay peeps! So, now you’re all set to start Building your own Application. We’ll be starting with a simple “Hello World” application in our Next Tutorial that will be coming out in a day or two! Stay tuned for more.
Tell us : How did this tutorial work out for you ? If you encounter any problems, leave a comment and I will get back to you ASAP. Hope you all enjoyed our first tutorial of many more to come.