<\/HEAD>
Parce que vous devez utiliser cette méthode.<\/P>
private void <\/SPAN>setupOAuthManager() {
String clientId = getResources().getString(R.string.client_id<\/SPAN>);
String redirectUrl = getResources().getString(R.string.redirect_uri<\/SPAN>);
try <\/SPAN>{
OAuthConfiguration oAuthConfiguration = new <\/SPAN>OAuthConfiguration("https:\/\/www.arcgis.com"<\/SPAN>, clientId, redirectUrl);
DefaultAuthenticationChallengeHandler authenticationChallengeHandler = new <\/SPAN>DefaultAuthenticationChallengeHandler(this<\/SPAN>);
AuthenticationManager.setAuthenticationChallengeHandler<\/SPAN>(authenticationChallengeHandler);
AuthenticationManager.addOAuthConfiguration<\/SPAN>(oAuthConfiguration);
} catch <\/SPAN>(MalformedURLException e) {
showError(e.getMessage());
}
}<\/PRE> J'ai défini le projet comme public, mais je dois me connecter au compte à chaque fois que je ferme le programme pour pouvoir utiliser la navigation, ce qui est très gênant. Comment annuler l'interface, passer à la connexion du compte et continuer à utiliser la navigation ?<\/P><\/BODY><\/HTML>