Created
September 28, 2012 22:34
-
-
Save 40/3802421 to your computer and use it in GitHub Desktop.
Bound Invocation of the Media Previewer in BlackBerry 10 Cascades
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // You are telling the Invocation Framework to use Media Previewer to open the file | |
| void App::invokeBound(){ | |
| InvokeRequest cardRequest; | |
| cardRequest.setTarget("sys.mediaplayer.previewer"); | |
| cardRequest.setUri("file:///accounts/1000/shares/videos/video.mp4"); | |
| InvokeManager invokeManager; | |
| invokemanager.invoke(cardRequest); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment