iapp使用QQ内置浏览器打开网站代码

iapp使用QQ内置浏览器打开网站代码!

*注意:*网站地址只允许是腾讯的网站地址!
iapp代码如下:

s wzdz="腾讯网页链接"
java(bytes,wzdz,"String.getBytes","String","utf-8")
java(bytes2,null,"android.util.Base64.encode","byte[]",bytes,"int",2)
javanew(str,"String","byte[]",bytes2,"String","utf-8")
ss("mqqapi://forward/url?plg_auth=1&url_prefix="+str,uri)
syso(uri)
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",uri)
uit(a, "chooser", "QQ")

你可能感兴趣的:(笔记)