m1ga / ti.coronawidget

Appclerator Titanium Covid-19 widget for Android
15 stars 2 forks source link
titanium-mobile

😷 Appcelerator Titanium Covid-19 widget for Android

app


Buy Me A Coke donate button

preview
Widget
preview
Widget selection
preview
App settings

πŸ“‹ Content

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.

πŸ“² How to install the app

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)

Known issues

There are still some bugs and features that could be implemented:

πŸ›  Build

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.

Widget

go to the widget/android/ folder and run ti build -p android --build-only

App

go to the app/ folder and run

ti build -p android

🚨 Attention

Android only! For iOS you can use Scriptable with https://gist.github.com/kevinkub/46caebfebc7e26be63403a7f0587f664 by @kevinkub (https://github.com/kevinkub)

Sources

Author