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


my twitter android app clent base means window base,i using twitter 4j otweet.com my application.i stored auth token through shared prefrence.i getting error in logcat..that is.. twitter4j.twitterexception: read error: failure in ssl library, protocol error.

and 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 following link

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


Comments