使用intent对象和Uri对象
Uri uri = Uri.parse("https://www.your-heart.top/Qt/Qt-latestVersion.apk"); //设置跳转的网站
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
使用intent对象和Uri对象
Uri uri = Uri.parse("https://www.your-heart.top/Qt/Qt-latestVersion.apk"); //设置跳转的网站
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);