-
Notifications
You must be signed in to change notification settings - Fork 55
Sample Application Tutorial
We have included a sample application in this repository.
Clone or download the project from this git repository.
To open an existing project in Android Studio, select File -> New -> Import Project or select Open an existing Android Studio Project from the welcome screen. In the file browser that appears, select the Open-Source-UXSDK-Android folder and click Open. Once the Gradle Build has finished running, you should be able to build the project.
Note: If you are running into build issues, please update your Android Studio to the latest version.
Register for a DJI Developer account here or sign into your existing account. Then generate an app key. Make sure to enter "com.dji.ux.beta.sample" as the package name for your new app.
If you would like to use the MapWidget, you'll also need to sign up for an app key from one of the supported providers. See the Map Widget page for more detailed instructions for each provider.
Open the file android-uxsdk-beta-sample/src/main/res/values/keystrings.xml and replace "YOUR DJI SDK API KEY" with your generated App Key string. If you have generated an App Key from any of the supported map providers, you can replace the corresponding strings in this file as well.
DJI UX SDK Version 5 Beta 5
UX SDK 5.0 Overview
Core Module
Camera Core Module
Visual Cameras Module
- Camera Config