src/applicationui.cpp
void ApplicationUI::invokePhotoViewer(const QString& path) const {
	InvokeManager invokeManager;
	InvokeRequest request;

	request.setTarget("sys.pictures.card.previewer");
	request.setAction("bb.action.VIEW");
	request.setMimeType("image/png");
	request.setUri(QUrl(path));
	invokeManager.invoke(request);
}
// invoke the photo viewer card when user clicks on photo in their 'feed'
invoke the photo viewer card when user clicks on photo in their 'feed'
invoke the photo viewer card when user clicks on photo in their ' feed '
void ApplicationUI::invokePhotoViewer(const QString& path) const {
	InvokeManager invokeManager;
	InvokeRequest request;
	request.setTarget("sys.pictures.card.previewer");
	request.setAction("bb.action.VIEW");
	request.setMimeType("image/png");
	request.setUri(QUrl(path));
	invokeManager.invoke(request);
}
void ApplicationUI :: invokePhotoViewer ( const QString & path ) const { InvokeManager invokeManager ; InvokeRequest request ; request . setTarget ( " " ) ; request . setAction ( " " ) ; request . setMimeType ( " " ) ; request . setUri ( QUrl ( path ) ) ; invokeManager . invoke ( request ) ; }
invoke the photo viewer card when user clicks on photo in their 'feed'
invoke the photo viewer card when user clicks on photo in their ' feed '