I made an .apk which shows some web page (advert). Now URL of that web page is simply hard-coded.
I have several clients, who receive mine .apk. They want to set their own URL in their .apk. I don't know URLs beforehand. Client can change his URL on his own, without my knowledge nor help.
How to do it? It's important to make it user-friendly. The easier way for the client, the better. The clients have no idea about programming. They can't build and sign the .apk. Also, the easier to implement, the better.
Example:
I give .apk to a client. He sets his URL to www.clientA.com. He puts his .apk on Google Play. After some time, he changes his URL to www.anotherSiteOfClientA.com. If it is needed, he updates his .apk on Google Play.
My ideas:
XML file for the URL. The problem is that it's not easy for the client to change this XML file when it's already packed into .apk.
Another idea is a web service. But it's too much work on my side - internet connection in app, maintaining server, registering clients etc.