mercury0x000d
The ultra-modern operator
Hello, all!
Yesterday I picked up an Avant to replace my old ZTE Warp, and straightway (after TWRPing and rooting, of course) began porting all the stuff I made for the former phone to the latter.
BittyBright is the first item on that list - a super small script which you can use to control your camera flash using your favorite script running app. Personally I use RootBrowser, but Script Manager has works too. Its operation is simple; just run it once to turn the flashlight on, then run it again to turn it back off. If you would rather the torch not be so bright, that can be easily changed within the script; its intensity is represented by the value of the by the torchLevel variable which lies on a scale from 0 (off) to 255 (full on).
This is tested and working on my MPCS Avant, but as always, your mileage may vary. If you encounter any issues, don't hesitate to let me know by leaving a comment or question here.
Download link:
BittyBright for the Samsung Galaxy Avant v1.0
Yesterday I picked up an Avant to replace my old ZTE Warp, and straightway (after TWRPing and rooting, of course) began porting all the stuff I made for the former phone to the latter.
BittyBright is the first item on that list - a super small script which you can use to control your camera flash using your favorite script running app. Personally I use RootBrowser, but Script Manager has works too. Its operation is simple; just run it once to turn the flashlight on, then run it again to turn it back off. If you would rather the torch not be so bright, that can be easily changed within the script; its intensity is represented by the value of the by the torchLevel variable which lies on a scale from 0 (off) to 255 (full on).
This is tested and working on my MPCS Avant, but as always, your mileage may vary. If you encounter any issues, don't hesitate to let me know by leaving a comment or question here.
Download link:
BittyBright for the Samsung Galaxy Avant v1.0
Last edited: