2. What u need
• Java
• Eclipse (http://www.eclipse.org/downloads/)
• Android SDK
(http://developer.android.com/sdk/index.html
)
3. Installing ADT plugin
• You need ADT plugin to develop in eclipse
• Click on add and use https://dl-
ssl.google.com/android/eclipse/ as the URL
and install the plugin
4. Android SDK
• Unzip the Android SDK and give the path to
folder in Windows->Preferences->Android-
>SDK Location
• Start Android SDK Manager
5. Install Android version u want
• Install the android version you need in
Android SDK manager.
6. Basic concepts
• Activity – Any UI in android is an activity
• Services – When you need a background job
and not an UI
• Receivers – gets notified when an event
occurs(eg: notify me when there is a SMS)
• Content Provider – when you need content
from device like contacts, media
• Intents – you specify what you want (more like
raising a event with details)
7. Hellow world
• Start new project File->New->Android Project.
• Give a name, choose on what version you
want your project to run.
• Application name – name u want
• Package – give something sensible
• Give a activity name and choose a min version
needed.
8. Whats created?
• U get a sample project by default..
• If everything was good, you can launch your
first app without any more steps..
• You may be asked to create a new virtual
device. From Windows-> AVD Manager
• Click Run an emulator would start in a few
mins
10. xmls
• Open main.xml and start modifying…Add your
own UI
• Open AndroidManifest.xml and see whats ur
application meta data looks like..
11. Simple eclipse short cuts you may
need
• Ctrl+1 – show suggestions..
• Ctrl+3 – show master control.. Type in what
you want
• Ctrl+Alt+ up/down – duplicate line up/down
• Ctrl+o – functions in given java file..
• Ctrl+Shift+R – type the name of resource you
need (eg:main.xml)
• Ctrl+f11 – Run the program..