Mobile-UXSDK-Android icon indicating copy to clipboard operation
Mobile-UXSDK-Android copied to clipboard

RadarWidget not working

Open vfrabel opened this issue 1 year ago • 3 comments

Hello everybody,

I am using the msdk 4.17 along uxsdk 4.16 to create an android app for a Matrice 350 RTK. All works fine but the radar (dji.ux.widget.RadarWidget) does not appear on the screen when I try to use it (the rest of widgets work properly).

Here is the piece of code regarding the manifest, inside my relative layout:

<dji.ux.widget.RadarWidget
        android:id="@+id/A"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="300dp"
        android:layout_marginStart="350dp"/>

vfrabel avatar Jan 09 '24 13:01 vfrabel

The M350 cannot use the RadarWidget. However, you can use the open-source version of the HorizontalSituationIndicatorWidget instead. Here is the link to the open-source project: [project link.](https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android).

dji-lyt avatar Jan 10 '24 11:01 dji-lyt

I have seen that msdk's latest version working with uxsdk is 4.16, and M350 is only compatible with 4.17. Can that be another source of errors?

In any case, I see that the project you provided, UX SDK 5.0 Beta 5.1, supports up to 4.14. Is it not compatible either?

vfrabel avatar Jan 10 '24 12:01 vfrabel

Agent comment from yating.liao in Zendesk ticket #98777:

UXSDK is a series of components generated using MSDK. Currently, the closure version of UXSDK no longer updates with the MSDK version. The open-source version of UXSDK has the same functionality as the closure version. To adapt to M350, you can modify the dependency on the MSDK version to 4.17 and develop based on the provided widgets.

RadarWidget has been unable to be used on M300 for a long time. Since M350 is similar to M300, I suggest you use the open-source version.

°°°

dji-dev avatar Jan 11 '24 07:01 dji-dev