You need to sign in to do that
Don't have an account?
Change login URL
I am using the mobile SDK for Android and want to use our new login page hosted on cloudforce.com (using the new Trialforce branding). It looks like I need to do something to somehow override the 'getLoginUrl' method of theLoginActivity.java class. I am using the Hybrid application template that Salesforce supplies in their SDK.
I'm not really an Android developer so I'm not sure how to do this. I built the following class in the same folder that the VFConnectorApp.java class resides in (because that seems to do a similar override), but that didn't seem to change anything. How can I get my application to start using this new class?
public class LoginActivity extends com.salesforce.androidsdk.ui.LoginActivity {
/**
* Override this method to customize the login url.
* @return login url
*/
@Override
protected String getLoginUrl() {
return "https://sitename.cloudforce.com";
}
}