Changing the default account login method



  • I’m wanting to modify DAVx5 so that “Login by URL” is selected by default. In LoginActivity.kt, I see the following block:

    /**
    * When set, "login by URL" will be activated by default, and the URL field will be set to this value.
    * When not set, "login by email" will be activated by default.
    */
    const val EXTRA_URL = "url"
    

    However, I can’t figure out how to use this parameter so that the “Login by URL” option is selected when adding a new account. What am I missing?

    (Note: I’m a complete n00b when it comes to Android development, but I am a PHP developer. So, talk stupid to me when it comes to Android and Java, but I’m not completely code-illiterate, either 🙂 ).



  • Bump - any thoughts?


Log in to reply
 

Similar topics