mpmediapickercontroller

MPMediaPickerController - deselecting after selecting in error

Problem is evident in both the code I've written and Apple's sample AddMusic code (http://developer.apple.com/iphone/library/samplecode/AddMusic/index.html runs on Device Only). Once you open MPMediaPickerController when you click on an item it appears to be impossible to subsequently unselect it. It actually just gets added to the MP...

[iPhone] presentModalViewController not working

Hi everyone, I'm having an odd issue trying to present an MPMediaPickerController using presentModalViewController. I had it working fine, but recently (perhaps as of 3.1, I don't exactly recall the last time it was working) the MPMediaPickerController just refuses to show itself. The screen just remains black, with nothing but the sta...

MPMediaPickerController, MPMediaItems, and NSData

I was wondering if Apple allowed you to access the MPMediaItem's raw data as an NSData object. If you can, thats great and I would like to know how. If you cannot, then Apple is way too over-protective, and my app that i started is utterly useless. Also if you cannot, Is there any hacky workarounds? I don't care if Apple doesn't accept m...

Pick video file from iPhone local library

Hi, I know how to pick audio file (MPMediaPickerController), but how to pick video file??? thanks ...

MPMediaPickerController for selecting video files

Hey, I want to enable the user to select a video file from the on-device iPod library (so that I can play it in my own app). Is that possible? I was thinking on using MPMediaPickerController but I am not sure if it is able to select video files or just audio files. Any help will be greatly appreciated. Thanks, ...

implement alphabetical scroll in MPMediaPickerController app

If you go to the iphone library and then go to songs, you will see the songs being displayed in a similar way to the MPMediaItemPicker class does. The only difference is that the ipod application shows the search bar right at the top of the list and also a nice alphabetical scroll on the right hand side whereas the MPMediaItemPicker clas...

Best Practices for persisting iPod Playlist (MPMediaItemCollection) across sessions

When using in-app audio in the iPhone SDK, it is possible to allow users to select a list from their ipod library and create an in-app local playlist. If I want to persist this choice, it is easy to serialize the data and write to file, then recover. Just vanilla like this, however, leads me to think there is going to be something wron...

How can I put the MPMediaPickerController cancel button on left side?

I'm developing an app and so far all cancel buttons have been on the left side of the navigation item. I thought this was standard and that's what Apple do with their apps. That is until I ran into the MPMediaPickerController which has it's cancel button on the right side of the navigation item. Is there anyway I can move this to the l...

Song picker for Android

Is there a song picker for Android that can be invoked programatically? I'm looking for something similar to iPhone's MPMediaPickerController, which shows a view from where the user can select songs. ...

Using iPhone audio files in own app - copy the audio file - is that possible?

I like the user to pick an audio file from the available list of audio and copy it into my own app. In the retrieved items of userMediaItemCollection in the Apple sample code "AddMusic" there is the property: MPMediaItemPropertyAssetURL. But I cant get to it, since I get the error "MPMediaItemPropertyAssetURL undeclared" - although I imp...

UIPopoverController forces iPad into Portrait orientation

I think the issue here is that I'm trying to call a mediaPicker and that doesn't support other orientations... Does anyone have a fix for this? Here is my current code: - (IBAction)openMediaPicker:(id)sender { MPMediaPickerController *mediaPicker = [[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeAnyAudio]; mediaPick...

iPad MPMoviePlayer hiccups

I'm working on an iPad app, it has a few videos within views using the MPMediaPlayer framework. Videos are working nice but on viewLoad there is a flashing of the video area when it loads the video. It shows black for a split second then starts playing. I was thinking of using an NSTimer on viewDidLoad to unhide the hidden video view, ...

Is it possible to use MPMediaPickerController to load audio files from library and save to document directory?

Hello everyone Is it possible to use MPMediaPickerController to load audio files from library and save to document directory? Welcome any comment. Thanks KS ...

Adding a button to last UITableView row

I'm developing an app where the user can choose between a number of included songs. I also want the user to be able to choose a song from his/her iPod Library. Currently the song is choosen by selecting it in a UITableView. So I figure I would like to add a new row at the end of the table and make it a button that will fire a MPMediaPic...

MPMediaPickerController in one view and the MPMediaPlayback in another view. How to?

Basically I have a three view stack. In the last view I got a MPMediaPickerController that lets the user pick a song from his/her library. The song is to be played later from the first view. How can I tell the player (in the first view) what should be played? One possibility would be to send a notification and include the MPMediaItemCol...

MPMediaPickerController orientation on iPad

Hi, all ! How can I set correct orientation of MPMediaPickerController ? I've return YES in shouldAutorotateToInterfaceOrientation, but i have bad frame for Landscape (if show MPMediaPickerController in Portrait first, and conversely). I've rotating my device chaotically and sometime frame set to correct himself! I've find the method ...

MPMediaPickerController on iPad - bottom of view not accepting touch events

I'm having some trouble with this Media picker on iPad... I can easily recreate the problem in a fresh View-based application. 1) Create new View-Based application for iPad in XCode 2) Open the source for the View Controller and add the following - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; MPMedia...