Minimalistic Text Android Widget

This is just a quick update on a widget I made for my own use using

Minimalistic Text

Tasker

Google Maps Directions API

The time, day of week, and weather information are all built into the Minimialistic Text program. Transit information was a little bit more complex.
screenshot_20161026-215751minimalistic-text-widg

The Transit information circled is two API calls to the Google maps directions API through Tasker, one for my trip to from the train station to my work bus stop and one for my trip home. They run every 5 minutes and extract out variables including the bus number, the time of departure, the train name and it’s time of departure, the length of the trip and the time when I will arrive home from the XML response to the API call.

Tasker pulls the full result from train station to work bus stop, and caches it in a variable. I then use tasker to pull each variable out of the XML results cached in the full variable.

Then, using Tasker, I format the variables into a easy-to-read (for me) one glance information screen with emoji’s to indicate bus trips, train trips, total time and icons for home and work.

Some of the additional features I’ve built into this include

  1. A widget that speaks my commute when pressed.
  2. A popup that lists out departure times for my commute
  3. I added the api call and variable update feature for this widget into my 5 minute data widget  which turns my data plan on for 5 minutes.

What I end up with is a very simple, one-glance tool that gives me all the information I need to know for my commute.

Advertisements