Welcome
INTRODUCTION TO ANDROID              Bantyder Bahru              March 30,2013
Today’s Overview     1   • Android at a glance     2   • Setting up IDE     3   • Our first android project     4   • Buil...
Android at glance
• How it was started• Android Versions• How many device ?• Why android as a  developer?
How it was started     • Google Acquires Android Inc. in 2005     • Open Handset Alliance formed in 2007     • First andro...
Android Versions Table 1-1. Android versions through Android 2.3 Android version API level Nickname Android 1.0           ...
How many devices• people have activated half  a billion Android devices.• Also, 1.3 million new ones  arrive each day.
Why Android as adeveloper?•   Open source platform•   Cost free development•   Contains built-in libraries which makes dev...
Setting upyour IDE
•   Download Android    Bundle•   Use Existing IDE
Download Android BundleEclipse + ADT(Android Development Tool) +Android SDK Manager   1.Go to http://developer.android.com...
Use Existing IDE Download android SDK from  http://dl.google.com/android/installer_r21.1-  windows.exe Start Eclipse, th...
Use Existing IDE Click OK. Back in the Available Software view, you  should now see “Developer Tools” added To the list....
To Finalize your preparation         1. Run Android SDK manager         2. Select Latest SDK and installReady to get our h...
Our firstandroidproject.
Android Projects•   Naming•   Min SDK•   Target SDK•   Manifest Files•   Resource files•   R file•   Emulator
BUILDING BLOCK OFANDROID APPLICATION
HOW ANDROIDAPPLICATION RUN
Building Blocks1.Activity2.Intents3.Services4.Broadcast Receiver5.Application Context
Building Blocks1.Activity2.Intents3.Services4.Broadcast Receiver5.Application Context
Activity   • usually a single screen that the user sees on the device at one time   • Activity has life cycle
Intents • Intents are messages that are sent   among the major building blocks • Trigger activity to start • Tells service...
Code Practice    • Declaring Activity    • Starting New Activity       • Explicit Intent       • Implicit Intent
Code Practice (continued)     • Switching between activity     • Returning result from       activity     • passing data f...
Best Way To Learn                • No more waiting start                  today                • Ideas                • St...
Summary• Configure your IDE• Understand Building Blocks• Activity and Intents
Resources• ORielly Learning Android, Marko Gargenta• APress Beginning Android 4,Grant Allen• PACKT,Android 3.0 Application...
QUESTIONS?
THANK YOU
Upcoming SlideShare
Loading in …5
×

Introduction to android

550 views

Published on

