TS-4900 Android Sections: Difference between revisions
No edit summary |
|||
Line 9: | Line 9: | ||
== Android Software Development == | == Android Software Development == | ||
{{:Android Software Development}} | {{:Android Software Development}} | ||
== Android Manually Install APK == | |||
{{:Android Install APK}} |
Latest revision as of 13:08, 12 February 2016
This Android distribution is based off of Freescale's port of AOSP to the i.MX6 platform. This allows users to run existing APKs to use this platform with no modifications, or develop new projects using Android Studio.
Getting Started with Android
Android must be run from the eMMC. This can be written with the USB production tool, or from the SD card. To use the USB drive, follow the instructions here, and download the image and copy it to the USB drive as emmcimage.dd.bz2.
Download the Android image here:
To load from the SD card, boot up to any Linux distribution from the SD card such as the default Yocto. Once booted here, run:
wget -qO- ftp://ftp.embeddedTS.com/ts-arm-sbc/ts-7990-linux\
/distributions/android/android-7.1.1-tsimx6-tiwifi-\
latest.dd.bz2 | bzcat | dd bs=4M of=/dev/mmcblk2 conv=fsync
This will download it, decompress it, and write it to the eMMC drive. Reboot and boot into Android.
Android Networking
On startup android will automatically start dhcpcd on eth0, or WIFI can be configured via the Settings->Wi-Fi menu.
Android Software Development
AOSP development works exactly the same as on an Android phone, except the Google APIs associated with the store are not available. See The android documentation for getting started on development: http://developer.android.com/training/basics/firstapp/index.html
Android Manually Install APK
APKs can be installed just like on any other Android device. On the device go to settings->About Tablet and press the "build number" until the text states "You are now a developer". Go back to Settings and there is now a "Developer Options" menu. Under Debugging enable USB Debugging. You should now be able to run adb commands to install apk files.
adb install </path/to/app.apk>