How can the platformRequest method defined in MIDP 2.1 JSR be used to open a video on a Nokia 6212 Classic?
The Forum Nokia Library states:
In Series 40, native applications are launched with platformRequest(localapp method. The following opens the Photos folder in Gallery.
platformRequest("localapp://gallery/show?folder=C:/predefgallery/predefphotos");
Currently I have tried the following (and more):
I did make sure the resource as availble at the location given as the folder argument.
platformRequest("localapp://gallery/show?folder=C:/Gallery/Video Clips/Material.mp4");
platformRequest("localapp://gallery/show?folder=C:/gallery/video clips/material.mp4");
platformRequest("localapp://gallery/show?folder=C:/Material.mp4");
...
For testing purposes to open an image I tried,
platformRequest("localapp://gallery/show?folder=C:/Gallery/Images/Image001.jpg"); //Gallery.
platformRequest("localapp://gallery/show?folder=C:/predefgallery/predefphotos") //Failed as well :-(
...
All fail with the following error message.
ConnectionNotFoundException: Invalid URL.
It is obivious what the problem is but I cannot determine the correct way to tell the phone where a file is and what to open it with using the URL.
(I have asked the question on the Nokia Forum but to no avail. )