Quick start android for beginners

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
550
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
36
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • This is another option for an Overview slide.
  • This is another option for an Overview slides using transitions.
  • -Google buy Android Inc 2005gPhone was expectedIn 2007 Open HandesetAliance owns android and become opensource-2008 SDK 1.0-Gives more control for developers
  • What is our target market globaly and in Ethiopia?
  • What is our target market globaly and in Ethiopia?
  • 1. Download Eclipse can be downloaded from the Eclipse web site, www.eclipse.org/Open Eclipse and choose Help ➤➤ Install New Software. Iin the Install dialog box, click theAdd button to add a new source of plug-ins. Give it a name (e.g., Android) supply the following URL: https://dl-ssl.google.com/android/eclipse/Next and ADT will be installedDownload Android SDK manager from http://developer.android.com. Download the ZIP file that is appropriate for your platform and unzip it in a logical location on your machine3.Run Android SDK Manager4.Selet and install Latest SDK
  • 1. Download Eclipse can be downloaded from the Eclipse web site, www.eclipse.org/Open Eclipse and choose Help ➤➤ Install New Software. Iin the Install dialog box, click theAdd button to add a new source of plug-ins. Give it a name (e.g., Android) supply the following URL: https://dl-ssl.google.com/android/eclipse/Next and ADT will be installedDownload Android SDK manager from http://developer.android.com. Download the ZIP file that is appropriate for your platform and unzip it in a logical location on your machine3.Run Android SDK Manager4.Selet and install Latest SDK
  • 1. Download Eclipse can be downloaded from the Eclipse web site, www.eclipse.org/Open Eclipse and choose Help ➤➤ Install New Software. Iin the Install dialog box, click theAdd button to add a new source of plug-ins. Give it a name (e.g., Android) supply the following URL: https://dl-ssl.google.com/android/eclipse/Next and ADT will be installedDownload Android SDK manager from http://developer.android.com. Download the ZIP file that is appropriate for your platform and unzip it in a logical location on your machine3.Run Android SDK Manager4.Selet and install Latest SDK
  • Dimensions in,mm,pt(1/72in)dp (device independet pixel)sp(scale independet pixel)Resource color,dimen,string,string-array
  • Use a section header for each of the topics, so there is a clear transition to the audience.
  • Add slides to each topic section as necessary, including slides with tables, graphs, and images. See next section for sampletable, graph, image, and video layouts.
  • Add slides to each topic section as necessary, including slides with tables, graphs, and images. See next section for sampletable, graph, image, and video layouts.
  • Keep it brief. Make your text as brief as possible to maintain a larger font size.
  • Explicit Intent , the sender clearly spells out which specific component should be on the receiving endImplicit Intent, In an implicit intent, the sender specifies the type of receiver.(the system will present options)
  • Keep it brief. Make your text as brief as possible to maintain a larger font size.
  • Keep it brief. Make your text as brief as possible to maintain a larger font size.
  • Introduction to android

    1. 1. Welcome
    2. 2. INTRODUCTION TO ANDROID Bantyder Bahru March 30,2013
    3. 3. Today’s Overview 1 • Android at a glance 2 • Setting up IDE 3 • Our first android project 4 • Building block of android apps • Best way to learn 5 android
    4. 4. Android at glance
    5. 5. • How it was started• Android Versions• How many device ?• Why android as a developer?
    6. 6. How it was started • Google Acquires Android Inc. in 2005 • Open Handset Alliance formed in 2007 • First android SDK released in 2008
    7. 7. Android Versions Table 1-1. Android versions through Android 2.3 Android version API level Nickname Android 1.0 1 Android 1.1 2 Android 1.5 3 Cupcake Android 1.6 4 Donut Android 2.0,2.01,2.1 5 ,6,7 Eclair Android 2.2 8 Froyo (frozen yogurt) Android 2.3,2.3.3 9,10 Gingerbread Android 3.0 ,3.1,3.2 11,12,13 Honeycomb Android 4.0,4.03 14,15 Ice cream Sandwich Android 4.1,4.2 16,17 Jelly Bean
    8. 8. How many devices• people have activated half a billion Android devices.• Also, 1.3 million new ones arrive each day.
    9. 9. Why Android as adeveloper?• Open source platform• Cost free development• Contains built-in libraries which makes developers life easy• We can develop and test our app without owning a physical device
    10. 10. Setting upyour IDE
    11. 11. • Download Android Bundle• Use Existing IDE
    12. 12. Download Android BundleEclipse + ADT(Android Development Tool) +Android SDK Manager 1.Go to http://developer.android.com/sdk/index.html 2.Extract 3.Run Android SDK Manager 4.Selet and install Latest SDK
    13. 13. Use Existing IDE Download android SDK from http://dl.google.com/android/installer_r21.1- windows.exe Start Eclipse, then select Help→Install New Software In the Available Software dialog, click Add. In the Add Site dialog that appears, enter a name for the remote site (for example, “Android Plugin”) in the “Name” field. In the “Location” field, enter this URL: https://dl- ssl.google.com/android/eclipse/
    14. 14. Use Existing IDE Click OK. Back in the Available Software view, you should now see “Developer Tools” added To the list. Select the checkbox next to Developer Tools, which will automatically Select the nested tools Android DDMS and Android Development Tools. Click Next. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish. Restart Eclipse.
    15. 15. To Finalize your preparation 1. Run Android SDK manager 2. Select Latest SDK and installReady to get our hand dirty!!!!!!!
    16. 16. Our firstandroidproject.
    17. 17. Android Projects• Naming• Min SDK• Target SDK• Manifest Files• Resource files• R file• Emulator
    18. 18. BUILDING BLOCK OFANDROID APPLICATION
    19. 19. HOW ANDROIDAPPLICATION RUN
    20. 20. Building Blocks1.Activity2.Intents3.Services4.Broadcast Receiver5.Application Context
    21. 21. Building Blocks1.Activity2.Intents3.Services4.Broadcast Receiver5.Application Context
    22. 22. Activity • usually a single screen that the user sees on the device at one time • Activity has life cycle
    23. 23. Intents • Intents are messages that are sent among the major building blocks • Trigger activity to start • Tells service to start , stop or broadcast • Explicit Intent • Implicit Intent
    24. 24. Code Practice • Declaring Activity • Starting New Activity • Explicit Intent • Implicit Intent
    25. 25. Code Practice (continued) • Switching between activity • Returning result from activity • passing data for another activity using intent
    26. 26. Best Way To Learn • No more waiting start today • Ideas • Start Today
    27. 27. Summary• Configure your IDE• Understand Building Blocks• Activity and Intents
    28. 28. Resources• ORielly Learning Android, Marko Gargenta• APress Beginning Android 4,Grant Allen• PACKT,Android 3.0 Application Development Cookbook, Kyle Merrifield Mew• http://developer.android.com
    29. 29. QUESTIONS?
    30. 30. THANK YOU

    ×