I'm learning Android and I'm trying to connect to Twitter and upload a photo in Android. How can I do this?
Asked
Active
Viewed 1,853 times
3
-
Stack Overflow is a programming site :) Try http://superuser.com/ – Sphvn Apr 29 '10 at 06:43
-
2I think he want to do this with code. And then this is the right page. But the questions is very very broad and hard to answer in an easy way. – Janusz Apr 29 '10 at 06:48
-
2Twitter doesn't support photos by itself, so you will need to use another place to upload the photos such as twitpic. Or you can just start an intent to another twitter program, such as twitroid which can do the complicated twitter stuff for you. – stealthcopter Apr 29 '10 at 09:11
-
possible duplicate of [twitter integration on android app](http://stackoverflow.com/questions/1782743/twitter-integration-on-android-app) – Bo Persson Jun 10 '12 at 21:56
1 Answers
2
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.
-
Thanks for the information, is any sample code to using java twitter api? – Surekha Apr 29 '10 at 07:00