<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi all,</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I am trying to use Application Control to pick images. </span><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">There is code for this in documentation</span></div>
<div><span style="background-color:rgb(255,255,255)"><font color="#222222" face="arial, sans-serif"><a href="https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2Fhtml%2Fguide%2Fsys_guide%2Fsysteminfo.htm">https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2Fhtml%2Fguide%2Fsys_guide%2Fsysteminfo.htm</a></font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font color="#222222" face="arial, sans-serif"><div><br></div><div>var appControl = new tizen.ApplicationControl("<a href="http://tizen.org/appcontrol/operation/pick">http://tizen.org/appcontrol/operation/pick</a>", null, "image/*");</div>
<div>var appControlReplyCB = </div><div>{ </div><div>   // Reply is sent if the requested operation is successfully delivered </div><div>   onsuccess: function(reply) </div><div>   { </div><div>      for (var num = 0; num < reply.data.length; num++) </div>
<div>      { </div><div>         console.log("reply.data["+num+"].key = "+ reply.data[num].key); </div><div>         console.log("reply.data["+num+"].value = "+ reply.data[num].value); </div>
<div>      }</div><div>   } </div><div>}</div><div>tizen.application.launchAppControl(appControl, null,</div><div>  function(){console.log("launch appControl succeeded");}, </div><div>  function(e){console.log("launch appControl failed. Reason: " + <a href="http://e.name">e.name</a>);}, </div>
<div>  appControlReplyCB);</div><div><br></div><div>Aslo I added to config.xml:</div><div><div><tizen:app-control></div><div><src name="index.html"/></div><div><tizen:operation name="<a href="http://tizen.org/appcontrol/operation/pick">http://tizen.org/appcontrol/operation/pick</a>"/></div>
<div><mime name="*/*"/></div><div></tizen:app-control><span class="Apple-tab-span" style="white-space:pre">   </span></div></div><div><div><tizen:privilege name="<a href="http://tizen.org/privilege/application.launch">http://tizen.org/privilege/application.launch</a>"/></div>
<div><tizen:privilege name="<a href="http://tizen.org/privilege/application.read">http://tizen.org/privilege/application.read</a>"/></div><div><br></div><div>As result nothing happens, just :[object WebAPIError]  message in console</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">     </span></div></div><div>Any Ideas how to get  this code working?</div></font></span></div><div><br><div><br></div><div>Thank you</div><div>Anatoliy Odukha</div>
<br></div>