11-17 15: 04: 15,477: ERREUR/AndroidRuntime (3411): gestionnaire Uncaught: thread principal sortie en raison d'une exception non interceptée 11-17 15: 04: 15,507: eRREUR/AndroidRuntime (3411): com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException:oauth.signpost.exception.OAuthCommunicationException: Communication avec le fournisseur de services a échoué: htts: ///api.linkedin.com/uas/oauth/requestToken 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): sur com.goo gle.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken (LinkedInOAuthServiceImpl.java:146) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): at com.ceosoft.alumlife.util.LinkedInAuthenticateHelper.getRequestToken (LinkedInAuthenticateHelper.java:66) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): à l'adresse com.ceosoft.alumlife.util.LinkedInAuthenticateHelper.authenticateApp (LinkedInAuthenticateHelper.java:53) 11-17 15:04: 15,507: eRREUR/AndroidRuntime (3411): à ..... .... 11-17 15: 04: 15,507: eRREUR/AndroidRuntime (3411): Causée par: oauth.signpost.exception.OAuthCommunicationException : La communication avec le fournisseur de services a échoué: htts: ///api.linkedin.com/uas/oauth/requestToken 11-17 15: 04: 15,507: ERROR/AndroidRuntime (3411): à oauth.signpost.AbstractOAuthProvider.retrieveToken (AbstractOAuthProvider.java:214) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): à oauth.signpost.AbstractOAuthProvider.retrieveRequestToken (AbstractOAuthProvider.java:69) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): à l'adresse com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken (LinkedInOAuthServiceImpl .java: 138) 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): ... 25 plus 11-17 15: 04: 15.507: ERROR/AndroidRuntime (3411): Causée par: java .io.FileNotFoundException: https: /.// api.linkedin.com/uas/oauth/requestToken 11-17 15: 04: 15.507: ERREUR/Android Runtime (3411): à org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection. .... ....Mon téléphone (htc OS2.1 une traînée de poudre g8) pas en charge LinkedIn
Mon code comme suit: privé LinkedInRequestToken getRequestToken() {
Log.d (TAG, "api_key =" + oauth_consumer_key); Log.d (TAG, "SECRET_KEY =" + OAUTH_CONSUMER_SECRET);
mOauthService = LinkedInOAuthServiceFactory.getInstance(). CreateLinkedInOAuthService (OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET); Log.d (TAG, "mOauthService = LinkedInOAuthServiceFactory.getInstance()"); requestToken = mOauthService.getOAuthRequestToken (CALLBACK_URL); // cette ligne se produit erreur Log.d (TAG, "LinkedInRequestToken requestToken = mOauthService"); demande de retourToken;
}
Je n'ai pas pouvoir mettre plus d'un lien hypertexte à ici. Alors, je suis désolé!
Note: "HTTS" cela signifie https
"///" est "//"
htts: ///api.linkedin.com/uas/oauth/requestToken. ne devrait-il pas être http: // ou https: // – techiServices
Je suis vraiment désolé pour vous. Je pose des questions sur ce site web en tant qu'invité. –