How to enable zero conf for my iOS / Android app linked to a raspberry pi

view full story

http://serverfault.com – I need an application on iOS and Android that communicates with webservices running on a raspberry-pi (debian linux powered computer). The application are running well but I would like that the installation steps do not require the user to know the server's ip address. I think I have to start by installing Avahi (http://wiki.debian.org/ZeroConf) on the server but I don't know what to do in order to include the detection of my and to link it with the app. I hope my request is understandable enough to get some help. Regards, Xavier (HowTos)