Android 中调用 其他 app 的 url 协议

阅读更多
//				var url:String = "intent:#Intent;" +
//					"action=android.intent.action.VIEW;" +
//					"category=android.intent.category.BROWSABLE;" +
//					"launchFlags=0x10000000;" +
//					"component=com.android.browse/com.android.browser.BrowserActivity;" +
//					"end";
//				
//				var url:String = ("intent:#Intent;" +
//					"action=android.intent.action.MAIN;" +
//					"category=android.intent.category.LAUNCHER;" +
//					"component=com.android.settings/.Settings;" +
//					"end");

				var addr:String = "http://www.baidu.com";
				
				//com.tencent.mtt  com.tencent.mtt.MainActivity
				//com.android.browser com.android.browser.BrowserActivity
				
//				var browser:String = "component=com.tencent.mtt/com.tencent.mtt.MainActivity;"
//				var browser:String = "component=com.uc.browser/com.uc.browser.ActivityUpdate;"
//				var browser:String = "component=com.opera.mini.android/com.opera.mini.android.Browser";
				var browser:String = "component=com.android.browser/com.android.browser.BrowserActivity;"
				
				var url:String = ("intent:" + addr + "#Intent;" +
					"action=android.intent.action.VIEW;" +
					"category=android.intent.category.BROWSABLE;" +
					browser +
					"end");

 

你可能感兴趣的:(Android 中调用 其他 app 的 url 协议)