Open sumanhaque opened 2 years ago
Could you please upload a video record for us to understand what the issue looks like please. Link:https://pan-sec.djicorp.com/s/neW4bH7tQ8rJXdi dji123
I have uploaded the screenrecord of the issue on your provided url(https://pan-sec.djicorp.com/s/neW4bH7tQ8rJXdi). Please check.
A minor error, I think there is something wrong in the refresh method. I will report to the dev team.
Thank you @DJI-William for the update. Will be waiting for a response.
@sumanhaque We are now trying to reproduce this issue but failed with this. We are using Honor 8x. Which phone model are you using?
@DJI-William Below are device details, with which I have faced this issue, Mi 11x, Android OS version 11 Samsung Galaxy Tab S7, android os version 12
Is it possbile to give us your layout.xml? We cannot reproduce it, we just guess it may influenced by the layout file. The video you provided shows us it is not the original sample we provided. What have you changed tho?
The video is from a POC app and sharing the layout.xml won't be possible.
Though I can confirm, the only code written for battery widget is as below,
<dji.ux.widget.BatteryWidget
android:id="@+id/widgetBattery"
android:layout_width="96dp"
android:layout_height="22dp"
custom:excludeView="singleVoltage|doubleVoltage" />
and there are no other code written for battery widget.
@sumanhaque hello,do you have the sample problem on uxsdk sample?
I havent tried uxsdk sample on this device. If it's required then I will set it up and test. Please let me know if there are any specific test condition you have in mind.
just check the https://github.com/dji-sdk/Mobile-UXSDK-Android/blob/master/sample/app/src/main/res/layout/activity_customized_widgets.xml , we can not reproduce it on this layout. thanks
Sure @Hoker- , I will test out and provide you all the details by next week.
Sure @Hoker- , I will test out and provide you all the details by next week.
thanks
@Hoker- I have done the testing on my side. I ran the smaple app, and it has no blinking issue. Below is the screenshot,
Let me know, if I need to provide any more information.
Since you cannot reproduce on our UXSDK Sample, maybe its your code issue. We cannot do anything about it if we cannot reproduct the issue on our side.
I can understand your point with not being able to reproduce the issue on your side, it becomes really complex to debug in such case.
Though, the only code I have with respect to BatteryWidget is,
<dji.ux.widget.BatteryWidget
android:id="@+id/widgetBattery"
android:layout_width="96dp"
android:layout_height="22dp"
custom:excludeView="singleVoltage|doubleVoltage" />
and this widget is sharing the same parent constraint layout with its adjacent widgets which doesnt have this issue. Can you please point me the issue with my code?
There is nothing wrong with the layout. We cannot find anything wrong here.
dji.ux.widget.BatteryWidget
is flashing on and off intermittently on the screen. Sometimes it becomes invisible for more than 15 seconds. Code snippetBelow are the envrionment details, dji-sdk version 4.16 and dji-uxsdk version 4.16 Drone model number is dji Mavic Pro, dji Mavic 2 pro, dji phantom 4 Android OS 11, 12