By liran bh | 5/16/2016 | General |Beginners

Embedded Android

Embedded Android

Android is not just a smartphone/tablet OS, it is a great platform for embedded systems especially systems that currently based on linux
when using android as embedded linux alternative we can enjoy the many benefits that the operating system provides us and in fact there is no disadvantages because you can write code that runs in the lower layers exactly as written for Linux
The product must not have a touch screen, it can be "faceless" and you can still take advantage of many infrastructures that google wrote to make the product "time to marker" shorter
Android Stack based on the following layers (bottom up)

  1. Linux kernel
  2. Bionic - C library
  3. Native layer
  4. Frameworks 
  5. Applications

Linux kernel

Android is based on linux kernel with some changes. Currently most of them merged to the formal linux kernel (kernel.org). 
Google added some security features, IPC mechanisms and power management  features
I will get into more details in a future post
In general, if we want to add drivers, file systems, network modules or any other kernel feature its the same as it done on linux
 

Bionic - C library

Google wrote the c library from scratch. The library interface is the same as glibc but the implementation is much better and fit to embedded devices
 
 

Native Layer

This layer is the same as user space layer on linux. It contains native libraries (.so files), daemons and native applications.
Writing code for this layer is the same as writing a linux application and its not connected to any android or java restriction
 

Frameworks

This layer contains all android services, we can use this layer to connect the java applications with the native layer in a secure way
 
 

Application

This is the top layer, we can write code in java and get access to many features, great GUI and more.
We can add code in C/C++ or even write a full C/C++ application 
 
 More details in all my future posts
By liran bh | 5/16/2016 | General

{{CommentsModel.TotalCount}} Comments

Your Comment

{{CommentsModel.Message}}

Recent Stories

Top DiscoverSDK Experts

User photo
20
Shilpa Bharadwaj
C developer, Software testing and Perl/Python Automation
Hardware and RT | General Libraries and 21 more
View Profile
User photo
20
ahmedxp kh
Ahmedxp PC ENG
Multimedia | Hardware and RT and 123 more
View Profile
User photo
20
Esma Rucolli
Engineering.....my dream 💖
Hardware and RT | General Libraries and 87 more
View Profile
Show All
X

Compare Products

Select up to three two products to compare by clicking on the compare icon () of each product.

{{compareToolModel.Error}}

Now comparing:

{{product.ProductName | createSubstring:25}} X
Compare Now