Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Contributor
Posts: 4
Registered: ‎03-19-2013
My Device: Simulator
My Carrier: At&t

Invoking Media Player Error: The file cannot be played due to an unexpected error.(10).

I am invoking Media player to play a movie file in my assets folder. My code is as follows


InvokeManager invokeManager;
    InvokeRequest request;
    reply = invokeManager.invoke(request);
    connect(reply, SIGNAL(finished()),this, SLOT(onInvokeResult()));


The Media Player is opened but it shows error "The file cannot be played due to an unexpected error.(10)". I uploaded the sample file into the blackberry device and I am able to play it using the "Videos" application.


Please help.The error code of InvokeTargetReply is 0 which is noError. How do I debug this.