Can't open FileOpenPicker with only MP3 files in Windows Phone 8.1 RRS feed

  • Question

  • Below is my implementation. Clicking on button does nothing. How can I use FileOpenPicker to display only MP3 files? Though it shows me videos (MP4) as well as images (JPEG, PNG) if I set file type filter as only "PNG". Is there no effect of FileTypeFilter?

    private void btnPick_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
        FileOpenPicker openPicker = new FileOpenPicker();
        App.ContinuationEventArgsChanged += App_ContinuationEventArgsChanged;
    private void App_ContinuationEventArgsChanged(object sender, IContinuationActivatedEventArgs e)
        App.ContinuationEventArgsChanged -= App_ContinuationEventArgsChanged;
        var openFileArgs = e as FileOpenPickerContinuationEventArgs;
        foreach (var file in openFileArgs.Files)
            //tb is TextBlock
            tb.Text = file.Name + "\n";

    Wednesday, August 6, 2014 1:27 PM


  • FileOpenPicker with MP3 file type filter works only in device, emulator doesn't open it without any error/exception.
    • Marked as answer by Xyroid Thursday, August 28, 2014 8:59 AM
    Thursday, August 28, 2014 8:59 AM

All replies