I've seen a couple programs running in Windows that could access the iPhone and iTouch with access to t开发者_StackOverflowhe photo library and music. What APIs are used for this kind of development?
Checkout Bonjour. It's a service discovery protocol by Apple and there is a windows implementation available. Apple has released various samples that you can use as a starting point. Checkout this sample game WiTap to get started. And for a broader overview, this tutorial might be good. Once you discover a network device or machine, you can use whatever data format is convenient such as XML, JSON, home-grown, or binary.
Apple provides an iTunes COM SDK that will allow you to pull data directly from iTunes. Although I haven't used it, this may be what you are looking for. I imagine you would need to have the iPhone sync'd with iTunes before you could access information from it - but again I'm not sure.
Here is an older link that will redirect you properly through Apple's site: http://developer.apple.com/sdk/itunescomsdk.html
Not sure what exactly you want to do, but you might want to look into Bonjour, Apple's implementation of zeroconf networking. You can launch an app on the iPhone which provides a service, which a Windows app can then connect to. I've seen this used to transfer files to/from the iPhone.
http://www.tuaw.com/2007/11/07/iphone-coding-bonjour-wrapper-simplifies-iphone-implementation/
and
http://www.tuaw.com/2007/10/23/send-files-directly-from-iphone-to-another/
seem like good places to start.
精彩评论