GithubHelp home page GithubHelp logo

Comments (10)

SilverChangjian avatar SilverChangjian commented on August 11, 2024

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.

edancain avatar edancain commented on August 11, 2024

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.

edancain avatar edancain commented on August 11, 2024

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.

edancain avatar edancain commented on August 11, 2024

onGetRegisteredResult(DJIError error) returns false. Ideas?

from mobile-sdk-android.

edancain avatar edancain commented on August 11, 2024

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.

SilverChangjian avatar SilverChangjian commented on August 11, 2024

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.

oliverou avatar oliverou commented on August 11, 2024

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.

justintuchek avatar justintuchek commented on August 11, 2024

@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.

dji-dev avatar dji-dev commented on August 11, 2024

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.

talobin avatar talobin commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.