Hey Love2d community! I'm just wondering, that could I make a simple flashlight app for android, but I have no idea, how to do the most critical part of actually turning the flashlight on? Like for android I'd make it something like: Press the screen to toggle on/off flashlight. I think it could be pretty dang simple but the turning on flashlight is just bothering me. I dont believe that that kind of functionality has been built-in to Löve, but maybe there is a Lua way to go.
-Sanyeri
Simple flashlight app
Re: Simple flashlight app
No there isn't anything of the sort. You can try your luck with FFI, hook up to Android OS and call system function to activate the flashlight.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests