
谢谢解决方法 这将为firefox创建一个意图:
String url = "http://example.com/";Intent intent = new Intent(Intent.ACTION_MAIN,null);intent.addcategory(Intent.category_LAUNCHER);intent.setComponent(new Componentname("org.mozilla.firefox","org.mozilla.firefox.App"));intent.setAction("org.mozilla.gecko.BOOKMARK");intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);intent.putExtra("args","--url=" + url)intent.setData(Uri.parse(url)); 总结 以上是内存溢出为你收集整理的Android:从应用程序内启动Firefox全部内容,希望文章能够帮你解决Android:从应用程序内启动Firefox所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)