Open an image, play a music or video file using default phone apps - Symbian anna, belle phones - SOLVED!!!
-
Hi,
In the app that I am doing right now, I will be knowing the path of the image, music file or video file.
I want to open each file format using the default app of the phone like image should be opened my gallery app, music should be played by default music player and similarly for a video file.
May I have some suggestions on this or at least pointers to which classes can help me out on these things?
Thank you so much
-
Hi,
You need to at least give the phone OS you are targeting, otherwise this question would be difficult to answer.
-
Then I won't be able to help you much, I didn't use these platforms, but you should update your thread's title, this might get the attention of other forum users who work with Symbian
-
You're welcome !
If you don't get an answer here you can also try to ask on the interest mailing list
-
Nothing complicated:
subscribe to "the interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest
send a mail with your question
make lots of "insert name of preferred beverage"
wait and see
-
[quote author="raj.qtdev" date="1376154714"]Hi,
I want to open each file format using the default app of the phone
[/quote]QDesktopServices::openUrl should do that (in any platform).
Like this:QUrl url = QUrl::fromLocalFile(filenameQString);
QDesktopServices::openUrl(url); -
Right ! I forgot about that one, mostly using it for storage location...
If everything is working now, could you update the thread's title to solved so other forum users may know a solution has been found ? :)