This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Android and the fly likes Authentication problem while integrating Twitter with Android application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Authentication problem while integrating Twitter with Android application " Watch "Authentication problem while integrating Twitter with Android application " New topic
Author

Authentication problem while integrating Twitter with Android application

rajani golakoti
Greenhorn

Joined: Apr 17, 2011
Posts: 1
Hi Guys,

I have to post a message from my android application to twitter. I was able to post message from my app to twitter. But while posting the message every time it is asking for the username and password, instead it should post directly to twitter if I logged in once. I have created the preferences file in onCreate().
prefs = this.getSharedPreferences(this.getPackageName(), this.MODE_PRIVATE);
I have written this in onResume() onStart() methods also but nothing works.
How to post the message directly from my app without asking the usename and password once I logged into twitter.
If you have any solution to resolve this issue please give me the reply.


Thanks & Regards,
Rajani Golakoti
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Spring Social, Spring Android projects have a way to integrate with Twitter from Android, and they have connectivity to OAuth for the authorization part.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authentication problem while integrating Twitter with Android application
 
Similar Threads
posting message from android app to twiitter which has adds
twitter for android
Facebook passwords are requirement for job application ???
Android sources of information - twitter / RSS / blog feeds etc?
Android In Practice - Questions