battarang-notifier-android
battarang-notifier-android copied to clipboard
Get notified on another device when your android's battery is low or full
Battarang Notifier for Android
đđ Sync battery notifications across devices đĒĢđ
Setup
- Download the latest APK from GitHub Releases or consider purchasing it from the Play Store for automatic updates and to support development.
- Install the app on your sender device (or multiple devices).
- To Pair it with a receiver device or Telegram, visit battarang.anissan.com from another device and follow the instructions.
[!TIP]
Sam Beckman created an awesome review and setup tutorial for Battarang on YouTube
Architecture
The architecture of this project may seem unfamiliar to a seasoned Android developer because I came up with an architecture that is tailored to the features of this project. I took a web dev approach rather than over-engineering a Google scale solution where it feels counter-productive.
Essentially the source of truth is SharedPref KV storage and, the Views get updated by observing the changes. It's kind of like a poor man's reactive system.
I've also heavily used Kotlin Extension Functions rather than Classes to help with the composition to minimize the changes to a few places as possible.
Build
- Copy the properties from local.example.properties
to
local.properties
and provide the values -
đ¨ Make Project
orâļī¸ Run
the app
Information
Author: Nissan Ahmed (@ni554n)
Donate: PayPal
License
This project intentionally has no license so the default copyright laws apply, which means I retain all rights to the source code and the graphical assets. No one may reproduce, distribute, or create derivative works from this work without my permission.
However you are free to view, contribute, and copy parts of the code into your own project without attribution. You are just not allowed to repackage and redistribute the entire app.