bonjour

Is Android NSD (Network Service Discovery) compatible with Bonjour service in iOS?

那年仲夏 提交于 2019-11-27 12:14:32
问题 I will create a server-less local networking App for iOS and Android. the App in both iOS and Android devices should find out and talk to each other. I know that there are platform built-in services (which are Bonjour in iOS and NSD in Android since v4.1), in addition, a open source jmdns package can be used out of the box as well. I don't know how to choose and how is their compatibility. My questions are: Is Android NSD (network service discovery) compatible with Bonjour in iOS? What should

Bonjour over bluetooth WITHOUT Gamekit ?

心不动则不痛 提交于 2019-11-27 06:34:37
I am wondering the possibility of directly using bonjour over bluetooth in iPhone OS 3.0 or later without using GameKit. Can anyone provide any examples ? Ivan Vučica Just announce the service, just like tc. has said below : self.netService = [[[NSNetService alloc] initWithDomain:@"" type:@"_http._tcp" name:@"" port:8080] autorelease]; [self.netService publish]; With iOS5, however, let's-call-it "Bluetooth Bonjour" is disabled by default, so you have to use the C API declared in <dns_sd.h> . DNSServiceRef serviceRef; DNSServiceRegister(&serviceRef, // sdRef kDNSServiceFlagsIncludeP2P, //

How can I discover zeroconf (Bonjour) services on Android? I'm having trouble with jmDNS

大憨熊 提交于 2019-11-27 06:05:27
I'm working with a Droid / Android 2.0.1 and encountering an issue apparently many people have: I'm unable to discover services using the one pure-Java zeroconf library I know of, jmDNS. (Apple's Bonjour, while it works on Linux and Windows Java, I believe would be harder to port to Android because of reliance on native code.) I can create services, but not discover them. I'm trying to make sense of what's going on. There is an ongoing issue report here; related to multicast and IPv6, but seems to be throwing users of jmDNS, too: http://code.google.com/p/android/issues/detail?id=2323 Any idea

Using iOS GameKit's “Bluetooth Bonjour” with other platforms

依然范特西╮ 提交于 2019-11-27 05:06:05
问题 I'm interested in connecting to iOS-based devices over Bluetooth. I can see that the "Local Network" service is exposed, but I cannot find any extra information about it. Property stored under key 0x0204 looks like a Bonjour key. Which protocol is used? How can one talk to the iOS device using Linux, Mac or one's own embedded device equipped with a Bluetooth chip? Here's SDP data extracted using Bluetooth Explorer under OS X while the iOS device runs Gameloft's Star Battalion. { 0x0000 =

CFNetwork and Bonjour integration for iPhone to Mac integration

大憨熊 提交于 2019-11-26 23:29:08
I want to use CFNetwork and Bonjour in conjunction to be able to have communications between my iPhone app and a Mac app. The app on the iPhone would have one button. Then on the Mac app, there will be a label. If the button is pushed on the iPhone app, the label changes on the Mac app. Is there example code out there that can do this? If not, can someone lead me in the right direction? Thanks! Brad Larson Bill Dudney created a sample iPhone Bonjour application to demonstrate how to use Bonjour to discover and connect to two iPhones. I ported this example to the Mac to demonstrate how to do

How can an iPhone access another non-iPhone device over wireless or Bluetooth?

我与影子孤独终老i 提交于 2019-11-26 19:37:19
I'm trying to figure out if an iPhone can connect to another non-iPhone device over wireless or Bluetooth and have seen conflicting information. Much of what I've found was before version 3.0 of the SDK came out, when it certainly wasn't possible. Looking at Stack Overflow questions, like Can the iPhone 3.0 SDK provide full access to Bluetooth devices (headsets)? mention you can't connect to an arbitrary device unless if it's part of the "Works for iPhone" device. Do I need hardware that is part of this program? Looking through the Apple documentation, Peer-to-Peer Connectivity , it mentions

How can I create a small Mac app that receives data over the WiFi network from an iOS app?

我是研究僧i 提交于 2019-11-26 19:26:12
问题 What I need is to have a simple screen in this Mac app that just prints a string as the iPhone is transmitting strings through the WiFi network. This string is simply a string value from a slider being adjusted up and down by the user on the iPhone. The data will be sent to the Mac app and then the Mac app will receive this signal from the WiFi network and simply print the values. This is a constant connection. I'm not trying to sync once. I'm trying to listen to the iPhone device from the

Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

半腔热情 提交于 2019-11-26 18:33:52
Are there any other Java libraries for bonjour/zeroconf apart from JMDNS? Dougnukem I'm also curious to find the best cross-platform DNS-SD (Zeroconf, Bonjour, DNS self discovery) library exists out there. It does sound like Apple's DNS-SD dnssd.jar is the "official" Java library that requires native library support on Windows, Linux, etc, but works out of the box on Mac OSX. There are other pure Java DNS-SD implementations, but it's unclear if any of them offer a library that is as easy to use or fully tested as DNS-SD (some of the projects appear to be abandoned for 2 years). Official Apple

Bonjour over bluetooth WITHOUT Gamekit ?

冷暖自知 提交于 2019-11-26 12:04:29
问题 I am wondering the possibility of directly using bonjour over bluetooth in iPhone OS 3.0 or later without using GameKit. Can anyone provide any examples ? 回答1: Just announce the service, just like tc. has said below: self.netService = [[[NSNetService alloc] initWithDomain:@"" type:@"_http._tcp" name:@"" port:8080] autorelease]; [self.netService publish]; With iOS5, however, let's-call-it "Bluetooth Bonjour" is disabled by default, so you have to use the C API declared in <dns_sd.h> .

Transfer data between iOS and Android via Bluetooth?

允我心安 提交于 2019-11-26 12:04:09
I've been reading up on how to transfer data between iOS devices over Bluetooth using GameKit. I'm not writing a game, per se, but do have a need to transfer a small amount of binary data between two devices. Between two iOS devices, this is easy enough. However, I was wondering if it is possible to transfer data between an iOS device and an Android device via the same mechanism. Has anyone come across documentation/tutorial that would explain how to do this? Is it even technically possible? Or has Apple put in some sort of restriction that would prevent this? The other option I discovered was