以下代碼是利用QQ瀏覽器打開百度網(wǎng)頁:
s qqpay="http://baidu.com"
sit(a,"action", "android.intent.action.VIEW")
sit(a, "classname", "com.tencent.mtt", "com.tencent.mtt.MainActivity")
sit(a,"data",qqpay)
uit(a, "chooser", "QQ瀏覽器打開")
以下代碼是利用QQ瀏覽器打開百度網(wǎng)頁:
s qqpay="http://baidu.com"
sit(a,"action", "android.intent.action.VIEW")
sit(a, "classname", "com.tencent.mtt", "com.tencent.mtt.MainActivity")
sit(a,"data",qqpay)
uit(a, "chooser", "QQ瀏覽器打開")