一旦用户插入/同步到桌面后,我的iPhone应用程序是否可以将不在iPod库中的媒体(mp3)添加到iTunes中,以便媒体可以同步到iPhone的iPod库中?
我知道这个问题相当普遍,但如果确实有可能,任何人都可以推动我朝着正确的方向发展?
Is there a way for my iPhone app to add media (mp3s) not in its iPod library to iTunes once the user plugs/syncs to a desktop such that the media will get sync'd back into the iPhone's iPod library?
I know the question is rather general, but if it is indeed possible, can anyone nudge me in the right direction?
最满意答案
不,使用iPhone SDK提供的任何东西都无法做到这一点。 做类似的唯一方法是将媒体存储在iPhone应用程序的本地存储器中,编写一个OS X应用程序,通过Bonjour发现您的iPhone,通过WIFI同步内容,然后将其添加到iTunes。
如果您想查看具有“同步到桌面”功能的示例,请查看“Things”(iPhone待办事项列表应用程序)。
No, it's not possible to do this using anything provided by the iPhone SDK. The only way to do something similar would be to store the media in your iPhone application's local storage, write an OS X application that discovered your iPhone via Bonjour, synced the content via WIFI, and then added it to iTunes.
Take a look at "Things" (an iPhone todo list application) if you'd like to see an example with sync-to-desktop functionality.
更多推荐
发布评论