[Gear] openning image in gallery NOT working

[Gear] openning image in gallery NOT working

BY 01 Jul 2014 Web Application Development

Hi!

I am playing with SampleCamera.
I need to open photo in built-in image previewer.

Calling this:

var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view",                                                                                "file:///opt/usr/media/Images/myimage.jpg"); 
    
tizen.application.launchAppControl(
 appControl, 
 null,
 function() {console.log("launch appControl succeeded"); },
 function(e){console.log("launch appControl failed. Reason: " + e.name + ", " + e.message);});

results in:
    previewer app is openned but displays broken image icon.

Tried all possible variants of image path, but with same result;
How to make this work ?

 

Written by