3 ms·
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 i
by fidotron 12y ago
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?
- ozten 12y agoI 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-android-app/comment-page-1/#comment-2162369 https://hacks.mozilla.org/2014/06/testing-your-native-androi... for an example
- wfwalker 12y agoin-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 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.
- kumar303 12y agoYeah, 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 https://developer.mozilla.org/en-US/docs/Web/API
- deleted 12y ago[deleted]
- ozten 12y agoOur 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...
- micampe 12y agoSorry, 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.”
- mbrubeck 12y agoSome 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 https://developer.mozilla.org/en-US/docs/WebAPI/WebBluetooth