1、点击更新按钮(url 是下载包地址):
Intent intent = new Intent();
intent.setAction("android.intent.action.VIEW");
Uri content_url = Uri.parse(url );
intent.setData(content_url);
context.startActivity(intent);
Intent intent = new Intent();
intent.setAction("android.intent.action.VIEW");
Uri content_url = Uri.parse(url );
intent.setData(content_url);
context.startActivity(intent);
本文标题:Android-跳转浏览器更新程序
本文链接:https://www.haomeiwen.com/subject/zqwsuktx.html
网友评论