when I connect to my server I display it's address in the java code like that :
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://192.168.1.13/spotnshare/syncAddress.php");
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
HttpResponse response = httpclient.execute(httppost);
But we told me that having the IP address in the code wasn't correct and that I should put it in a config file as an alias I guess.
Does anyone know about that ?