Open How to map an Intent in C# to Tasker SendIntent

Discussion in 'Tasker' started by himself, Jun 10, 2020.

  1. himself

    himself New Member

    Joined:
    Mar 23, 2016
    Messages:
    22
    Likes Received:
    0
    I have the following code in a C# program and am getting a little confused as to how to map it to Tasker SendIntent.

    So far, everything I have tried has failed.

    Intent intent = new Intent("com.jgssebl.RRVoiceSvc.myCommands");
    intent.PutExtra("data", "startspeaking");
    intent.PutExtra("text", text);
    intent.PutExtra("id", id);
    this.SendBroadcast(intent);

    As you can see the "PutExtra" in C# (Xamarin) is defined as having two fields, a name and the data.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Did you check the Send Intent action's help file? :) It's explained how to configure the extras there.
     
: SendIntent

Share This Page