Hi guys I've a question regarding connecting and USB to an iPad or iPod or iPhone I am planning a developing application which needs to read and write Data to USB. I bought an USB connector for iPad and iPhone. Would this even be possible without jailbreaking an iPad or iPhone?
I realy would appreciate some tips since google can't realy help me out on this one.
If you're aiming to write data via the USB to a storage device, start by visiting http://developer.apple.com/programs/mfi/. In your case, you may want to check out (from docs at MFI) how to write driver to push data out via the USB.
Related
I want to create an iPad app that connects to another machine, laptop or otherwise, via USB and communicates to some other application I develop running there.
I know that this is easy to achieve via Bluetooth or WiFi but this particular set of solutions must be done via a USB cable.
Is it possible to do so without access to the Apple MFi program? (I am about 5 weeks in and the response is not looking good).
iOS App --> USB Cable --> Mac OSX --> Desktop App (without MFi access)
Thanks
To use USB communication Apple does not provide any API within IOS SDK. The only option right now is MFI. I don't think Apple will allow this in near future.
To use serial communication, you need MFI as you may have discovered. However, there is a poor man's way of achieving this. I have done so during development.
Enable "Internet sharing" on your device and connect to it. Use "ifconfig" on your Mac to find out the interface to use. You do not need to use this as the default connection, but it needs to be active. If I remember correctly, only one end can initiate connections (it was a while so I am sorry that I don't remember the details).
EDIT: I would also like to point out that I did this on an iPhone, not an iPad.
Not over USB but over RS232 (serial port)
Look here: http://www.redpark.com/c2db9.html
But:
The cable uses the old 30 pin connector, but according to them it's compatible with the Lightning adapter
The application won't be accepted on the AppStore, it's for internal use only.
There is a (small) book that explains how to use this cable to connect an iPhone directly to an Arduino, it's been published in late 2011. "iOS Sensor Apps with Arduino Wiring the iPhone and iPad into the Internet of Things" http://shop.oreilly.com/product/0636920021179.do
I am struggling with this problem for last 2 days.What I need to do is that i need to transfer data between iPhone and Android I have gone through this link. Also I had success in that...
I am able to discover my iPhone in my Nokia device, and when I click "ADD" in Nokia a 6 digit number is sent to iPhone, and here problem starts. I don't know what to do next.
I am using private framework BluetoothManager. Please help me as I am not able to get any documentation on BluetoothManager.framework.
Pretty sure that the native iDevice bluetooth stack doesn't support sending data to anything other than an iDevice and you need an app for that on both ends.
I've never heard of being able to transfer from an iPod/Phone/Pad to any other device.
I'm trying to make an iPhone application to communicate with an other wireless device.
The other device can send datas via UDP sockets. I just want to know if it is possible to receive the informations on the iPhone, without access point on the network (just an iPhone and the wireless device), and how if it is.
I was looking at UDPecho, by apple, and I think it could be useful.
If anyone had some idea, just let me know what you're thinking about
iPhone 4 with iOS 4.3 can create a Wi-Fi network using the Personal Hotspot feature, which your "other device" could join.
A Verizon iPhone with 4.2.6 may also be able to do this.
Earlier iPhone models can't use the Personal Hotspot feature, regardless of the version of iOS.
Can a file be transferred from an iPhone to another iPhone/iPod/iPad and to my Mac/PC using Bluetooth using a iPhone App?
I posted a question yesterday with same content. This was migrated to superuser.com.
iPhone SDK 3.0: where is the Bluetooth?
in short: no.
I have not ever tried it, but GameKit exists on the iPhone, and the Mac - as part of that you can establish a network connection between two systems locally over bluetooth. You should be able to use that connection to transfer any data you like.
What you cannot do is write an iPhone application that makes use of the standard Bluetooth file transfer protocol - that is not supported. If you are open to a custom Mac/PC client though, it will work (PC client might be a lot trickier).
I know since the 3.0 SDK we can use accessories, so my question is simple, what is the process to make an iPhone app and PC (or Mac) app interact, using the USB ?
I don't ask you any code, but just the paths and the keys for making that work.
Have I to access the iPhone disk through SSH and work with files ?
Or can I send data from the iPhone app and intercept (get) it on the PC app (and send data from PC to iPhone) ?
Thanks, and if this question is stupid, just tell me, I didn't find on Dev Center (I don't really know what I have to looking for...) !
Edit : I read some news from Microids, they will synchronize PC and iPhone games (i.g here), and somewhere (I can't find it again) they say connecting the iPhone on the USB, so I think this is possible
USB access on the phone is only supported via the External Accessory Framework. You cannot hook the iPhone up to arbitrary USB devices, the devices actually have to support the EA protocol. You can get more details about it via the Made for iPhone program.
Other than that there is no USB access available on to applications.
You want the External Accessory Framework. Having said that, I'm not sure that Apple's intention was for you to communicate with an application on a PC/Mac. It's really for talking to accessories such as iPod docks, remote controls, etc. Apple may not allow an application that talks to a PC in this manner in the App Store.
You might be interested in ssh_relay (earlier called iphone_tunnel).
There is a /System/Library/Lockdown/Services.plist on your iPhone and you can start any such services via AMDeviceStartService and then communicate with it.
The ssh_relay demonstrates how to do that by having a simple port forwarder as a service on the iPhone site and the client application on your PC, so you can forward any local iPhone port to your PC. This is not exactly what you wants here (it is handy in the case you have already another service running on the iPhone which communicates via simple TCP and you want to access that; for example SSH) but based on this example, it should be straight-forward to have any communication between the service (in Services.plist) and your PC.