How to work with Camera API in Firefox OS -
i want work camera api in firefox os simulator. docs suggests available certified apps. if want take picture using camera in app, how can proceed developing app?? in advance
you have use web activities api take pictures. put, it's equivalent of android's intents
open web.
i'd write lot it, there code examples out there, like one, implementing that. have few stuff:
create web activity:
var recordactivity = new mozactivity({ name: "record" });
set onsuccess
callback, , whatever want result on it:
recordactivity.onsuccess = function () { console.log(this); }
there few more details, , of them listed on this post on hacks.
Comments
Post a Comment