TS-TPC-7990 Android: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 18: Line 18:


== Android Networking ==
== Android Networking ==
Android supports networking through the integrated Atmel WIFI chipset, or through the ethernet port on the left side of the screen (eth0).
Android supports networking through the integrated Atmel WIFI chipset, or through the ethernet port on the left side of the screen (eth0).  This Ethernet interface will always grab DHCP by default if connected.


== Android Software Development ==
== Android Software Development ==
{{:Android Software Development}}
{{:Android Software Development}}


== Android Manually Install APK ==
== Android Install APK ==
{{:Android 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.  Plug a MicroUSB into P1/OTG on the TS-TPC-7990.  You should now be able to run adb commands to install apk files.
<source lang=bash>
adb install </path/to/app.apk>
</source>

Revision as of 11:14, 18 August 2017

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 Debian. Once booted here, run:

wget -qO- ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7990-linux\
/distributions/android/android-7.1.1-tsimx6-atmelwifi-\
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

Android supports networking through the integrated Atmel WIFI chipset, or through the ethernet port on the left side of the screen (eth0). This Ethernet interface will always grab DHCP by default if connected.

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 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. Plug a MicroUSB into P1/OTG on the TS-TPC-7990. You should now be able to run adb commands to install apk files.

adb install </path/to/app.apk>