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: 3
Registered: ‎04-11-2013
My Device: BB10
My Carrier: Megafon

How to pause media player

How to pause system media player from my software?

I tried to call mediaplayer_set_state(MEDIA_STATE_PAUSED) from bps\mediaplayer.h but no results

Please use plain text.
BlackBerry Development Advisor (Retired)
Posts: 74
Registered: ‎07-22-2008
My Device: BlackBerry Z10
My Carrier: N/A

Re: How to pause media player

Are you trying this from a Cascades app or a purely native app?


For Cascades take a look at the below sample on github.





Pratik Sapra
Gaming & Apps Consultant
Developer Relations
Please use plain text.