Minimalist Flashlight

Small and stable widget for android toggling the flash on/off.

View the Project on GitHub bleeding182/minimalist-flashlight

Get it on Google Play

Flashlight Widget for Android

Circle CI

A small and stable widget for Android.

Donate

Introduction

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.

Materials and Method

This project uses a BroadcastReceiver / AppWidgetProvider and a service to perform its task.