Android Automotive
What is Android Automotive ?
Android is an open source, Linux based OS, created for a wide array of devices and form factors including mobile devices (ex: phones and tablets), wearables (ex: watch), and automotive In-Vehicle Infotainment (IVI).
Android Automotive designed for in-vehicle infotainment (IVI). It’s a full Android operating system that is installed and run on the car’s hardware. To address the specific requirements of the automotive market the IVI devices must support, Android comes with software components that are specific to automotive among :
The components above are extensions to the generic Android platform to support IVI devices. They interact with the rest of the Android software components such as the System UI, System Server, etc.
The Android platform plus the automotive software components is called the Android Car platform. The diagram below represents the high-level architecture of the Android Car platform for an IVI device (including the automotive software components).
Android Automotive and Android Auto
Before we start, we should explain the difference between Android Auto and Android Automotive.
Trying the Android Automotive
Android Automotive source code is part of the Android Open Source Project . This is the repository that contains code needed to create variant Android operating systems. Companies take the AOSP and extend/customize it according to their needs, for example, changing the look or adding support to a new sensor.
领英推荐
First we get our source code:
$ mkdir android_automotive && cd android_automotive
$ repo init -u https://android.googlesource.com/platform/manifest -b master
$ repo sync -c -j4
after downloading the source code we start the build :
$ source build/envsetup.sh
$ lunch aosp_car_x86_64-userdebug
$ make -j4
now run the emulator:
$ emulator
This is the end of the article, I hope you enjoyed it. Share the story to spread knowledge !
Reference