Thanks Dennis! Your efforts are greatly appreciated. There seems to be lots of outdated docs and samples still being linked to from more current content. Not so easy to sort out. Looks as though the big sample project is meant to serve as docs as in "let the code do the talking" approach by dji? I'm glad you switched over to Android and hope you can share more of your findings soon.
Ha! I remember many conversations of "self documenting" code. Too funny. I find Android development more cumbersome then iOS maybe due to the numerous Android hardware targets, but it's definitely something I'm trying to keep up with. I'm really interested in Kotlin and have been wondering if Flutter would be up to the task. Just not sure if there would be any way to import the DJI SDK. Thanks for the feedback.
Thank you Dennis, but I wished I could make this work for my Spark and other older DJIs of mine, but every time I open the "Sample Code" directory into Android Studio I get tons of errors, like: "Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. Could not create task ':app:minifyDebugWithR8'. Cannot query the value of this provider because it has no value available." and many more... I tried it with SDK downloads Version 4.16.2 and 4.16.4 and even installed the Chipmunk release of Android Studio. All to no avail. What do I do wrong?
Great demonstration, thanks. Is there any way to connect non sdk models such as the Mini 2 SE & Mini 4 Pro to SDK? I'd love to Run them in ATAK using UAS tools but as they're not supported with DJI's SDK's they aren't recognized in my ATAK app unlike other supported models. Some Redit users have said it's possible > "You can use the mobile SDK V4 to get support for the Mini 2 SE to develop a new plugin"....... & "I use Mini 2 SE with UAS tools there is a way to do that but need to rewrite some code on the drone."
IS DENNIS THE ONLY PERSON IN THE UNIVERSE WHO CAN GET THIS SAMPLE APP TO LOAD IN ANDROID STUDIO???????? WHICH VERSION A.S. CAN LOAD IT WITHOUT CRASHING ERRORS ERRORS ERRORS ERRORS ERRORS????
Hi! Thank for this video. I would like to know if there is possible to program the drone, like a Mavic 2 Enterprise, to do some Task. Also, it is possible to run OpenCV and make tasks by the camera result?
Wait! We have to upload our code to DJI for the SDK to function!? So we have a unique idea we're just going to give away the source code to these guys?
Is it still valid? Running the project in Android Studio on the right side I have the current file structures as well as on github - I can't open the project, the debugger doesn't work, and it doesn't look like an Android app at all
Hi. I wanted to develop an application to control the M300 RTK drone but I do not now if I should clone Mobile-SDK-Android or Mobile-UXSDK-Android from DJI github to start working on this project.
It's largely dependent on what you're trying to do. There are a few SDKs for that model: mobile, payload, and onboard SDK if I recall. The UX SDK is helpful to give you video streaming and widgets right out of the box. But I'd recommend getting familiar with the core functionality of the SDKs before you mess with the UX SDK....unless you're just trying to stream video or provide an experience like the Fly app. I may try and put together a video explaining the differences. Good luck with your project. The M300 is quite the beast of a drone!
How do you actually build/compile the mvsdk? I right click the build gradle file and run it and it does nothing. You skipped that important part in your video. Edit: I give up on this for now. Too many android studio errors/bugs/blockers. I installed android studio hedgehog and the first line in the build.gradle file throws errors: apply plugin: 'com.android.library' with not being able to find it. All of the --trace options and what not don't help me find out what the problem is. This SDK is complete garbage/non supported/poorly documented.
hi, so i downloaded source code and when i open those source code it throws 3 error that it is org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreationException: Could not create task ':app:minifyDebugWithR8 please solve this
Thanks Dennis! Your efforts are greatly appreciated. There seems to be lots of outdated docs and samples still being linked to from more current content. Not so easy to sort out. Looks as though the big sample project is meant to serve as docs as in "let the code do the talking" approach by dji? I'm glad you switched over to Android and hope you can share more of your findings soon.
Ha! I remember many conversations of "self documenting" code. Too funny. I find Android development more cumbersome then iOS maybe due to the numerous Android hardware targets, but it's definitely something I'm trying to keep up with. I'm really interested in Kotlin and have been wondering if Flutter would be up to the task. Just not sure if there would be any way to import the DJI SDK. Thanks for the feedback.
Dennis is still the best there is. He led has led the way for years.
Thank you for the kind words. I really appreciate it. I hope you're doing well and getting to fly from time to time!
This kind of information or procedures is not easy to find, thanks for share it in this video Dennis
You're welcome. I hope to share more details about the DJI SDK in the near future. Thanks for the kind words.
Thank you Dennis, but I wished I could make this work for my Spark and other older DJIs of mine, but every time I open the "Sample Code" directory into Android Studio I get tons of errors, like: "Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Could not create task ':app:minifyDebugWithR8'.
Cannot query the value of this provider because it has no value available." and many more...
I tried it with SDK downloads Version 4.16.2 and 4.16.4 and even installed the Chipmunk release of Android Studio. All to no avail. What do I do wrong?
i am also having the same issue did ur problem got resolved?? if yes what did you do?
@@erenyeagerthefoundingtitan3657 seriously, WTF version of Android Studio can this work with?
Good job, Dennis!
Great demonstration, thanks. Is there any way to connect non sdk models such as the Mini 2 SE & Mini 4 Pro to SDK? I'd love to Run them in ATAK using UAS tools but as they're not supported with DJI's SDK's they aren't recognized in my ATAK app unlike other supported models. Some Redit users have said it's possible > "You can use the mobile SDK V4 to get support for the Mini 2 SE to develop a new plugin"....... & "I use Mini 2 SE with UAS tools there is a way to do that but need to rewrite some code on the drone."
hi, in my case i don't have the dron in my hands, you know any way to emulate the drone into mobile sdk? or a dron to use dji assistant 2?
How is project about flying path using virtual sticks going? Can't wait to see it. Much appreciated!
hello! super editing!see you on my side.
IS DENNIS THE ONLY PERSON IN THE UNIVERSE WHO CAN GET THIS SAMPLE APP TO LOAD IN ANDROID STUDIO???????? WHICH VERSION A.S. CAN LOAD IT WITHOUT CRASHING ERRORS ERRORS ERRORS ERRORS ERRORS????
Hello, can you re-record the video for current versions ? Otherwise it looks unsuitable.
Hi! Thank for this video. I would like to know if there is possible to program the drone, like a Mavic 2 Enterprise, to do some Task. Also, it is possible to run OpenCV and make tasks by the camera result?
Wait! We have to upload our code to DJI for the SDK to function!? So we have a unique idea we're just going to give away the source code to these guys?
Is it still valid? Running the project in Android Studio on the right side I have the current file structures as well as on github - I can't open the project, the debugger doesn't work, and it doesn't look like an Android app at all
Same issue for me too
@@asfakahamed4808 seriously, wtf version of android studio should we use???
Can I directly connect the Smart Controller to Android Studio? It won't seem to recognize my controller
I can't run the project Mr. Can you tell how to solve the 3000 errors?
Do you know if this will work for the enterprise series ? (Matrice 300)
Hi. I wanted to develop an application to control the M300 RTK drone but I do not now if I should clone Mobile-SDK-Android or Mobile-UXSDK-Android from DJI github to start working on this project.
It's largely dependent on what you're trying to do. There are a few SDKs for that model: mobile, payload, and onboard SDK if I recall. The UX SDK is helpful to give you video streaming and widgets right out of the box. But I'd recommend getting familiar with the core functionality of the SDKs before you mess with the UX SDK....unless you're just trying to stream video or provide an experience like the Fly app. I may try and put together a video explaining the differences. Good luck with your project. The M300 is quite the beast of a drone!
porfavor podrias compartir el codigo fuente que se esta visualizando en pantalla?
Brother can you share me the apk file for modifying the height altitude please
How do you actually build/compile the mvsdk? I right click the build gradle file and run it and it does nothing. You skipped that important part in your video. Edit: I give up on this for now. Too many android studio errors/bugs/blockers. I installed android studio hedgehog and the first line in the build.gradle file throws errors: apply plugin: 'com.android.library' with not being able to find it. All of the --trace options and what not don't help me find out what the problem is. This SDK is complete garbage/non supported/poorly documented.
How did you solve the problem??
@@tonydragon27 seriously, wtf version of android studio should we use???
@@queendiamond4286 They made great product but really shitty documentation and tutorial
I am getting errors while trying to import the project what is the problem??
how the hell do I create a run configuration? it gives me this error: "Error: Module not specified"
Help will be very appreciated🙏
thanks a lot guys
I have the same error module not especified, did you solve it?
✨ P𝐫O𝕞O𝓢m
hi, so i downloaded source code and when i open those source code it throws 3 error that it is org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreationException: Could not create task ':app:minifyDebugWithR8
please solve this
seriously, wtf version of android studio should we use???