Comments (10)
Hi thanks for your report. We will update the support for the Android Studio 2.0 in couple of days. For the sample, have you put the App key in the AndroidManifest.xml? What is the registration result?
from mobile-sdk-android.
Yes I put my App-Key into the AndroidManifest.xml file. Where is this registration result you write of? I have looked through a lot of the MainActivity java file and others trying to discover where this might be with no luck. Sorry for my ignorance, I don't code for Android often.
from mobile-sdk-android.
I think I see it in DJISampleApplication.java ::OnCreate method:
/**
* handles SDK Registration using the API_KEY
*/
DJISDKManager.getInstance().initSDKManager(this, mDJISDKManagerCallback);
from mobile-sdk-android.
onGetRegisteredResult(DJIError error) returns false. Ideas?
from mobile-sdk-android.
Your documentation is horribly out of date: This explanation does not reference the current downloadable sample. https://dji-dev.gitbooks.io/mobile-sdk-tutorials/content/en/Android/AndroidStudioMigration/Android_Studio_Migration_Tutorial_en.html
from mobile-sdk-android.
What's the error returned? If it returns success, then it should work. The registration has already moved to the application and all of the initialization are there too.The onGetResteredResult return false might be caused by the network issues or the app key you entered is not relative to the application you put the KEY in.
from mobile-sdk-android.
Hi all, we have updated the Android SDK Sample Project Readme.m file, please follow the process to run the Sample Code again. Also, we provide a new tutorial to teach you how to import DJI Android SDK to a new Android Studio project from scratch, please check this Link for details.
from mobile-sdk-android.
@edancain the initialization callback requires an active internet connection as well - which isn't totally obvious from the documentation unless if you read the source for DJIError
.
As for the documentation - pages hosted basically anywhere on DJIs official pages are still out of date, however docs that are bundles with the project under API Reference/index.html
do appear to be current for v3.3 (as far as I've seen.)
from mobile-sdk-android.
Hi @edancain @jtuchek, currently, all the documentations hosted on DJI Mobile SDK Website are revamped and updated to DJI Mobile SDK 3.3, as well as the tutorials and sample projects on Github. The DJI Mobile SDK Gitbook is now deprecated, please check the related tutorials on DJI Mobile SDK Website for details: https://developer.dji.com/mobile-sdk/documentation/introduction/index.html
BTW, @edancain the SDK activation process requires internet connection, please check this documentation for details: https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-run.html#Internet-Connectivity
Please let us know if you find any documentations on DJI Developer Website or SDK Github Page are still out of date, we will do our best to update them as soon as possible. Thanks!
from mobile-sdk-android.
Will go ahead and close this issue since it has been a long time.
@edancain Please help to create a separate issue if you still have problem with current version SDK 4.3.2
Thanks!
from mobile-sdk-android.
Related Issues (20)
- Dji Drone Gimbal Rotation HOT 19
- [Help] Restricted Zone HOT 1
- Camera's setFlatMode fails with error HOT 3
- [Help] Gimbal rotate auto reverses HOT 3
- Panorama support HOT 2
- Crash when calling registerApp()
- Altitude rise function is not accurate HOT 9
- DJI Air 2S Intelligent Flight Modes (ActiveTrack, Spotlight, POI) HOT 5
- The execution could not be executed HOT 4
- How to get a distance value to the .jpg file? HOT 3
- DJI SDK V5 LRF HOT 1
- How do I delete markers? HOT 1
- GetFirmwareVersion throwing an exception HOT 1
- switch map to camera on Flight page HOT 3
- dji.v5.manager.SDKManager.<init>(): [0x0] Constructor returning without calling superclass constructor HOT 2
- Bezier Curve HOT 3
- 说实话,官网的tutorial实在是过时了 HOT 8
- Angle and Heading of Drone HOT 1
- Any plan to support Android 14 with targetSdk = 34 HOT 14
- Home location set manually HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-sdk-android.