iphone/ipad: create a remote control freature - iphone

I am quite new to iOS development and just thought to take guidance from experts
Actually I have to do a project in which I can use iPAd/iPhone to control some external device like camera movement or anything similar like that, some PIC programming or anything related to robotics, mechanics which can be controlled from iOS based device.
I am kind of lost goggling please guide me on this.
If you can help me with these I can get some concrete redirections
1) Links to whitepapers / articles / blogs having relevant material
2) Links of third party libraries which can help me in this
3) Links of demo application which are already there
4) What stream should I focus on to get material regarding the same.
eg: something like survilance system
Thanks in advance

So the practical ways to interface an iOS device to a robot are over WiFi, establishing either a UDP or TCP socket. Here are a few links:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/2023-tcp-ip-udp-networking.html
http://www.youtube.com/watch?v=4XQeZE4nh6M
http://www.youtube.com/watch?v=0ipAKzCwn4Y
I would not recommend the Bluetooth path, as Apple considers bluetooth as an "External Accessory" and requires MFi certification (Made for iPhone)

Related

Want to test Bonjour with 2 iphone/ipad

Apologies for such a silly question.
Please note I don't have Apple TV or any printer. I would like to get hold of the packet trace that takes place when bonjour (Discovery and Resolution phase) is in action. I need to get bonjour into action using just 2 iphone/ipad (I have a Wifi Network through which I could connect these iPad/iPod). Please suggest what application can I use to achieve this? I am a newbie in iOS world, and have no idea of apps related to bonjour.
Hope some of you could help.

Direct VoIP call from one iOS device to another

I'am going to develop peer-to-peer VoIP iOS application. And want do it without any SIP proxy, SIP providers and other servers. Just VoIP calls frpm iOSdevice-to-iOSdevice. Both iOS device could be somewhere in Internet. Is it real in VoIP (with PJSIP for example and general with SIP)?
Could you please point me to main keys that I need for development.
I have already read these topics. Is it real solve problems with addressing in my configuration. PJSIP could help with correcting addressing?
Look at Apples Multipeer Connectivity framework. I have built an app that does exactly what you want. If you look to my profile and the questions I have asked you will get some good guidance. Though I recommend you do it with a backend since MultiPeer wasn't the best solution, atleast when it comes to supporting multiple peers and to be able to call another device that has the app in the background.
See Frank Shearar's Answer Here
In short, it looks like this would be a very difficult task.
Another option would be to use the Twilio SDK for iPhone (Obj-C). This would work well for what you're trying to do and would be a whole lot easier. Link

Communication between two iOS devices

I am looking for a way to have one iPhone app send a message to another app on a different phone (sort of like a Sender-Receiver set up). I am looking for the best possible way to do this. Does anyone have any ideas and/or tutorials?
Thanks for the help.
You should use GameKit. It is super easy to send messages between two iOS devices using it. Here's a great tutorial: Game Kit. You can also get more information about it here from the docs: About Game Kit.
You communicate by creating an ad-hoc bluetooth or local wireless network.
lmirak provided insightful info about device communication(especially about GameKit). I would like to add one more solution. You can use WiFi network to do your device communication.
See the link or download the sample application from developer.apple
The sample application named as WiTap. It demonstrates how to achieve network communication between applications. Using Bonjour, the application both advertises itself on the local network and displays a list of other instances of this application on the network.
If your app is only going to run on iOS, then you should use the fantastic MultipeerConnectivity library. https://developer.apple.com/documentation/multipeerconnectivity
If you need a solution that will work cross-platform, then one way to accomplish this is using sockets and connecting over a local network. On iOS you can use CocoaAsyncPods for sockets and NetService for discovery.
Here is a basic example app that does this: https://github.com/brendaninnis/LocalNetworkingApp
, which I explain in great detail here: http://brendaninnis.ca/connect-nearby-devices-part-1.html

Connect Credit card reader

I want to develop application like this :
http://itunes.apple.com/us/app/paypodd/id341546114?mt=8
I am going to develop one application for credit card reader but i have no idea for connect external device to iPhone. right now i am using ExternalAccessory Class for find connected device but i am not getting any event after connect any Accessory to my iPhone
if anyone has developed this kind of application please provide me the flow
i am really confused..
Thanks .!
Do you plan on producing your own credit card reader for the iPhone/iPod? If so, you will probably need to go through Apple's "Made For iPod" (MFi) program. See: http://developer.apple.com/programs/mfi/
If not, your options for connecting the reader to the iOS device are limited. You cannot connect generic USB or Bluetooth devices -- one of the few devices I'm aware of which gets around this is the Square reader, which is a custom hardware device which communicates over the audio jack. Setting this up likely involved a lot of custom audio engineering on Square's part; it is not an easy task, nor is it something that can be done with off-the-shelf parts.
If you have other plans for what type of reader to use, please add details to your question!

iPhone peer-to-peer voice chat

I see that Game Kit allows you to develop games with voice chat.
I want to build a more general, peer-to-peer voice chat application, that does not have to live in the Game Center. So a couple questions:
1. What peer to peer system/technologies could be used for this?
2. If I wanted to allow voice chat with a Flash client (i.e. iPhone app <--> Server <---> Flash client on PC) would options for 1 work for this?
I have some experience with RTFMP for Flash to Flash client chat, and no iPhone dev experience, so just want to test out some ideas.
Maybe one idea: build using the Ribbit Platform - they have both Objective-C and Flash SDKs, but this looks more like traditional\SIP calling.
Anyway, would appreciate anything that points me in the right direction.
Thanks.
Now that flash has access to raw Microphone data, you could roll your own client and server; yet, since, currently, it doesn't have UDP sockets in AIR for mobile, you would be forced into considering audio quality vs lagg with even tighter restrictions then usual.
You can now roll your own native extension to make this work; yet, I am assuming you want something that only requires coding in AS3.
Therefore, considering your restrictions, the only real bet would be to use Flash's built-in communications capabilities (e.g. RTMP).
With the above being said, there are opensource alternatives to the array of Adobe's own flash communication servers:
the red5 server, and rtmpd.
IMHO Ribbit's services are kind of pointless.