Hand-on with you to develop Android with DragonBoard 410c

In the previous article we introduced Debian development based on the DragonBoard 410c. And through the UART port to log into the Shell in Debian, the basic console application is implemented. This article is primarily for Android developers, providing a quick start guide for Android developers.

Basic equipment

Write a picture description here

The picture above shows the official reference device. It should be noted that the resolution of the display must be 1080p or lower. If you are using a higher resolution, the Android system that comes with the DragonBoard 410c cannot support the display, and the screen will always be black.

ADB installation

The average Android developer should be familiar with Android Studio software, and this article does not explain much. Mainly to provide developers with the resources they need:

Download Android Studio: https://developer.android.com/sdk/index.html#Other

Android app creation

If you want to be able to run our app on the DragonBoard 410c, we need to connect Android Studio to the DragonBoard 410c system. This way we can debug and control it directly.

Write a picture description here

Step 1: Create a new Android Studio app

Write a picture description here

Step 2: Modify the supported SDK to API 21 Android 5.0 (Lolipop) and choose OK

Write a picture description here

Step 3: Create a blank AcTIvity and click Next, then click Finish to complete the creation.

Write a picture description here

Next we can modify and debug the program in Android Studio.

Write a picture description here

DragonBoard 410c connection and program operation

First we need to connect the data cable from the OTG port on the DragonBoard 410c to the host. Click the Run->Run From the menu option on Android Studio. After waiting for a while, the DragonBoard 410c will appear in the "Select Device" prompt box, and we can see that the status of the DragonBoard 410c is Online and can be selected.

Write a picture description here

After the selection is complete, we can see the application shown below on the display and find our test program in the program.

Write a picture description here

Write a picture description here

to sum up

The configuration of the DragonBoard 410c is much easier and more convenient than Debian, and the configuration is the same as the normal Android phone configuration, which is very suitable for the fast migration of Android developers.

USB3.2 10Gbps Data Cable

Usb3.2 10Gbps Data Cable,Usb3 Type-C Data Cable,Braided Type-C Cable,Aluminum Alloy Usb-C Data Cable

Dongguan Pinji Electronic Technology Limited , https://www.iquaxusb4cable.com

Posted on