Reputation:
I would like to have a feature in my iphone application that would start playing a file in my ipod section of the iphone. Does the SDK allow calls to this? Is there a simple way to start a song from my application other than using the iphones native interface?
Upvotes: 3
Views: 1901
Reputation: 422242
No, I think the official iPhone OS 2.0 SDK does not allow this.
Upvotes: 6
Reputation: 1549
Now that it's public, you're looking for MPMediaPickerController and MPMediaPickerControllerDelegate
Upvotes: 1
Reputation: 4270
This is now possible with 3.0 but I will not go further into it due to NDA issues. The information is available on the Developer Site.
Upvotes: 1
Reputation: 18325
Nope you cannot fire off a song from your media library but you can play a song you have embedded in you app or you download from the web here are some examples
Upvotes: 0
Reputation: 26384
You cannot launch the iPod app from your application. But you can easily play a song.
Use the AVAudioPlayer from the AVFoundation Framework.
Ars Technica has a nice article on it, here.
Upvotes: 2