MAC IOS IPC: how to write P2P applications in MAC and IOS? - objective-c

I'm looking for a way to communicate between a MAC application and an IOS one. Communication should be peer to peer, as IOS application shoul dbe able to send requests to MAC app and the other way around.
I'd be grateful for any hints you might have.
Cheers,
Andrea

Apple Bonjour is the way to go:
http://en.wikipedia.org/wiki/Bonjour_(software)
http://www.mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/
Especially the sample project from the last link might be useful.

Related

iPhone App Submission - Bluetooth BLE Enable

Can anyone tell me how apple handle submissions for bluetooth BLE enabled app. Actually, i have created a bluetooth iphone app which connects to third party device. And, I am not sure how apple is testing apps which connects to third party devices.
Object Lab has recently launched their first iOS app using iBeacon. It took them 3 attempts to get it approved. I would recommend you to create a video which demonstrates how your app works and send it to them.
Generally they ask for hardware as well but mostly it's not feasible for us to provide them with one. Object Lab had to send them instructions to setup hardware at their end and to test the app. THEY WILL NOT APPROVE UNLESS THEY KNOW ITS WORKING. So I would recommend to send a video and step by step instruction of how to setup hardware at their end to test it out.
My experience has been that a video demonstrating the use of the app while connected to your third party device is enough. Sending the device to them is not necessary (at least for all cases). I know there is another thread on stackoverflow.com concerning this very thing, but it's been months since I had found it and I can't find it now. Anyways, it has worked for me as well as acquaintances of mine who have an app on the store.

Serial Port Profile (SPP) communication on Mac OSX

I am looking for Bluetooth SPP communication between MAC OSX and bluetooth device.
I am able to discover bluetooth device. I could not find examples on SPP communication on Mac OSX.
I have the foll0wing resources with me
https://developer.apple.com/library/mac/documentation/devicedrivers/conceptual/bluetooth/Bluetooth.pdf
Could someone point me the examples or any pointers where I can start.
Is it advisable to use SPP. I did not find much info on this but I found some APIs for OBEX?
If we have to use SPP then where can I find links?
I found the following links useful
https://developer.apple.com/library/mac/navigation/index.html?filter=bluetooth
Bluetooth Example Code for Cocoa (Objective-C)
Examples hosted at the following link
http://cs.dal.ca/~mcormier/Bluetooth.zip

iOS develop and provision private apps

I want to develop some small apps for personal use. I don't want to market them, nor I want anyone other but me to have them. As a developer, I want to be able to put some minor utility app I'd like to have on my own smartphone (an iPhone, of course).
As I'm not going to develop anything commercial in the near future, I'm not going to subscribe the developer program. Is it possible to develop personal apps without subscribing to Apple's program? Would jailbreak help? Am I going to miss any possibility in the development (ability to subscribe to servers, message, use the maps...)
Thanks
there's a number of threads of this.. they all use ldid and are normally jailbroken
How can I deploy an iPhone application from Xcode to a real iPhone device?
Attempting to deploy my app on my jailbroken iphone, but the app closes immediately!

Developing an Application using C++ or Java For GPS Receivers

I have an idea for developing an app to be installed in a GPS receiver,this app should be able to communicate with a server.The connection could either be established through a cell phone network or internet or any suggestions.
Is this possible?
Can anyone help with suggestions?
Whats the best programming language would be more appropriate?
Any GPS devices that has this capability?
Thanks
It's very easy to do this, you can have a look at gpsd.
basically just com port communication and change NMEA formats, and send your info back to your server over the net.
I did my one with ruby under linux without addition library other than native.
For your question:
I would say any language you are comfortable will do. OS is not important, even on a ARM linux it should be okay.
Most gps should work, as long as they are NMEA formats. for more info you can have a look at http://gpsd.berlios.de/hardware.html

Easiest way to connect iPhone and Mac over WiFi with "server client" model

I am interested in creating a server application on the Mac and a client application on the iPhone. The iPhone would send commands to the Mac through this connection.
What's the easiest way to do this? I've seen NS/CFNetServices discussed here:
Ad Hoc Wifi Connection Between iPhone & Mac - Possible?
but I'm wondering if that's a little too complicated for what I'm trying to do. Is there a tutorial or example project that walks me through this? Better yet, is there something GameKit-like (in simplicity and functionality) for the Mac to enable this sort of pairing?
Thanks so much for your responses!