<\/HEAD>
Omdat je deze methode moet gebruiken.<\/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> Ik heb het project als openbaar ingesteld, maar ik moet elke keer dat ik het programma sluit inloggen op het account om de navigatie te kunnen gebruiken, wat erg vervelend is. Hoe kan ik de interface annuleren, overschakelen naar accountlogin en toch de navigatie blijven gebruiken?<\/P><\/BODY><\/HTML>