开发者

OTA Application Provisioning implementation on Android

开发者 https://www.devze.com 2023-03-08 01:10 出处:网络
i am trying to implement OTA settings update for my ap开发者_如何学Gop. didn\'t find any tutorial regarding this issue.

i am trying to implement OTA settings update for my ap开发者_如何学Gop. didn't find any tutorial regarding this issue. the settings file would be an XML file.

Thanks.


There is no built-in "OTA settings update" in Android.

If "OTA settings update" implies an update to your application itself, download the APK to external storage and call startActivity() with an ACTION_VIEW Intent, a Uri pointing to that (world-readable), and the magic MIME type (application/vnd.android.package-archive).

If "OTA settings update" is data, download what you want from your Web server.

0

精彩评论

暂无评论...
验证码 换一张
取 消