There’s nice app on Android called Tasker. It allows you to automate everything on your phone, e.g:
- pause music playback while in particular application;
- change all your home icons and wallpaper every day, or in particular locations. aTimeLogger for Android is integrated with it. You can do different actions with activity types
Let’s see how it works step by step.
- Start tasker and go to tasks tab
- Press ‘+’ and enter task name
- On ‘Task Edit’ screen press on ‘+’, go to ‘Plugin’ and select ‘aTimeLogger’
- Go to configuration edit (edit icon on the right) – aTimeLogger edit screen will appear. Select activity type, action and comment (optional) and save.
Let’s say we have action ‘Stop running and start activity’ for ‘Music’ type. You can create profile that will start the action when you start listening to music.
The following actions are available:
- Stop running and start activity iterates through paused/running activities, if activity of selected type is not running it stops other running/paused and starts the activity
- Pause running and start activity iterates through paused/running activities, if activity of selected type is not running it pauses other running and starts the activity
- Start iterates through paused/running activities, if activity of selected type is not running it starts the activity. Please note that in this case other running activities continue to run
- Start or resume is the same as ‘Start’ but if activity of selected type is paused it will resume it
- Stop iterates through paused/running activities and stops activity of selected type
- Pause iterates through running activities and pauses activity of selected type
Comment field support variables. If the comment you entered in aTimeLogger plugin configuration includes variable it will be automatically replaced with variable value if it exists.
For example you want your music activity to include track name. Tasker has built in variable %MTRACK. If comment value in plugin configuration is ‘Listening to %MTRACK’ then if you start listening to Beethoven’s Symphony 9 activity with comment ‘Listening to Beethoven – Symphony 9’ will be created