NSF-REU 2008: Using Android to Promote Education in Mobile ...

428 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

NSF-REU 2008: Using Android to Promote Education in Mobile ...

  1. 1. NSF-REU 2008: Using Android to Promote Education in Mobile Device Development Chris Baker and Danny Noler Auburn University June 26, 2008 Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 1 / 15
  2. 2. Outline 1 Introduction 2 What is Android? 3 Android Architecture 4 Anatomy of Android Applications 5 Code Example 6 Acknowledgements Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 2 / 15
  3. 3. About Us Danny Noler Senior at Mercer University BS in Computer Science, minor in Math and IST Chris Baker Senior at Auburn Unversity BS in Software Engineering in the College of Engineering Currently participating in NSF-REU at Auburn Unversity Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 3 / 15
  4. 4. What is Android? A software stack for mobile devices: Operating System Middleware Key Apps Android is currently being developed and funded by Google. First Android device is expected late 2008 or early 2009. Though project is open source, Google has not released Android source code. Software Development Kit (SDK) is available for application programming. Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 4 / 15
  5. 5. Hardware Requirements for Android In order to port Android to real hardware, the following prerequisites must be met: 200 MHz processor At current state, processor must be ARM architecture. 32 MB RAM 32 MB Flash Memory These are MINIMUM requirements for running Android. Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 5 / 15
  6. 6. Android Architecture Figure: Major components of Android operating System Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 6 / 15
  7. 7. Android Architecture (cont.) Applications Android includes a set of core applications Email client SMS program Contacts All applications are written in Java. Application Framework API’s used by Android for code reuse and the ability to publish program capabilities Includes a set of services and systems: Views Content Providers Resource Manager Notification Manager Activity Manager Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 7 / 15
  8. 8. Android Architecture (cont.) Libraries System C library Media Libraries SGL Android Runtime Each Android application runs in its own instance of the Dalvik VM Linux Kernel Linux version 2.6 Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 8 / 15
  9. 9. Anatomy of Android Applications Android applications consist of four building blocks: Activity Intent Receiver Service Content Provider Not all applications have all four Specified in AndroidManifest.xml file Declare components of application, their capabilities, and requirements Determines program and data interaction Intent Objects Intent Filters Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 9 / 15
  10. 10. Anatomy of Android Applications (cont.) Activity Most common of four building blocks Usually a single screen in application Previous screens placed in history stack Intent Receiver Code in application executes in reaction to an externel event Do not use UI (but perhaps NotificationManager) Application does not need to be running Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 10 / 15
  11. 11. Anatomy of Android Applications (cont.) Service Provides background code execution Typically long-lived, does not use UI Can connect to service if needed Content Provider Allows sharing of data among applications Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 11 / 15
  12. 12. Hello Android Figure: Hello Android code Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 12 / 15
  13. 13. Hello Android Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 13 / 15
  14. 14. Acknowledgements Dr. Chapman - Mentor Dr. Umphress - Mentor Google - Information and Research Source Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 14 / 15
  15. 15. Thank You! Any Questions? Chris Baker and Danny Noler (Auburn University) NSF-REU 2008 June 26, 2008 15 / 15

×