Click here to Skip to main content
15,886,199 members
Articles / Mobile Apps / Android
Tip/Trick

Getting Started With Android Development

Rate me:
Please Sign up or sign in to vote.
2.00/5 (1 vote)
10 Dec 2012CPOL2 min read 16.3K   12   2
Getting started with Android development.

Introduction

In the past few days I have been attempting to get my hands on some new technology. I tried many but finally landed with Android development. The only thing which attracted me to this is that I can deploy my apps directly to my phone. Here is a quick tutorial of how to get started.

Android plugins are available in the major IDEs like Eclipse and NetBeans. I tried configuring with all of them but the ADT (Android Development Tool) is available and easy to use and is recommended. Just download the bundle and extract to a specific location and it does everything for you.

With a single download, the ADT Bundle includes everything you need to begin developing apps:

  • Eclipse + ADT plugin
  • Android SDK Tools
  • Android Platform-tools
  • The latest Android platform
  • The latest Android system image for the emulator

506623/Android-Development1.gif

Stay tuned for more posts on Android development.

Getting Started with Development

I hope the Android Development - Intro helped you in configuring your machine for developing Android apps. This tutorial is a quick start of our first Android app. Here is a walkthrough of that.

Step 1: Start Eclipse, extracted from the adt-bundle, i.e %….%adt-bundle-windows/eclipse/eclipse.exe

Step 2: A workspace launcher will popup and you have to define the workspace for your android apps. A workspace is the place where all the source files are kept.

506623/Android-Development2.gif

Step 3: Once you have selected your workspace now your IDE is ready for you. Go to File > New > Android Application Project. See:

506623/Android-Development3.gif

Step 4: The next step is to configure your project, it will have options like creating custom launcher and adding activity etc. See:

506623/Android-Development4.gif

Step 5: Hence we have checked the Create custom launcher icon in the previous screen, this screen allows adding our custom launcher icon. Here I'm using the default icons.

506623/Android-Development5.gif

Step 6: Next we must decide the activity for our app, there are various types of activities available but for beginners we will start with BlankActivity.

506623/Android-Development6.gif

Step 7: In this screen you can provide a name of your activity.

506623/Android-Development7.gif

This was all the configuration part, its done. Now you can start your real coding. After completing the preceding steps, you will see a designer screen, where you can design and code your app.

506623/Android-Development8.gif

Now we have the blank app with the title MyFirstApk and "Hello world!" text in the center. This is just a hello world app, let's start running the Android app.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Accenture
India India
I'm Software Engineer Associate at Accenture Services Pvt. Ltd. and I love Microsoft Technologies.

Comments and Discussions

 
QuestionWHAT abt the project ?? Pin
HARISH KUMAR JHAMNANI25-Jul-14 22:17
HARISH KUMAR JHAMNANI25-Jul-14 22:17 
GeneralMy vote of 2 Pin
Selvin11-Dec-12 4:47
Selvin11-Dec-12 4:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.