Skip to content

Instantly share code, notes, and snippets.

@colinfrei
Last active March 23, 2017 08:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colinfrei/8b775ccd09cc51c19b79 to your computer and use it in GitHub Desktop.
Save colinfrei/8b775ccd09cc51c19b79 to your computer and use it in GitHub Desktop.
Sending an SMS with Llama using an Android Intent

Sending an SMS with Llama using an Android Intent

As an Action, add Android intent.

Use the following settings:
Preset: Custom android intent
Intent send mode: Start Activity
Package name: empty
Class name: empty
Action: android.intent.action.VIEW (see: http://developer.android.com/reference/android/content/Intent.html#ACTION_VIEW)
Categories: empty
Data: sms: number, for example: sms:5551234
Data type: empty

Click on 'Add new extra row' and enter the following details:
Key: sms_body
Leave the type set to string
Value: the content of the SMS

This will not send an SMS automatically, but will forward you to the SMS app and prefill the values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment