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!
- 📱 Appcelerator Titanum app (app folder)
- 📱 Appcelerator Titanum Android Widget (widget folder)
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)
- download APK
- install APK
- add the Widget to your home screen
- start the app
- set places and press "Force update"
There are still some bugs and features that could be implemented:
- if the icon is gone you have to restart the app to get new updates. Sometimes the system will kill the background process
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)
- RKI data: https://npgeo-corona-npgeo-de.hub.arcgis.com
- Vaccination data: https://rki-vaccination-data.vercel.app/
- Michael Gangolf (https://migaweb.de)