Nextcloud custom Server URL Pre-enter on Android App

If you mean with “developing android app” that you compile the Nextcloud Android app with your company brand, then your solution can be find in this file:

If you mean that you are developing a 3rd party Android app (like Deck, Notes, News, …), then i’d recommend you to use the Single Sign On: