The <auto_save: "true"> parameter cancels <action_after:"audio">

Vyacheslav Rotko shared this idea 5 hours ago
Gathering feedback

Problem statement: I'm riding a bike along a bad forest road with holes, puddles, tree roots and rocks. It's hard to take your hands off the steering wheel. It is necessary to constantly take notes on the track.
Expected result: I press the remote control button - the tasker sends the intent Locus - The Locus records my voice and saves it to the point of the track.

I can't get a result.
It turns out either to record a voice without saving a point (A1) or to record a point without saving a voice (A2).

I propose such a revision:
<auto_save: "true(7)"> - where 7 is the time in seconds for voice recording, after which the point will be saved.

But it would be ideal for the voice to be recorded (through the headset) even if the phone is with the screen off (in winter in a warm clothes pocket in the cold).

P.S.

Statement of the problem (including about the warm pocket)I didn't make it up, that's how I ride a bike. :-)


Task: POI Add By Voice
A1: Send Intent [
Action: com.asamm.locus.ACTION_TASK
Cat: None
Extra: tasks: { track_record
: { action: "add_wpt", auto_save: "true", action_after:"audio"} }
Target: Broadcast Receiver ]

A2: Send Intent [
Action: com.asamm.locus.ACTION_TASK
Cat: None
Extra: tasks: { track_record
: { action: "add_wpt", auto_save: "false", action_after:"audio"} }
Target: Broadcast Receiver ]

Leave a Comment
 
Attach a file