java(dc,activity,"android.content.Context.getSystemService","String","batterymanager")
java(dl,dc,"android.os.BatteryManager.getIntProperty","int",4)
ss("当前电量:"+dl+"%",dl)
tw(dl)
java(dc,activity,"android.content.Context.getSystemService","String","batterymanager")
java(dl,dc,"android.os.BatteryManager.getIntProperty","int",4)
ss("当前电量:"+dl+"%",dl)
tw(dl)
本文标题:iApp采用java代码获取当前电量信息
本文链接:https://www.haomeiwen.com/subject/qkzvzktx.html
网友评论