Search code examples
camerafirefox-ostimelapse

Writing a timelapse app for Firefox OS


As I am interested in photography, I thought that it would be nice to have a timelapse capable camera app for Firefox OS. I started to do a bit of research, but all I found was that I need a certified app to use the camera without user interaction. (via the Camera API)

At this point I started to look for a way to enable custom certified apps by somehow even tricking the OS or I don't know. When I couldn't find any way I could do this on an actual phone (some people were able to achieve this in some specific simulator versions, but that makes no sense in the case of a camera based app) I even started to think about modifying the built in camera application, but I think it would require recompiling the whole OS.

(I downloaded the GAIA source from github, and tried to install a slightly modified version of the camera app to the phone, but although it started up, there was a blank space in the place off the live view and it did not work at all.)

I would really appreciate any working methods to achieve this, or even some ideas on what I could try.

I would also welcome any guides telling me how could I do this with GAIA.

Thanks in advance!


Solution

  • WebRTC(getUserMedia) audio is landed in 1.2 but getUserMedia video will be supportted in Firefox 1.4.

    For this kind of App you should try webRTC (more specific: getUserMedia) from now, which can be test on Desktop browser or Firefox for Android.

    So once the platform support the standard, your app could run without any problem.