Open Twitter for mobile

Monkey Forums/Monkey Code/Open Twitter for mobile

AdamRedwoods(Posted 2013) [#1]
"Launch twitter from monkey on mobile"

see below, thanks Nobuyuki!


AdamRedwoods(Posted 2013) [#2]
wow, some days i can be really dense. updated code to work.


Nobuyuki(Posted 2013) [#3]
Edit: I've updated the code to support hashtags. The original code eats hashtags, even when they're URI-encoded, so if you want to add hashtags to your tweets, check it out.

Here's a version that uses a native extern, but has simpler usage:

On the Monkey side:


On the Java side (dotweet.java):



Usage:
DoTweet.LaunchTwitter("nobuyukinyuu", "I'm tweeting automatically using an Android Intent.", "yes,android")



Supertino(Posted 2013) [#4]
super handy thanks.


Nobuyuki(Posted 2013) [#5]
I've updated the code to support hashtags. See the above post.


Spinal(Posted 2013) [#6]
Game.monkey<102> : Error : Syntax error - expecting declaration.


;(