Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

External Payload

Open PeimanAtaeiJPDroni opened this issue 6 months ago • 3 comments

Hi DJI,

I am using external payload for M300 and I know these payloads has some buttons or configurations that can be used in DJI Pilot app for con change configs or start some actions.

How can I find these buttons and settings from payload data and try to use them?

do we have any sample code to show me how to find and implement them?

PeimanAtaeiJPDroni avatar May 27 '25 12:05 PeimanAtaeiJPDroni

Agent comment from YIGUI LIU in Zendesk ticket #144274:

Dear Developer, Hello and thank you for reaching out to DJI Innovations.

You can use the PSDK for payload development and display custom payload controls in the Pilot 2 app. For detailed reference, see: https://developer.dji.com/doc/payload-sdk-tutorial/en/function-set/basic-function/custom-widget.html

We hope that our solution meets your needs satisfactorily. We appreciate your email and wish you a wonderful day! Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar May 28 '25 04:05 dji-dev

Hi DJI,

Thank you so much for your response but I mean in the application.

Now I am using payload manager to listen to Basic info and widget info of the external payload and I have all these data.

But I need to know hot the get the list of custom widgets they have implemented in their payload and use them

Please give me a sample code for it.

Thank you so much

PeimanAtaeiJPDroni avatar May 28 '25 07:05 PeimanAtaeiJPDroni

Agent comment from YIGUI LIU in Zendesk ticket #144274:

Dear Developer,

You can refer to this tutorial, which provides the calling process and sample code: https://developer.dji.com/doc/mobile-sdk-tutorial/en/tutorials/payload2.html

Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar May 28 '25 08:05 dji-dev