The logic of device binding to activate the SDK has been abandoned in MSDK V4, so now the status obtained through getAircraftBindingState is NOT_REQUIRED.
The activation process of the SDK in MSDK V4 is as follows:
- Apply for an APP_KEY, where the packageName needs to be the same as the applicationId of the project;
- Fill in the APP_KEY at the corresponding location, the filling location can be referenced in the sample code: https://github.com/dji-sdk/Mobile-SDK-Android/blob/master/Sample%20Code/app/src/main/AndroidManifest.xml#L47;
- Call com.secneo.sdk.Helper.install when the App starts, the call location can be referenced in the sample code: https://github.com/dji-sdk/Mobile-SDK-Android/blob/master/Sample%20Code/app/src/main/java/com/dji/sdk/sample/internal/controller/DJISampleApplication.java#L77;
- Call DJISDKManager.getInstance().registerApp to verify the APP_KEY;
- After successful verification in step 4, call DJISDKManager.getInstance().startConnectionToProduct to start recognizing the device.
Comments
0 comments
Please sign in to leave a comment.