Tasker Integration: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 5: Line 5:
Memento Database supports integration with the applications '''Tasker''' and '''Locale'''. Tasker is an application for Android which performs tasks (sets of actions) based on contexts (application, time, date, location, event, gesture) in user-defined profiles or in clickable or timer-driven home screen widgets.
Memento Database supports integration with the applications '''Tasker''' and '''Locale'''. Tasker is an application for Android which performs tasks (sets of actions) based on contexts (application, time, date, location, event, gesture) in user-defined profiles or in clickable or timer-driven home screen widgets.


You can create / edit Memento entries in response to specific events or changes in device status. For example, you can automatically save to libraries incoming SMS messages, information about calls, location history, and more.
You can create/edit Memento entries in response to specific events or changes in device status. For example, you can automatically save to libraries incoming SMS messages, information about calls, location history, and more.


== Creating an entry ==
== Creating an entry ==
# You should have a library into which you plan to insert the events from Tasker.
# You should have a library into which you plan to insert the events from Tasker.
# Go to Tasker and open the dialog for creating a new task.
# Go to Tasker and open the dialog for creating a new task.
# Select Plugin>Memento Database.
# Select Plugin > Memento Database.
# Select Configuration, and then select the library.
# Select Configuration, and then select the library.
# Add the values you want to enter in the fields of the new entry using variables from Tasker: http://tasker.dinglisch.net/userguide/en/variables.html
# Add the values you want to enter in the fields of the new entry using variables from Tasker: http://tasker.dinglisch.net/userguide/en/variables.html
Line 20: Line 20:


All values coming into Memento, including key field values, must have the same format as for import of a CSV file.
All values coming into Memento, including key field values, must have the same format as for import of a CSV file.
== Events ==
Memento can serve as the source of these events for Tasker: creation, modification, and removal of the entry. While processing these events, Tasker can access the values of fields in the entry as variables of type %field_name.
Steps to create an event:
# Start Tasker and open the dialogue Create New Event
# Select Plugin > Memento Database and the appropriate type of event
# Select Configuration and then the library
Events are generated only when the operations on the entries are done through the Memento front end. Events are not generated if the entries are changed via synchronization.
[[Category:How]]