Widget |
Widget selection |
App settings |
This Widget and app started as a proof-of-concept how to create such a widget with Appcelerator Titanium! It is not a final app (yet) π It works but it can be improved!
The widget is a basic Android Home widget that will read Ti.App.Properties and writes them into XML fields. The app will run a foreground service (the icon in the top left corner) and collects data every 30mins. This data is forwarded to the widget.
You can install it from here:
Scan the QR code or go to the release section. Then click on the latest release and download the APK (under assets)
There are still some bugs and features that could be implemented:
The App is created with Appcelerator Titanium. In order to build the app you will need to install the toolchain first. Have a look at my installation tutorial from From zero to app.
go to the widget/android/
folder and run
ti build -p android --build-only
go to the app/
folder and run
ti build -p android
Android only! For iOS you can use Scriptable with https://gist.github.com/kevinkub/46caebfebc7e26be63403a7f0587f664 by @kevinkub (https://github.com/kevinkub)