¡@

Home 

2014/10/16 ¤W¤È 08:17:55

android Programming Glossary: linkedinaccesstoken

Posting LinkedIn message from Android application

http://stackoverflow.com/questions/5804257/posting-linkedin-message-from-android-application

import com.google.code.linkedinapi.client.LinkedInApiClientFactory import com.google.code.linkedinapi.client.oauth.LinkedInAccessToken import com.google.code.linkedinapi.client.oauth.LinkedInOAuthService import com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceFactory.. pref.getString PREF_TOKENSECRET null if token null tokenSecret null startAutheniticate else showCurrentUser new LinkedInAccessToken token tokenSecret void startAutheniticate new AsyncTask Void Void LinkedInRequestToken @Override protected LinkedInRequestToken.. final String problem uri.getQueryParameter OAUTH_QUERY_PROBLEM if problem null new AsyncTask Void Void LinkedInAccessToken @Override protected LinkedInAccessToken doInBackground Void... params final SharedPreferences pref getSharedPreferences..