Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'd like to send a DM automatically from Llama. Llama supports Intents, but I can't work out how to send a tweet via an Intent in the background. Is this possible?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It's unlikely that any Twitter app offers a way to do this. In general, intents are used to start an action that requires user interaction to complete, or at the very least ask you for confirmation.

If an app offered a way to send a tweet automatically via an intent, it would also have to require the app sending the intent (Llama in this case) to have a permission created by the app handling the intent (the Twitter app). Otherwise, any app on the phone could send tweets without your knowledge or permission. Llama would have to be written to ask for this permission, and since it isn't, it wouldn't be allowed to send the intent anyway.

Alternatively, it would be possible for the Twitter app to offer such an intent, but ignore the intent unless it was sent by Llama (or better yet, using a configurable list of allowed apps). This is how many apps' Tasker integrations work. Since this is a pretty niche need, I don't know whether you'd be able to find an app that works this way. You might find that there's an app written this way specifically to act as a Llama plugin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.