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.