Skip to content

m1ga/ti.coronawidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😷 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)
  • download APK
  • install APK
  • add the Widget to your home screen
  • start the app
  • set places and press "Force update"

Known issues

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

🛠 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