Posting images to Twitter

I’ve seen the Twitter post functionality for iOS and it works great. It’s easy to use and easy to implement. Is there a way to post images to Twitter using the same easy to use approach?

Also, is there a way to detect when a player is on iOS or Android?

The second part is very easy. Just use:

system.getInfo("platformName") 

This wil return one of these 4 names:

“Mac OS X”

“Win”

“iPhone OS”

“Android”

Obviously when you are on the simulator you will get either “Mac OS X” or “Win” regardless of which skin you are using.

Cant help with the Twitter question though I’m afraid.

The second part is very easy. Just use:

system.getInfo("platformName") 

This wil return one of these 4 names:

“Mac OS X”

“Win”

“iPhone OS”

“Android”

Obviously when you are on the simulator you will get either “Mac OS X” or “Win” regardless of which skin you are using.

Cant help with the Twitter question though I’m afraid.