提交 69679db9 编写于 作者: 杜庆泉's avatar 杜庆泉

Update utsandroid.md

上级 cbaa5239
......@@ -240,7 +240,12 @@ if (takePictureIntent.resolveActivity(UTSAndroid.getUniActivity()!.getPackageMan
```ts
// 代码包文件
/**
* 代码包文件在真机运行模式下:
* /storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__XXXXXXX/www/static/logo.png
* 代码包文件在云打包模式下:
* file:///android_asset/apps/__UNI__XXXXXXX/www/static/logo.png
* /
console.log(UTSAndroid.getResourcePath('static/logo.png'))
// 沙盒文件
console.log(UTSAndroid.getResourcePath('unifile://sandbox/static/logo.png'))
......@@ -751,51 +756,51 @@ console.log(UTSAndroid.getTopPageActivity())
<!-- UTSJSON.UTSAndroid.offPrivacyAgreeChange.returnValue -->
<!-- UTSJSON.UTSAndroid.offPrivacyAgreeChange.compatibility -->
### setAppTheme(theme)
<!-- UTSJSON.UTSAndroid.offPrivacyAgreeChange.compatibility -->
### setAppTheme(theme)
<!-- UTSJSON.UTSAndroid.setAppTheme.description -->
<!-- UTSJSON.UTSAndroid.setAppTheme.param -->
<!-- UTSJSON.UTSAndroid.setAppTheme.returnValue -->
<!-- UTSJSON.UTSAndroid.setAppTheme.compatibility -->
### onAppThemeChanged(callback)
<!-- UTSJSON.UTSAndroid.setAppTheme.compatibility -->
### onAppThemeChanged(callback)
<!-- UTSJSON.UTSAndroid.onAppThemeChanged.description -->
<!-- UTSJSON.UTSAndroid.onAppThemeChanged.param -->
<!-- UTSJSON.UTSAndroid.onAppThemeChanged.returnValue -->
<!-- UTSJSON.UTSAndroid.onAppThemeChanged.compatibility -->
### offAppThemeChanged(callbackId)
<!-- UTSJSON.UTSAndroid.onAppThemeChanged.compatibility -->
### offAppThemeChanged(callbackId)
<!-- UTSJSON.UTSAndroid.offAppThemeChanged.description -->
<!-- UTSJSON.UTSAndroid.offAppThemeChanged.param -->
<!-- UTSJSON.UTSAndroid.offAppThemeChanged.returnValue -->
<!-- UTSJSON.UTSAndroid.offAppThemeChanged.compatibility -->
### onOsThemeChanged(callback)
<!-- UTSJSON.UTSAndroid.offAppThemeChanged.compatibility -->
### onOsThemeChanged(callback)
<!-- UTSJSON.UTSAndroid.onOsThemeChanged.description -->
<!-- UTSJSON.UTSAndroid.onOsThemeChanged.param -->
<!-- UTSJSON.UTSAndroid.onOsThemeChanged.returnValue -->
<!-- UTSJSON.UTSAndroid.onOsThemeChanged.compatibility -->
### offOsThemeChanged(callbackId)
<!-- UTSJSON.UTSAndroid.onOsThemeChanged.compatibility -->
### offOsThemeChanged(callbackId)
<!-- UTSJSON.UTSAndroid.offOsThemeChanged.description -->
<!-- UTSJSON.UTSAndroid.offOsThemeChanged.param -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册