How to get started writing an app for AOSP
16 Apr 2019
To begin writing an app for the AOSP (Android Open Source Project) operating system, such as on the Archer 3, Allegro 3, and Mesa 2 Android platforms, we recommend that you follow the guidance at the following web page.
For Archer 3 and Allegro 3, if possible we recommend starting with our sample apps and source code.
When you are ready to compile and deploy your app for testing on an actual device, we recommend that you follow the guidance at the following web page. This web page explains how to enable developer options, enable USB debugging, establish the ADB (Android Debug Bridge) connection, and other steps that you initially need to perform on the device.
Configure on-device developer options
Related to this, on the device tap on Settings > About this device > Software Information, and then tap on the Build number repeatedly 7 times. Then go back to Settings > Developer options (which should now be visible).
For the Mesa 2 Android platform, you may need to purchase and use a compatible USB-to-Ethernet adapter. This information and further details are provided in the MS2 Android release notes documents.
Make sure your app user interface is developed to properly support a minimum display resolution that is compatible with the platform, such as Landscape VGA (640 x 480) for the Allegro 3 (DPI of 213 (DENSITY_TV), though truly 190) and Portrait WVGA (480 x 800) for the Archer 3. See this web page for reference.
In general, such as to support both the Archer 3 as well as the Allegro 3, we recommend designing the app user interface using Constraint Layout as described at the following web page.