Android IntroductionPlatform Overview
1
Android is a software stack for mobile devices that includes an operating system, middleware and key applications.
2
What is Android?
3
Phones
HTC G1,Droid,Tattoo
Motorola Droid (X)
Suno S880 Samsung Galaxy Sony Ericsson
4
Tablets
Velocity Micro Cruz Gome FlyTouch Acer beTouch
Dawa D7
Toshiba Android SmartBook
Cisco Android Tablet
5
Architecture
6
Android Application
Android provides a set of core applications: Email Client SMS Program Calendar Maps Browser Contacts Etc
All applications are written using the Java language.
7
Android App Framework
Enabling and simplifying the reuse of components Developers have full access to the same
framework APIs used by the core applications. Users are allowed to replace components.
8
Android App Framework (Cont)
Features
Feature Role
View System
Used to build an application, including lists, grids, textboxes, buttons, and embedded web browser
Content Provider
Enabling applications to access data from other applications or to share their own data
Resource Manager
Providing access to non-code resources (localized strings, graphics, and layout files)
Notification Manager
Enabling all applications to display customer alerts in the status bar
Activity Manager
Managing the lifecycle of applications and providing a common navigation backstack
9
Android Libraries
Including a set of C/C++,JAVA libraries used by components of the Android system
Exposed to developers through the Android application framework
10
Android Runtime (Cont) Dalvik Virtual Machine
Providing environment on which every Android application runsEach Android application runs in its own process,
with its own instance of the Dalvik VM.Dalvik has been written such that a device can run
multiple VMs efficiently.
11
Android S/W Stack – Runtime (Cont) Dalvik Virtual Machine (Cont)
Executing the Dalvik Executable (.dex) format.dex format is optimized for minimal memory
footprint.Compilation
Relying on the Linux Kernel for:ThreadingLow-level memory management
12
13
NETWORK MEDIA STREAMING
1. Creating a media server2. Username/Password Management on server3. Creating PC file Explorer module4. Creating mobile login interface5. Creating Media Client on mobile( Android )6. Creating mobile ( Android ) file explorer client7. Creating Real Time Streaming Protocol server8. Creating media player on the mobile( Android )
that can play streaming video and audio9. Support for play, pause , stop in the player
FEATURES OF NETWORK MEDIA STREAMING
14
EMULATOR SCREEN
15
First user has to make connection with the server on PC by entering IP address of PC.
CONNECTION WITH SERVER
16
NETWORKMEDIA STREAMING allows user to access all the data and devices on the user’s network. The user will install the SERVER on one computer’s in their network.
logging in
17
After successfully logging into their account the main application screen will be displayed:
DISPLAYING DRIVES OF PC
18
From this screen the user can click on the various files and folders on the remote computer.
DISPLAYING CONTENTS OF DRIVES
19
SELECTING FILES AND FOLDERS
Depending on the type of file the user clicks on the following behaviour will be observed:
• Pictures: A Picture slideshow will start. The user can scroll through all the available pictures in
this display. Hitting the back button will take the user back to the file browsing screen.
• Audio/Songs: Clicking on a Song will launch the built-in media player. A fully converted version
of the song will be streamed to your device for proper playback. Hitting the back button will
take the user back to the file browsing screen.• Video: Videos will be streamed to your device in the
proper format. Hitting the back button will take the user back to the file browsing screen.
20
PERMISSION FOR DOWNLOADING AUDIO FILE
21
DOWNLOADING AUDIO FILE
22
PLAYING AUDIO FILE
23
ASKING PERMISSION FOR DOWNLOADING PICS
24
DISPLAYING PICS
25
Recommended