<\/HEAD>
Weil Sie diese Methode verwenden müssen.<\/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> Ich habe das Projekt als öffentlich eingestellt, aber ich muss mich jedes Mal anmelden, wenn ich das Programm schließe, um die Navigation nutzen zu können, was sehr umständlich ist. Wie kann ich die Schnittstelle abbrechen, zur Kontoanmeldung springen und trotzdem die Navigation verwenden?<\/P><\/BODY><\/HTML>