Skip to content

Examples

Falcosc edited this page Jun 15, 2019 · 15 revisions

Usage

These are examples for a Tasker Plugin. More about it here: Instructions

I did create some example profiles and screen for common usecases. All examples are created with Locus Pro, you may need to adjust them to use other Locus Version. Some examples may rely on device specific features. Feel free to create an issue if you have trouble with any of them.

Tasker Import

To import these examples you need to long click on the according Tasker tab. For example long click on Tasks to import a Task. Image

Examples

Remaining elevation to target as dashboard overlay

Example does only run every 2 minutes which means it will only apear 2 minutes after you did open your dashboard.

Center Map to GPS on move

This is similar to the existing feature "center Map to GPS after 5s" but only if you are moving. It does check every 5 seconds but first check start after 2 minutes.

Locus Software display lock as replacement for android display lock

If you disable android screen lock with Locus you would like to prevent unintentional touch events you need to enable locus screen lock. This Task does this for you if you turn your screen off.

Open Navigation in Google Maps

It's possible to send coordinates to other Apps, for example it's possible to start Google Maps Navigation.

Start Navigation or Guiding in Locus Map

Tasker can directly send intents to Locus Map. Here are 3 examples:

Geotagging

If you want to use Locus track database to geotag your photos you can access database file from Locus Maps main directory. I did create an example which does watch your photos folder for files which got modified during last 1 hour and geotag them if GPS coordinates are missing. It selects the nearest timestamp match and does notify an error if nearest match is over 1 hour away. To use it you need to import the following 3 files:

Be careful, to make the example less complicated it doesn't have any timezone adjustments you may get incorrect results if Locus timezone does not match your photo timestamp timezone and spaces in path or filename are maybe not working. You could add necessary adjustments to Task GeotagFile

If you have many tracks you need to create a database index with Task Improve_Geotag_Performance which will increase you database file by 10% but makes timestamp requests 20 times faster. If you have trouble with write permissions, try to activate one of the other example places for the work directory. You will find example work directories in the first steps of Improve_Geotag_Performance

There are plenty of comments in these tasks to make it easier for you to understand where to adjust them for your requirements. This geotagging profile does use direct file access which is not possible on every android version. If you want to put the watch folder on your SD card you may need to use the following folder: /[anyexternalstorage]/Android/data/net.dinglisch.android.taskerm/files/

Planed example Tasks

For many of them I did already create a task, but they need to be described before I can share them.

More posibilities to Open Navigation in Google Maps