2 - Getting Events Within a Time Window

Since it most likely does not make sense to navigate to a meeting that happens 12 hours from now, we need to modify our query only to those meetings within a preconfigured time frame. For that, we will need to create a variable in Tasker, call it %timediff and set it to, let's say 2 hours. Now our query will look something like this:

3 - Display List of Matched Meetings

Once we get our resulting meeting set, we need to present it to the user. Luckily Tasker makes it very easy with notion of scenes. There is one scene element in particular that makes this task very trivial. It is called Menu. Here are steps to get you up and running:

Create a new scene

Add a Text Field for use as a title bar

Add a Menu Element and configure it:

Source: Variable Array

Variable: %CAL_EVENTS

Selection Mode: Single

Optionally, modify Item Layout

Under Item Tap, add a new action: Destroy Scene

Arrange your scene elements so that it looks like a dialog box: Title bar on top and menu list on the bottom

4 - Start Navigation via Intent

Now the final piece of the puzzle: sending intent to navigation software to start routing to the location of the meeting.

For this tutorial, I am going to focus on 2 programs: Google Navigator and Waze.