分享几个裕语言iApp代码
2018-05-13 13:26:08 -0400
s pay="wtloginmqq://ptlogin/qlogin?p=https%3A%2F%2Fssl.ptlogin2.qq.com%2Fjump%3Fu1%3Dhttps%253A%252F%252Fh5.qzone.qq.com%252Ffriend%252Fday%252F1075625244%252F842057415%252FfriendDay%253F_wv%253D3%2526_proxy%253D1%26pt_report%3D1%26daid%3D5%26style%3D9%26pt_ua%3DECACE63108CCDA25941C048B5096B963%26pt_browser%3DChrome&schemacallback=googlechrome%3A%2F%2F"
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",pay)
uit(a, "chooser", "唤起手机qq登录")
ss("mqqwpa://im/chat?chat_type=wpa&version=1&uin=1075625244" ,url)
sit(a, "action", "android.intent.action.VIEW")
sit(a, "data", url)
uit(a, "chooser", "临时会话")
ss("mqqapi://card/show_pslcard?src_type=internal&source=sharecard&version=1&uin=1075625244",url)
sit(a,"action","android.intent.action.VIEW")
sit(a, "data", url)
uit(a, "chooser", "跳转名片")
ss("mqqapi://card/show_pslcard?src_type=internal&version=1&card_type=group&source=qrcode&uin=135375183",urlqun)
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",urlqun)
uit(a, "chooser", "QQ群")
f(st_kC==4)
{
f(sss.exit==null)
{
sss exit=0
tw("再按一次退出应用!",0)
t()
{
stop(2000)
sss exit=null
}
}
else
{
ends()
}
}
sit(a, "action", "android.intent.action.SEND")
sit(a, "type", "image/jpeg")
sit(a,"classname","com.tencent.mobileqq", "com.tencent.mobileqq.activity.JumpActivity")
sit(a, "extra", "android.intent.extra.STREAM","/sdcard/lunbo.png")
uit(a, "chooser", "分享图片")
sit(a, "action", "android.intent.action.SEND")
sit(a, "type", "image/jpeg")
sit(a,"classname","com.tencent.mobileqq", "cooperation.qqfav.widget.QfavJumpActivity")
sit(a, "extra", "android.intent.extra.STREAM","/sdcard/lunbo.png")
uit(a, "chooser", "收藏图片")
sit(a, "action", "android.intent.action.SEND")
sit(a,"classname","com.tencent.mm","com.tencent.mm.ui.tools.ShareImgUI")
sit(a, "extra", "android.intent.extra.TEXT", "关注潇洒浪子")
uit(a, "chooser", "分享朋友")
sit(a, "action", "android.intent.action.SEND")
sit(a,"classname","com.tencent.mm","com.tencent.mm.ui.tools.ShareToTimeLineUI")
sit(a, "extra", "android.intent.extra.TEXT", "关注潇洒浪子")
uit(a, "chooser", "分享朋友圈")
width=-2
height=-2
textsize=40sp
textcolor=#ff00be91
layout_gravity=center
text=潇洒浪子
shadowcolor=#ffff00ef
shadowradius=10
shadowdx=10
shadowdy=10
shadowcolor:阴影的颜色
shadowdx:水平方向上的偏移量
shadowdy:垂直方向上的偏移量
shadowradius:是阴影的的半径大小
width=100dp
height=-2
text=i love iApp this my xiaxia
marqueerepeatlimit=marquee_forever
ellipsize=marquee
scrollhorizontally=true
focusableintouchmode=true
focusable=true
注意文字长度要超过控件的宽度,才能显示跑马效果,另外如果文字过长要显示省略号可以设置下面的属性:
ellipsize=start 省略号在开头
ellipsize=middle 省略号在中间
ellipsize=end 省略号在结尾
s qqpay="mqqapi://forward/url?url_prefix=aHR0cHM6Ly90aS5xcS5jb20vcXFtZWRhbDIvaW5kZXguaHRtbD9fd3Y9NTM2ODcwOTEzJl93d3Y9NCZfYmlkPTI0NTAmX25hdl9hbHBoYT0wJl9uYXZfdHh0Y2xyPWZmZmZmZiZfbmF2X3RpdGxlY2xyPWZmZmZmZiZfbmF2X2FuaW09dHJ1ZSZuZXdfbWVkYWxzPSZyYW5rc2hhcmU9JnR1aW49JnVwZGF0ZV9tZWRhbHM9JmZyb21fd2ViPTY=&version=1&src_type=web"
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",qqpay)
uit(a, "chooser", "QQ访问")
//唤起QQ勋章墙以后点QQ身份证就行了
sit(a, "action","android.intent.action.CALL")
sit(a, "data", "tel:10086")
uit(a, "chooser", "直接拨号")
//以上为直接拨打电话代码
sit(a, "action","android.intent.action.SENDTO")
sit(a,"type","vnd.android-dir/mms-sms")
sit(a, "data", "smsto:10086")
sit(a,"extra","sms_body","hello world!")
uit(a, "chooser", "发短信")
//以上为发短信代码(防止某些小学生恶意发短信,所以就不分享直接发短信代码了!)
s qqpay="mqqapi://forward/url?url_prefix=aHR0cDovL2kucWlhbmJhby5xcS5jb20vYWN0L3dhbGxldC8yMDE3MDMvZnJpZGF5L2luZGV4Lmh0bWw/X3d2PTEmX3d3dj00JnB2c3JjPTEwMQ==&version=1&src_type=web"
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",qqpay)
uit(a, "chooser", "QQ访问")
//怎么换成你的链接呢?把上面qqpay的内容里的链接里的base64位编码换了
s pay="mqqwpa://im/chat?chat_type=crm&uin=4008205555&version=1&src_type=web&web_src=http:://wpa.b.qq.com"
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",pay)
uit(a, "chooser", "QQ公众号")
s qqpay="mqqapi://forward/url?url_prefix=aHR0cHM6Ly9pLnFpYW5iYW8ucXEuY29tL3dhbGxldC9yZWNoYXJnZS9kaXN0L20vaW5kZXhfdjQuaHRtbD9fd3Y9MTAzMSZzb3VyY2U9c25nXzEwODgwMSZwdnNyYz0xMTImcGF5Q2hhbm5lbD13YWxsZXRfaWNvbiZfdmFjZj1xdw==&version=1&src_type=web"
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",qqpay)
uit(a, "chooser", "QQ支付")
s qqpay="mqqapi://forward/url?url_prefix=aHR0cDovL2FkbWluLnF1bi5xcS5jb20vbWNyZWF0ZXYzL2luZGV4Lmh0bWw/X2JpZD0yMDYmdmVyPTEmY2xpZW50dmVyc2lvbj02LjcuMSZmcm9tbG9jYXRpb249MCZfd3Y9MjA5NzE1Mgo=&version=1&src_type=web"
sit(a,"action", "android.intent.action.VIEW")
sit(a,"data",qqpay)
uit(a, "chooser", "QQ群")
sit(a, "action","android.intent.action.VIEW")
sit(a,"data","market://details?id=com.iapp.app")
uit(a, "chooser", "开始评分")
需要更多代码的小伙伴可以加入QQ群
705039659
----Comments(1)----
易 at 2018-05-20 15:12:
支持
Back to home
Subscribe |
Register |
Login
| N