added getting of ip for android devices (TODO: Sebastian: set my_ip for android devices)