admin管理员组文章数量:1026989
Intent intent = this.getViewWebIntent();
// intent.setPackage(String);
this.printInterestedActivitiesByIntent(intent);
// set the className to use the specific browser to open the webpage.
intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity");
startActivity(intent);
}
/*
*get the desired view web intent
*/
Intent intent = this.getViewWebIntent();
// intent.setPackage(String);
this.printInterestedActivitiesByIntent(intent);
// set the className to use the specific browser to open the webpage.
intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity");
startActivity(intent);
}
/*
*get the desired view web intent
*/
版权声明:本文标题:Intent调用手机指定浏览器打开网页 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1741134188a1834750.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论