Sumant
Sumant

Reputation: 2795

How i should integrate twitter in my app?

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

Answers (3)

VISHNU GARG
VISHNU GARG

Reputation: 90

You can easily integrate Twitter in your android application .

  1. I have use this sample for Twitter integration in android application.
  2. This sample contains all the steps required to integrate Twitter in android application

Upvotes: 0

Robby Pond
Robby Pond

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

Mojo Risin
Mojo Risin

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

Related Questions