开发者

In my logout functionality is an error in Logcat in twitter android app

开发者 https://www.devze.com 2023-04-12 23:07 出处:网络
My twitter android app is clent base means window base,I am usingtwitter 4j otweet.com for my my application.I stored Auth token through shared prefrence.I am getting error in logcat..that is.. twitte

My twitter android app is clent base means window base,I am using twitter 4j otweet.com for my my application.I stored Auth token through shared prefrence.I am getting error in logcat..that is.. twitter4j.TwitterException: Read e开发者_StackOverflowrror: Failure in SSL library, usually a protocol error.

And my code is:

HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://api.otweet.com/1/account/end_session.format");
try {
       // Execute HTTP Post Request
       httpclient.execute(httppost);
  } catch (ClientProtocolException e) {
        // TODO Auto-generated catch block
  } catch (IOException e) {
        // TODO Auto-generated catch block
  }
}


Visit the following link

http://blog.doityourselfandroid.com/2011/02/13/guide-to-integrating-twitter-android-application/

0

精彩评论

暂无评论...
验证码 换一张
取 消