Your SlideShare is downloading. ×
0
1Getting Started with Android Programming       Copyright © 2012, Stacy David Thurston. All rights reserved.
Module ObjectivesAfter completing this module, you should be able to: • List the Android architecture components • List de...
Architecture1-3   Copyright © 2012, Stacy David Thurston. All rights reserved.
Android  Android is a software stack for mobile devices, phones, tablets:   • Operating system   • Middleware to run appli...
Architecture Overview1-5   Copyright © 2012, Stacy David Thurston. All rights reserved.
Development Environment Components   •   Android SDK Manager       – To manager the download and install of SDK components...
Questions •    What are the main Android Architecture components? •    What software does a developer need to develop Andr...
Application Development1-8   Copyright © 2012, Stacy David Thurston. All rights reserved.
Application Development StepsAfter the environment is setup, create and run a Hello Worldapplication: • Start Eclipse. • C...
Application ComponentsIn the Eclipse project: • Under resources values: string.xml         – Example, app_name is the appl...
Run Hello World  In Eclipse, click the Run button.   • Run as an Android       Application.   • The emulator starts.   • T...
Sample Form: Hello DaveThis application has: • Under resources values: string.xml         – It is a best practice to alway...
Running on an Actual Device1 - 13   Copyright © 2012, Stacy David Thurston. All rights reserved.
Upcoming SlideShare
Loading in...5
×

Getting Started with Android Programming

660

Published on

After completing this module, you should be able to:
• List the Android architecture components
• List developer environment components
• Talk about the steps to develop and run an Android
program

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Awesome Stacy.

    Of-late our team created:
    'Best Android Application Development Tutorials for Beginners'

    http://venturehire.co/blog/best-android-application-development-tutorials-for-beginner
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

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

No notes for slide

Transcript of "Getting Started with Android Programming"

  1. 1. 1Getting Started with Android Programming Copyright © 2012, Stacy David Thurston. All rights reserved.
  2. 2. Module ObjectivesAfter completing this module, you should be able to: • List the Android architecture components • List developer environment components • Talk about the steps to develop and run an Android program1-2 Copyright © 2012, Stacy David Thurston. All rights reserved.
  3. 3. Architecture1-3 Copyright © 2012, Stacy David Thurston. All rights reserved.
  4. 4. Android Android is a software stack for mobile devices, phones, tablets: • Operating system • Middleware to run applications • Key applicationsAndroid link: What is Android? 1-4 Copyright © 2012, Stacy David Thurston. All rights reserved.
  5. 5. Architecture Overview1-5 Copyright © 2012, Stacy David Thurston. All rights reserved.
  6. 6. Development Environment Components • Android SDK Manager – To manager the download and install of SDK components and tools • Android SDK platform versions – This course uses platform version 2.3.3 • Android Virtual Device (AVD) Manager – Set emulator configurations to model actual devices • Android Virtual Device emulator • Eclipse IDE – Android Development Tools (ADT) plugin for EclipseAndroid developer links: download, install, ... 1-6 Copyright © 2012, Stacy David Thurston. All rights reserved.
  7. 7. Questions • What are the main Android Architecture components? • What software does a developer need to develop Android applications?1-7 Copyright © 2012, Stacy David Thurston. All rights reserved.
  8. 8. Application Development1-8 Copyright © 2012, Stacy David Thurston. All rights reserved.
  9. 9. Application Development StepsAfter the environment is setup, create and run a Hello Worldapplication: • Start Eclipse. • Create a New Project of type: Android Project: – Project name: HelloWorld1 – Select the Build Target, example: Android 2.3.3 – Set: — Package Name: com.tigerfarm.HelloWorld1 — Create Activity: HelloWorld1Activity • Ready to code.1-9 Copyright © 2012, Stacy David Thurston. All rights reserved.
  10. 10. Application ComponentsIn the Eclipse project: • Under resources values: string.xml – Example, app_name is the application name that shows up on the Android desktop. – Set app_name to Hello World. • Under resources layout: main.xml – The form window layout and components. • Under source: HelloWorld2Activity.java – The application program code.1 - 10 Copyright © 2012, Stacy David Thurston. All rights reserved.
  11. 11. Run Hello World In Eclipse, click the Run button. • Run as an Android Application. • The emulator starts. • The application is loaded in the emulator environment. • Once the emulator is started, it displays the time of day. • Click the menu button, and Hello World runs.Android links: Hello World Tutorial 1 - 11 Copyright © 2012, Stacy David Thurston. All rights reserved.
  12. 12. Sample Form: Hello DaveThis application has: • Under resources values: string.xml – It is a best practice to always have string values entered here. • Under resources menu: amenu.xml – Menu items. – Note, the items have string ids verses hard code string values. • Under resources layout: main.xml – Form definitions: buttons • Under source: HelloDaveActivity.java – The application program code.1 - 12 Copyright © 2012, Stacy David Thurston. All rights reserved.
  13. 13. Running on an Actual Device1 - 13 Copyright © 2012, Stacy David Thurston. All rights reserved.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×