-
Toast可以自定义显示时长
-
![111](https://user-images.githubusercontent.com/7939484/165464461-ea2fd61b-584a-448d-82bf-d95f60785395.png)
-
product.getCameras().get(0).getDisplayMode(new CommonCallbacks.CompletionCallbackWith() {
@Override
public void onSuccess(SettingsDefinitions.DisplayMode disp…
-
DJISDKManager.getInstance().getFlightHubManager().updateActivationState(new CommonCallbacks.CompletionCallback() {
@Override
public void onResult(DJIError error) {
…
-
如何给某一单独吐司设置位置?
比如
```
ToastUtils.setGravity(Gravity.TOP);
ToastUtils.show(R.string.verify_failed);
ToastUtils.setGravity(Gravity.CENTER);
```
这个写法理论上可以,先设置为显示在最上面,之后显示吐司,之后再设置回去,也就是其他吐司还显示在中间。
…
-
In my application, the SDK used before was 1.9 and everything worked fine. After upgrading to 1.12, android still works well, but ios will get stuck on the splash screen.
### Detailed questions:
…
-
try {
val data: ByteArray? = HexUtils.toByteArray(address)
usbSerialPort.write(data, 5000)
} catch (e: Exception) {
ToastUtils.showShort("fail message!-…
-
我们项目,登录时遇到toast闪退, 必现。
且只有安卓系统版本是11的时候出现。
查了下,用到toast的地方报错
I am_crash: [22970,0,com.toycloud.ZTSystem,820526662,java.lang.NullPointerException,Attempt to invoke virtual method 'android.view.View…
-
如题
-
Hi,
I try to get a WaypointV2 mission to run inside the DJI Simulator. I use the following code.
I get the following messages:
1. Mission loaded
2. Mission Uploaded
3. Something went Wrong U…