Android Question DJI DRONE Phantom 4 Pro + don't connect

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi

I'm trying to use the example posted by Erel on drones, but the app can not connect with the drone. Precise that I use Phantom Pro + that has the integrated device.

I registered the app and got the key.

Can anyone tell me why or where am I wrong?

I enclose log and project.

**************************** BaseApplication **************************
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Activity resume
ok permissions....true
Registered successfully =true
activation state: UNKNOWN
binding state: UNKNOWN
activation listener added
No connected product


thank you
 

Attachments

  • droneexample.zip
    11.5 KB · Views: 215

Roberto P.

Well-Known Member
Licensed User
Longtime User
Which integrated device?

How is the Android device connected to the remote controller?

Yes the device in embedded into remote controller

REMOTE CONTROLLER WITH BUILT-IN SCREEN

And not have a usb connection
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Litchi is a popular alternative app for DJI drones. Seems like it is not supported: https://phantompilots.com/threads/p4-pro-plus-and-litchi.127348/
This means that the built-in controller is not open to third party apps that control the drone.

When I wrote that you should install Litchi I thought that it is free app. Apparently it is not.
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
ok Erel,
but I need to be able to make my application work..

thanks
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi,
this is the answer of DJI support:


<<
According to the information you provided,
In order to help you better, I would like to consult you about some relevant information.You can also check with the following Suggestions.
1.Can you tell me which demo and SDK version you are running?
2.Your problem is that the device is not activated and you can use this demo to activate your device. https://github.com/DJI-Mobile-SDK-Tutorials/Android-ActivationAndBindingDemo
https://developer.dji.com/mobile-sdk/documentation/android-tutorials/ActivationAndBinding.html
3.Please check if your package name matches your developer account APP
>>

regards
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Your problem is that the device is not activated and you can use this demo to activate your device.

Did you tried to use the Demo to register your product?
If you do not have the apk: You need to compile it yourself using android studio. Make sure to add your SDK Key.

If you are unable to compile it: You can give me your SDK Key and i´ll compile the APK for you.

I already done this but then i saw that the app needs a SDK Key...
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi

this is the official response from DJI:

<<SDK does not support the Phantom 4 PRO Plus development at present.
Our MobileSDK can support the Phantom 4 PRO.
>>

unfortunately I was screwed! I bought the only product version where sdk does not work. I also asked for support before buying the drone.

I hope that my problem can serve to prevent others from happening.

Regards
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Did you tried to use the Demo to register your product?
If you do not have the apk: You need to compile it yourself using android studio. Make sure to add your SDK Key.

If you are unable to compile it: You can give me your SDK Key and i´ll compile the APK for you.

I already done this but then i saw that the app needs a SDK Key...


thank you Dom Manfred for your availability.

I ask you where can I download the last jar version of DJI (4.5.1)

regards
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top