Skip to content

Instantly share code, notes, and snippets.

@40
Created September 28, 2012 22:28
Show Gist options
  • Select an option

  • Save 40/3802394 to your computer and use it in GitHub Desktop.

Select an option

Save 40/3802394 to your computer and use it in GitHub Desktop.
Unbound Invocation of the Media Previewer in BB10 Cascades
// Invocation Framework decides which app to use to open file based on type of file
void App::invokeUnbound(){
InvokeRequest cardRequest;
cardRequest.setUri("file:///accounts/1000/shares/videos/video.mp4");
InvokeManager invokeManager;
invokemanager.invoke(cardRequest);
}
void App::invokeUnbound(){
InvokeRequest cardRequest;
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