I am building an Android application to go with my company's server. The server is for the enterprise and resides in the customer internal network. Each customer has obviously a different IP address assigned to the server. This is an off the shelf product, meaning we don't build it per customer. The client need the server IP in order to connect and start working.
Currently the client ask the user for the server IP, but the users usually don't know it.
I am looking for an easy way to be able to configure the client with a different server IP address per costumer.
We are deploying the client from the costumer internal web server (no market). Is there a way for the client to know where was it downloaded from? than i can use this IP? Is there a way for the client to know the apk name that was used to start the installation process? than i can rename the apk name to include the server IP.
Any other suggestions?