Reputation: 2795
I want to integrate twitter in my android app.
I have used twitter4j,jtwitter but i think i might went wrong somewhere.
If anyone is having the sample demo created by them then plz upload it.
thnx 4 any help....
Upvotes: 0
Views: 1341
Reputation: 90
You can easily integrate Twitter in your android application .
Upvotes: 0
Reputation: 73484
You can do something like this to add a share functionality to your app.
final Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_TEXT, "something to share");
startActivity(Intent.createChooser(intent, "Share"));
This will create a chooser so the user can select any Activity that can handle the Intent.ACTION_SEND intent. This includes the sms app, gmail, facebook, twitter, etc.
Upvotes: 1
Reputation: 8142
I think the best way to implement it will be to use intent. http://labs.emich.be/2010/01/23/how-to-send-to-twitter-or-facebook-from-your-android-application/ which will work if you have installed the twitter client on you phone but you wont bother with login, auth etc.
Upvotes: 2