Help with Tasker received Intent

113 views
Skip to first unread message

Jaime

unread,
May 26, 2023, 10:43:20 AM5/26/23
to Tasker
Hi!

I'am trying to obtain information from an intent of the following app: Time recording. This is the official documentation about its intents:

I need to obtain a bundle(?) from this broadcast:
com.dynamicg.timerecording.GET_INFO

The thing is that I contacted the developer and they told me that the received intent is a bundle and I need to parse the fields to obtain the desired one. And I don't know how to do it. I have tried to store the object in a variable called "TRinfo" with no success (see code below). The command to obtain the bundle is: "com.dynamicg.timerecording.RESULT" so I assumed that I need to input this in the "extra" field.

I have a task and two profiles to catch the Intent:

        Task: GetInfo
        A1: Send Intent [
             Action: com.dynamicg.timerecording.GET_INFO
             Cat: None
             Extra: TRinfo:com.dynamicg.timerecording.RESULT
             Target: Broadcast Receiver ]

Event: Intent Received [ Action:com.dynamicg.timerecording.GET_INFO Cat:None Cat:None Scheme:* Mime Type:* ]

[X] Flash [
 Text: %TRinfo
 Continue Task Immediately: On
 Dismiss On Click: On ]

The event is working because I tasker flashes a notification, but it only shows "TRinfo"

Anybody can give me a hand to obtain all the variables contained in this bundle?

Thank you!
Reply all
Reply to author
Forward
0 new messages