How can I connect iphone library with my iPhone application? - iphone

I want to doing a project where i need to connect to iphone music library. When my application is start music file is add my application and play when i want.

It's not possible with the current version of the SDK.

You will have read only access to the iPhone / iPod Touch media library in the 3.0 SDK. I.e. you will be able to play songs, but not modify anything.

Related

How to play local audio/video files in all iPhone and iPad versions from with in our PhoneGap application?

My requirement is to play local (bundled with the app) audio and video files in all iPhone and iPad versions from within in the PhoneGap application.
I have tried using HTML5 audio and video tags to play local audio and video files respectively. I am able to play them in the iPhone and iPad 5.0 and 4.2.x simulators.
I am not sure if HTML5 video and audio tags are supported on which versions of iPad and iPhone iOS.
Cam you please let me know which versions support HTML5?
If only new versions support them how can i play audio and video files on all versions from within PhoneGap application?
Thanks,
Prasanth
Take a look at this list:
http://www.expertisemobile.com/2011/10/28/html5-video-and-audio-tags-support-on-mobile-device-real-world-feedback/
In my opinion today's apps don't have to work in very old version of iOS so supporting iOS 4 and newer would be ok.
Go ahead, even if the tag is not fully supported by older version, it still works!

Compatibility between iPhone/iPad and Phonegap

I'm about to start a new app project for iPhone/iPad and I'm checking if there's any relevant issue between iphone and Phonegap compatibility?
The project most possible trouble will be the audio and video streaming.
A look through the PhoneGap documentation should tell you if the features you want are supported or not.

How to browse and upload music file from iPhone Music Library?

Is there any possible way to browse and upload music file from iPhone music library?
I m trying to browse music file from iPhone/iPod Music library through UiWebView...
But no success...
Thanks....
Definitely not possible through a web view, and not really doable with the actual SDK either. What are you trying to accomplish?

How to get music files of iphone using itunes sdk?

i'm researching to get music files in iphone.
i think i can get it using itunes sdk into PC based on windows, but i don't find a solution in sdk's document.
i can get playlists and music file's locations using sdk.
is it possible to get music and video files in iphone using itunes sdk?
Look at the AddMusic example given by Apple: http://developer.apple.com/iphone/library/samplecode/AddMusic/Introduction/Intro.html

Iphone SDK - Can I start a file (song) in the ipod feature of the iphone via the SDK?

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?
No, I think the official iPhone OS 2.0 SDK does not allow this.
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.
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.
Now that it's public, you're looking for MPMediaPickerController and MPMediaPickerControllerDelegate
http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMediaPickerController_ClassReference/Reference/Reference.html
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
Apple - Example
AppsAmuck - Example