Roberto P. Well-Known Member Licensed User Longtime User May 6, 2018 #1 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 Click to expand... thank you Attachments droneexample.zip 11.5 KB · Views: 334
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 Click to expand... thank you
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #21 DonManfred said: https://www.b4x.com/android/forum/threads/dji-drones.75244/ Or do you mean on the DJI Site? https://developer.dji.com/mobile-sdk/downloads/ Click to expand... in the website b4x the release is: Version 4.41 is released. It is based on DJI SDK v4.41 in the DJI web site I did not find the jar 4.5.1. thank you Upvote 0
DonManfred said: https://www.b4x.com/android/forum/threads/dji-drones.75244/ Or do you mean on the DJI Site? https://developer.dji.com/mobile-sdk/downloads/ Click to expand... in the website b4x the release is: Version 4.41 is released. It is based on DJI SDK v4.41 in the DJI web site I did not find the jar 4.5.1. thank you
DonManfred Expert Licensed User Longtime User May 14, 2018 #22 Roberto P. said: in the DJI web site I did not find the jar 4.5.1. Click to expand... you need to be logged in Upvote 0
Roberto P. said: in the DJI web site I did not find the jar 4.5.1. Click to expand... you need to be logged in
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #23 of course... I'm logged in and I've downloaded everything. Upvote 0
DonManfred Expert Licensed User Longtime User May 14, 2018 #24 Does it work now to find the 4.5.1 download? Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #25 DonManfred said: Does it work now to find the 4.5.1 download? Click to expand... I downloaded and checked, but I only see Gradle's Jar. See image. or am I wrong ?! Attachments Immagine.png 259.1 KB · Views: 248 Upvote 0
DonManfred said: Does it work now to find the 4.5.1 download? Click to expand... I downloaded and checked, but I only see Gradle's Jar. See image. or am I wrong ?!
DonManfred Expert Licensed User Longtime User May 14, 2018 #26 Search for AAR, not jar Away from this: You should create a new Thread for this NEW issue. Anyway: Why are you trying to download 4.5.1 even if you know it will not work with your Drone (Based on the answer from the Support)? Upvote 0
Search for AAR, not jar Away from this: You should create a new Thread for this NEW issue. Anyway: Why are you trying to download 4.5.1 even if you know it will not work with your Drone (Based on the answer from the Support)?
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #27 Not found! See picture I'm trying to download because I want to do this last test before throwing the drone out of anger. thank Attachments Immagine.png 243 KB · Views: 243 Upvote 0
Not found! See picture I'm trying to download because I want to do this last test before throwing the drone out of anger. thank
DonManfred Expert Licensed User Longtime User May 14, 2018 #28 ahh, i see. The AAR is only available through maven. AS does download them automatically. https://mvnrepository.com/artifact/com.dji https://mvnrepository.com/artifact/com.dji/dji-sdk https://mvnrepository.com/artifact/com.dji/dji-sdk/4.5.1 Upvote 0
ahh, i see. The AAR is only available through maven. AS does download them automatically. https://mvnrepository.com/artifact/com.dji https://mvnrepository.com/artifact/com.dji/dji-sdk https://mvnrepository.com/artifact/com.dji/dji-sdk/4.5.1
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #29 I did not know this repository and it is not specified in the DJI support. I do not know if I have to turn this format into Jar? thank you for your availability and kindness. Upvote 0
I did not know this repository and it is not specified in the DJI support. I do not know if I have to turn this format into Jar? thank you for your availability and kindness.
DonManfred Expert Licensed User Longtime User May 14, 2018 #30 Roberto P. said: I do not know if I have to turn this format into Jar? Click to expand... no. must be copied to the additional libs folder. Upvote 0
Roberto P. said: I do not know if I have to turn this format into Jar? Click to expand... no. must be copied to the additional libs folder.
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #31 ok. I have to replace the reference to the example library from #AdditionalJar: dji-sdk-provided-4.4.1 to #AdditionalJar: dji-sdk-4.5.1.aar it's correct? thank again Upvote 0
ok. I have to replace the reference to the example library from #AdditionalJar: dji-sdk-provided-4.4.1 to #AdditionalJar: dji-sdk-4.5.1.aar it's correct? thank again
DonManfred Expert Licensed User Longtime User May 14, 2018 #32 Roberto P. said: it's correct? Click to expand... no. See the example code from the Drone thread. The #additionaljar must be other..... Note that you need B4A 8 for it. Upvote 0
Roberto P. said: it's correct? Click to expand... no. See the example code from the Drone thread. The #additionaljar must be other..... Note that you need B4A 8 for it.
DonManfred Expert Licensed User Longtime User May 14, 2018 #33 My last answer here as i´m not interested to spent more time on your issues. I just accepted that you have a Drone which does not work with the SDK. Erel said: #BridgeLogger: true #MultiDex: true #AdditionalJar: dji-sdk-provided-4.5.1, ReferenceOnly Click to expand... Upvote 0
My last answer here as i´m not interested to spent more time on your issues. I just accepted that you have a Drone which does not work with the SDK. Erel said: #BridgeLogger: true #MultiDex: true #AdditionalJar: dji-sdk-provided-4.5.1, ReferenceOnly Click to expand...
Roberto P. Well-Known Member Licensed User Longtime User May 14, 2018 #34 I understand that you do not want to spend more time and I thank you. if this drone does not work I'll have to buy another one that supports SDK! Upvote 0
I understand that you do not want to spend more time and I thank you. if this drone does not work I'll have to buy another one that supports SDK!
DonManfred Expert Licensed User Longtime User May 14, 2018 #35 Roberto P. said: I'll have to buy another one that supports SDK Click to expand... unfortunately this seems to be true. I feel with you and i can understand you are trying all you can. Upvote 0
Roberto P. said: I'll have to buy another one that supports SDK Click to expand... unfortunately this seems to be true. I feel with you and i can understand you are trying all you can.