News for hackers. Stuff that matters.
Re:Firefox OS Apps run on Android by fidotron on Thursday June 12, 2014 @12:57PM (#7884531)
Does this actually support the interesting parts of phone APIs like push messaging (and notifications), bluetooth, in app billing via the stores etc.?

And is it compatible with the equivalent Chrome OS APIs or are we looking at writing web apps two different ways?

Re:Firefox OS Apps run on Android by kumar303 on Thursday June 12, 2014 @01:15PM (#7884647)
Yeah, a lot of web APIs have implementations that connect directly to the Android equivalent. When writing a web app you'd always use a "web" API though. Some of those APIs are still very new and Chrome and Mozilla haven't reached consensus yet so you'd have to deal with prefixing and what not.

Mozilla's APIs: https://developer.mozilla.org/en-US/docs/Web/API

Re:Firefox OS Apps run on Android by mbrubeck on Thursday June 12, 2014 @01:21PM (#7884694)
Some of the APIs you list (like Bluetooth[1]) are available on Firefox OS, but only for system applications and not yet in Firefox for Android or desktop. This may change if the API becomes a web standard in the future.

[1]: https://developer.mozilla.org/en-US/docs/WebAPI/WebBluetooth

Re:Firefox OS Apps run on Android by wfwalker on Thursday June 12, 2014 @01:12PM (#7884622)
in-app billing is coming soon, as is simple push; the other API's will appear on Firefox for Android (and therefore be available to these apps) on an API-by-API basis, see https://wiki.mozilla.org/WebAPI

some API's are the same as Chrome OS, some are not; we are talking regularly with those folks about standardizing API's.

Re:Firefox OS Apps run on Android by ozten on Thursday June 12, 2014 @01:09PM (#7884609)
I work on the service and CLI, so I'm probably wrong... but I think we're incrementally fixing these.

See https://hacks.mozilla.org/2014/06/testing-your-native-androi... for an example

[deleted]
Re:Firefox OS Apps run on Android by ozten on Thursday June 12, 2014 @01:21PM (#7884697)
Our goal with Firefox OS APIs is to create open web standards for the sensors / capabilities on mobile devices.

FxOS is a demonstration of new open web APIs, not a new platform to lock people in.

Web standardization takes time and Chrome OS / FxOS will hopefully converge and become standards.

We should write web apps with standards and progressive enhancement. Raw access to the camera? Use that. No, getUserMedia? Use that. No, file upload? Use that...

Re:Firefox OS Apps run on Android by micampe on Thursday June 12, 2014 @01:23PM (#7884707)
Sorry, deleted my comment while you were posting this. Repeating verbatim here:

“Chrome OS APIs, like Firefox OS APIs are not web APIs, so a Chrome OS app is not a web app, it’s just a regular app developed using web technologies.”