views:

243

answers:

2

I'm learning Android and I'm trying to connect to Twitter and upload a photo in Android. How can I do this?

+1  A: 

This question gives you a hint on how to use an Intent to start a Twitter application and use it to to post something. In this way the user don't have to give your program the twitter credentials.

If you want to connect to twitter yourself you can use one of the java twitter apis that are out there.

I hope this is a starting point. If you encounter more specific problems come back and we will be glad to answer them.

For a general howto on Android check out the hello world application and all the other tutorials on the android developer pages.

Janusz
Thanks for the information, is any sample code to using java twitter api?
Surekha
the java twitter api not working
Surekha
The link is working or what you do mean?
Janusz
A: 

Check out this application to Tweet.. http://code.google.com/p/andtweet/

and to upload pic and tweet that use http://code.google.com/p/twitpicshare/

Vishal