dji-sdk / Mobile-UXSDK-Android

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of Android applications using the DJI Mobile SDK.
Other
152 stars 110 forks source link

ME2A Camera Mode Toggle always switches to RECORD_VIDEO #141

Closed terrysmay closed 2 years ago

terrysmay commented 2 years ago

Only While connected to an Mavic Enterprise 2 Advanced the Camera Mode Toggle Button at the top of the CameraControlsWidget will always select RECORD_VIDEO when initialized. I would like it to rememeber whatever Camera Mode the user last selected. I have tried to set the CameraKey.MODE ahead of time, but it causes the Camera Mode to toggle from SHOOT_PHOTO to RECORD_VIDEO

What is the best way or life cycle method to set the Camera Mode. so that it will persist the users selection even if we leave the activity/fragment and come back.

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #61796:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

DJI-William commented 2 years ago

A minor problem, we will look at it.

DJI-William commented 2 years ago

Fixed in UXSDK, it is about to release in the end of June.