[android-developers] Re: JmDNS succeeds on simulator, fails on phone

2010-01-06 Thread jsilland
Can you post a snippet of code that demonstrates how to make jmdns
work on the emulator? Other threads on this list appear to claim that
various networking restrictions in the emulator prevent jmdns from
working properly but it seems projects have successfully used it in on
real devices. If you got the emulator to resolve a service published
on the host machine, I'd be happy to see the code =]

Cheers,
-jsi

On Dec 31 2009, 6:06 pm, SFSDCris  wrote:
> I'm attempting to use JmDNS (zeroconf / Bonjour) to resolve a local
> network hosts ip address.
>
> JmDNS succeeds on the simulator, but fails on the phone.
> The phone is an HTC Magic (from the Google I/O conference)
>
> Both are running Android 1.5
>
> Any ideas?
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: JmDNS succeeds on simulator, fails on phone

2010-01-06 Thread jsilland
Can you post a snippet of how you got it working on the emulator?
Based on other threads in this group, I'm inclined to think this is
not possible, mostly due to various networking limitations of the
emulator (http://groups.google.com/group/android-developers/
browse_thread/thread/77b45f357ff183d4/defa24b49242d44c?
hl=en&lnk=gst&q=jmdns#defa24b49242d44c). I would really like to see
some code using jmdns that can resolve a service running separately on
the development machine.

Cheers,
-jsi

On Dec 31 2009, 6:06 pm, SFSDCris  wrote:
> I'm attempting to useJmDNS(zeroconf / Bonjour) to resolve a local
> network hosts ip address.
>
> JmDNSsucceeds on the simulator, but fails on the phone.
> The phone is an HTC Magic (from the Google I/O conference)
>
> Both are running Android 1.5
>
> Any ideas?
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en