require "android" l = android.getBatteryLevel() text = "Battery Level: "..tostring(l) android.makeToast(text)
test run test run with input download show line numbers
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, kmhbujppghqa, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
2 comment(s) hidden. show
Snippet ID: | #551 |
Snippet name: | Android Battery Test (Lua) |
Eternal ID of this version: | #551/1 |
Text MD5: | 4d83ed53203cf1f1da1aeda0ac87dc52 |
Author: | stefan |
Category: | |
Type: | Lua code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-03-27 20:12:47 |
Source code size: | 114 bytes / 5 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 1263 / 216 |
Referenced in: | [show references] |