views:

9

answers:

1

Hi,

I have asked the question on the Nokia Forum but to no avail. So have opened this question up to the greatness of the stackoverflow community.

Has anyone been able to use the platformRequest method defined by in MIDP 2.1 JSR to open a video on a Nokia 6212?

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 lockation 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 aswell :-( ...

All fail throwing a 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.

Many thanks for any help!