Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for some good resources to learn the External Accessory framework, specially the "Bluetooth accessory interfacing". I know there is a book by Ken Maskrey for learning the External Accessory framework but this book does not cover the bluetooth communication.
Some blog posts with some sample codes will be greatly appreciated
Thanks Much!
Are you an approved Made for iPhone/iPod program participant? If you're not you'll find it very difficult to get much information. There is no difference between Bluetooth and Dock connection - you cannot communicate with a third party bluetooth accessory that isn't part of the MFI program.
See this question for more details:
What are the protocols supported in Iphone's External Accessory Framework
If you know the correct protocolString for the Blue Bamboo's Card reader, and register to observe EAAccessoryDidConnectNotification, your app should have received the notification if the Card reader has paired with iPhone and passed the identification process. At least, in your iOS Settings > General > About, you will see the connected accessory information.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
is there any framework/api to easily to find other devices and share data between them?
Not gamekit please. And bonjour would be great but it is to complex to build..Mayby there's any API that uses Bonjour?
EDIT: Is there any API/Framework that is based on Bonjour?
I know that you've dismissed Bonjour outright, but you might be able to leverage a wrapper class to make it more manageable. For example, Bill Dudney created such a wrapper within his sample Bonjour iPhone application (described here). I generated a Mac version of this sample application to show how you can communicate between the iPhone and a desktop PC. You can see this in action in the Networking session of my class on iTunes U, as well as some other examples of peer-to-peer communication.
For device-device discovery and communication, Bonjour or something based on it (like GameKit) is going to be your best choice. Bonjour is the only way to do discovery of local iPhones over Bluetooth, for example (again, GameKit leverages this). It also works transparently with WiFi or Bluetooth, so you can create communication code that is network-agnostic.
GameKit provides a nice abstraction layer above Bonjour, so I wouldn't immediately reject it. You can decide to not use the system-supplied GKPeerPickerController if you were concerned about the user interface of this.
Dropbox has an API:
https://www.dropbox.com/developers
Bonjour would probably be the best to go with. It's supported by Apple, so you can count on it working for years to come and will only get better with time.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would like to make a game where two players are connected via WiFi or Bluetooth, but I've not found any good tutorials out there on this. What resources do you recommend for learning peer-to-peer networking on the iPhone?
I cover peer-to-peer networking, including Bonjour and Game Kit, as part of my course on iPhone development. The notes for the respective class session can be found here, and the class can be downloaded as a video from iTunes U.
The notes also include links to simple example applications that show off peer-to-peer networking, and I demonstrate how all this works during the class.
To help with the network side, you'll probably want to use Game Kit, which can easily connect on BT or wifi. Read Apple's doc on it!
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html
You probably want to start with the Game Kit Programming Guide.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking for mobile apps that will help me be more productive and be all around more useful as a programmer. I have the Dropbox app and Awesome Note. As a programmer what apps or tools do you use on your IPhone/IPod that help you be more productive etc...?
Ideally I am looking for SRC control, SSH tools, Web development-related apps etc.
AppSales keeps track of sales data and user reviews.
iSimulate lets you send a lot of sensor and input data from your device to the simulator - so for example you can get proper iPhone GPS callbacks with your real location in the simulator instead of on the device.
There is a CodeToGo IApp built upon IdeoneAPI (a multicompiler)
which might be of your interest and possibly another two (Gusto and Textastic via ReadWriteHack).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm starting to develop a p2p applcation for the iphone sdk 3.0. But I'm finding it hard to find good code examples for the bluetooth api.
Anyone knows where I can find this info for newbies?
thanks!!!
The Pragmatic Programmers just made available the book iPhone SDK Development by Bill Dudney, Chris Adamson, and Marcel Molina through their beta book program. You can purchase a PDF (and Kindle) version right now, and it contains a detailed chapter on Bonjour and GameKit networking, along with code examples. Aside from Apple's documentation and sample code, it's probably the best resource you'll find right now.
Just to add the existing samplecode, you can get GKTank from the apple dev site and BeamIt source code here:
http://arctouch.com/beamit/
You can check this tutorial.This tutorial is about how to implement peer to peer bluetooth chat.
http://www.devx.com/wireless/Article/43502/1954
and also check the book More iPhone 3 Development
Tackling iPhone SDK 3 by
Dave Mark | Jeff LaMarche
Adding the Existing Samplecode and geting GTank with BeamIT has help me ,and will help u, also you can find additional support on this:
http://www.algomatik.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I've searched around a bit in the small amount of iPhone/iPod Touch development information available and couldn't find anything for or against. Can an application find out information about currently playing song on iPhone/iPod Touch? Since the music can continue to play while you are in 3rd party applications, is there a function or library that will give you information about what is playing? (Track, Artist, Album, etc.) I know generally that applications are sand-boxed but thought maybe there was a way.
If you aren't planning to put your app on the App Store you can import MobileMusicPlayer.h as seen in this example application: song-info
edit: Interacting with the iPod application is now part of the iPhone OS 3.0 SDK
Apple is pretty tight about allowing access to anything having to do with media (other than that provided by you) on the device. I've not found a way to do this.