A small and stable widget for Android.
The target was to create a small, stable, and simple widget for the android homescreen, since most of the popular apps are bigger than they need to be, include ads, or require sketchy permissions.
The code is commented and optimized to the best of my knowledge and can be used for your own flashlight implementations. This is a minimal example with which I tried to make it as simple as possible.
This project uses a BroadcastReceiver / AppWidgetProvider and a service to perform its task.