Android Application Model I -state.edu

Android Application Model I

CSE 5236: Mobile Application Development Instructor: Adam C. Champion, Ph.D. Course Coordinator: Dr. Rajiv Ramnath

1

Framework Support (e.g. Android)

2

Framework Capabilities and Add-Ons

? Tailored to mobile apps ? Built-in services:

? GUI ? OS services (file I/O, threads, device management) ? Graphics ? Device access (GPS, camera, music and video players, sensors) ? Web services ? Networking ? XML processing ? Standard language libraries

? Add-ons:

? Maps ? Database support (SQLite) ? WebKit

3

IDE Support

? Eclipse, Android Studio (Beta) ? Testing tools (test management, unit

tests) ? Performance profiling tools ? SCM integration (Git, SVN, CVS) ? Software emulators ? Sensor injection (GPS, other sensors)

4

Android Studio Project Components

5

Types of Android Programs

? Applications

? Home app, Home screen ? Take over screen

? Services

? Run in the background without UI

? App widgets and home screen widgets

? View-only interface to a service ? Home screen widget if on Home screen

? All apps are composed of Activities ? a "cohesive step" in an Android application

6

Activities in Tic-Tac-Toe

7

Specifying Activities ? AndroidManifest.xml

8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download