Using the iPad camera conncetion kit
I'm trying to send data through the camera connection kit in my iPad app. EAAccessory manager does not place the camera connection kit in the array of found accessories so my app crashes when I try to access an element of an empty array.
However, the EADemo app provided by apple finds the camera connection kit every time.
Some things I have thought of are that I dont have the protocol string for the camera kit, that the camera kit only allows reading of data and that maybe the camera kit does not have a protocol string until it has something plugged into it.
I dont think the first thought is the problem because I entered the same protocol strings into my app as the EADemo app contains and as I said, the EADemo app finds the camera kit.
I dont think the second thought is true because the camera kit can send signals to my USB headset and can also delete photos on a camera.
The third thought also seems unlikely because if every camera generated its own protocol string then the built in photo importing app would have to contain millions of protocol strings.
I guess after all this my question is, what is stopping my app from detecting the camera kit and placing it in the array of accessories?
|