Your SlideShare is downloading. ×
0
Android
Android
Android
Android
Android
Android
Android
Android
Android
Android
Android
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android

261

Published on

Kickstarting

Kickstarting

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
261
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Android
  • 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
  • 9. Understanding whats under the hood
  • 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..

×