Android Based Embedded System Design
Android Based Embedded System Design
Android Based Embedded System Design
Design
Bindu C J
Embedded Product Design
Android
Open-source Linux-based operating system used for
smartphones and tablet computers, owned by American
company; Google
The first beta version of the Android Software
Development Kit (SDK) was released by Google in 2007
First commercial version, Android 1.0, was released in
September 2008.
Bindu C J
Embedded Product Design
Android Versions
Bindu C J
Embedded Product Design
Bindu C J
Embedded Product Design
Getting "Android"
Two main pieces required to get Android working on your
embedded system:
Android-compatible Linux kernel and
Android Platform
Bindu C J
Embedded Product Design
Bindu C J
Embedded Product Design
Android Concepts
Developers must take a few key concepts into account
when developing Android apps.
These concepts shape the architecture of all Android apps
and dictate what developers can and cannot do.
Intents are one of the most important concepts in Android
Bindu C J
Embedded Product Design
Android Concepts
Components
Intents
Component Lifecycle
Manifest File
Processes and Threads
Remote Procedure Calls (RPC)
Bindu C J
Embedded Product Design
Components of Android
Application
Android applications are made of loosely-tied components.
Components of one app can invoke/use components of other apps
There is no single entry point to an Android app: no main()
function or any equivalent.
There are predefined events called intents that developers can tie
their components to, thereby enabling their components to be
activated on the occurrence of the corresponding events
Bindu C J
Embedded Product Design
Components of Android
Application
Four main types of components
Activities
Services
Broadcast Receivers
Content Providers
Bindu C J
Embedded Product Design
10
Intents
Intents are one of the most important concepts in Android
11
Framework Intro
Android also defines its own development framework, which
allows developers to access functionality typically found in other
development framework
User Interface
UI elements in Android include traditional widgets such as
buttons, text boxes, dialogs, menus, and event handlers.
Data Storage
Security and Permissions
Bindu C J
Embedded Product Design
12
Bindu C J
Embedded Product Design
13
Native Development
Native Development Kit (NDK) help developers to run
14
Native Development
NDK used to port over an existing codebase to Android.
C code developed for other mobile devices need not be
rewritten in Java. Instead, you can use the NDK to compile
it for Android and package it with some Java code to use
some of the more Android specific functionality made
available by the SDK
Bindu C J
Embedded Product Design
15
Android's architecture
Bindu C J
Embedded Product Design
16
needs.
Bindu C J
Embedded Product Design
17
Android's architecture-Wakelocks
The most common use case of Linux's power management
is a laptop computer. When the lid is closed on a laptop running
18
19
20