B4A Library DJI Drones

Status
Not open for further replies.

Mr Blue Sky

Active Member
Licensed User
Longtime User
Hi Erel yes i use b4a 8.0 last drone firmware and last DJI library 4.41 too. I check too with library helper and don't have inside DJIMissionManager

 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
1. Register with DJI: https://developer.dji.com/ and create an app in the User Center page. You will see an App Key that you need to add to the manifest editor.
May i suggest to add the info that the Bundle Identifier in the console must match the Packagename!
 

ELCHARO

Member
Licensed User
Longtime User
Hello Erel!

I run the app. In Samsung S7 Edge. The problem is the screen are inverse and can't rotate. All apps do is no android problem. Rotation is enable.
But the djidemo (both) are inverted and is imposible to rotate (fixed)
What can i do?

Thanks
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi,
I tried to compile your examples, but I have these errors. What can they be?
thank you
regards
 

Attachments

  • Immagine.png
    262.1 KB · Views: 284

Roberto P.

Well-Known Member
Licensed User
Longtime User
1. You should start a new thread for any Question you have!
2. You should post errors as TEXT instead of an Image

Ok DonManfred,
next time I create new thread.

here is error in text format:


thank you
 

DonManfred

Expert
Licensed User
Longtime User

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi,
after following all the steps successfully, I can not make the app connect with the drone.


The DJI app connects.

Can you tell me what I have to do to make it connect?

thank you
 

Michael S King

New Member
Licensed User
SUPER COOL! Question? Can you control the camera with this? Specifically I want to change the shutter speed and then capture an image programmatically. In essence, I want to create an true automatic exposure bracketing routine with more control than the built in disaster lacking any imagination.

These kind of things will really inspire a programmer. Sure, I could make an app to fly the Drone but photography and cinematography is why we fly. creating a beautiful HDR (High dynamic range) photograph requires exposure bracketing. from what i read of DJI's version, they change the ISO to create the AEB. I want to not only change the shutter speed but change the number of exposures to infinity if I choose. So essentially:

  • Take and image at the current Shutter speed
  • Drop 1 f stop and take another image
  • drop 2 f stops and take and image
  • Drop 3 f stops and take an image
  • drop 4 f stops and take an image
  • return to original shutter speed
  • add 1 f stop take and image
  • add 2 f stops and take and image
  • add 3 f stops and take and image
  • add 4 f stops and take and image
  • alet me that it is finished.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Version 4.50 is released. It is based on DJI SDK v4.11.1. It works with 64 bit devices and it is compatible with AndroidX SDK.
It requires B4A v9.5+.

There are some changes in the events. The ProductConnectivityChanged event was removed and there is a new BindingStateChanged event that is used instead.
See the two examples.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…