News for hackers. Stuff that matters.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by cs702 on Monday July 02, 2012 @10:56AM (#4189113)
Very exciting. In my view, Firefox Mobile OS has a much better chance of gaining broad adoption than Windows Phone, Blackberry, Symbian, Tizen, and all other non-Android, non-iOS platforms, because its native applications are built with HTML5 and related technologies that have already been embraced by developers worldwide.

From users' perspective, virtually the entire universe of existing HTML5 applications that work on small screens will be native apps for the platform -- from day one.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by mbrubeck on Monday July 02, 2012 @12:03PM (#4189392)
To anyone who finds this platform compelling and wants to help it to succeed: You can help by writing cross-browser mobile web apps, or by making sure your existing web sites and apps work well in Firefox as well as other browsers. Right now a huge number of mobile sites (including high-profile ones like Google!) use browser-specific code.

And if you are interesting in writing web apps specifically for the B2G platform, check out the new web APIs being proposed and implemented in B2G, and give us feedback on any that you use in your app: https://wiki.mozilla.org/WebAPI

Re:Mozilla Gains Global Support For a Firefox Mobile OS by wanderr on Tuesday July 03, 2012 @03:09AM (#4192915)
I wish you guys would reconsider your position on mp3 support. We'd love to support mobile Firefox, but without html5 mp3 support, or flash support, that'll be a non-starter until Firefox OS has massive traction, enough to justify the cost of transcoding millions of files and maintaining 2 copies.

Edit: if you're going to down vote please explain why

Re:Mozilla Gains Global Support For a Firefox Mobile OS by mbrubeck on Tuesday July 03, 2012 @11:22AM (#4194435)
Yes, there are plans (though not without some controversy) to include H.264 and MP3 decoding at least in B2G (Firefox OS), and possibly on other platforms where they are available from the OS:

https://groups.google.com/d/msg/mozilla.dev.platform/-xTei5r...

The patches have already landed in B2G: http://bugzil.la/714408

Re:Mozilla Gains Global Support For a Firefox Mobile OS by wanderr on Tuesday July 03, 2012 @02:30PM (#4195472)
Awesome, that's exciting news!
Re:Mozilla Gains Global Support For a Firefox Mobile OS by chmike on Tuesday July 03, 2012 @06:25AM (#4193379)
I didn't down vote but I guess some readers disagree with your comment. iOS doesn't support flash for some years now. So if firefox OS does too, it doesn't look much like an up hill path.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by wanderr on Tuesday July 03, 2012 @02:31PM (#4195477)
Ah, to be clear I was asking for MP3 support or flash support, not both (flash support would indirectly mean MP3 support). Essentially to be on par with mobile Safari on the audio front is all I'm really asking. :)
Re:Mozilla Gains Global Support For a Firefox Mobile OS by diminish on Monday July 02, 2012 @01:21PM (#4189785)
I hope Mozilla produces a giant developer phone a la Nexus, where I may start testing those APIs.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by kumar303 on Monday July 02, 2012 @03:09PM (#4190396)
If you want to start testing the Apis you can flash B2G on to a nexus S very easily today. There will be nightly builds available for download soon too if you don't have a build environment set up

Edit: originally I listed the wrong nexus model

Re:Mozilla Gains Global Support For a Firefox Mobile OS by callahad on Monday July 02, 2012 @03:24PM (#4190474)
A Nexus One? Really? https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko/Setti... suggests that only Nexus S, Galaxy S2, and the Galaxy Nexus are listed. There's also a note that "only devices running Android 4 (aka Ice Cream Sandwich) are supported," where the Nexus One is stuck at Gingerbread.

If this has changed, I'm really, really excited. :)

Re:Mozilla Gains Global Support For a Firefox Mobile OS by drivebyacct2 on Tuesday July 03, 2012 @04:43AM (#4193150)
Please support the TORO, CDMA variant of the Galaxy Nexus. I think you'd find a lot of interested Verizon users.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by shmerl on Monday July 02, 2012 @01:02PM (#4189701)
It's still using Android graphics stack, so it's not that exciting. Tizen at least uses X.org with plans to use Wayland which is the way forward. I hope Mozilla will find vendors to use Wayland for B2G as well. I.e. Android graphics stack (when it's the only option) prevents device from being hackable, i.e. for porting other distros on it (Mer/PlasmaActive, Nemo etc.). Tizen devices with X.org/Wayland drivers will be better in that regard.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by edderly on Monday July 02, 2012 @01:42PM (#4189890)
On the contrary this is the smartest thing they could have done. GPU h/w acceleration on mobile devices isn't optional any more and rather than getting mired in the 'real soon now' world of Linux graphics they can get on with the job of producing real and usable devices.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by shmerl on Monday July 02, 2012 @02:09PM (#4190046)
I'm not saying that what they did isn't useful at all. I said it's not exciting, since these upcoming devices will be again Android (compatible) only. Rather boring, but it's not Mozilla's fault, but manufacturers'. They don't produce open specs for their hardware, and don't provide X.org/Wayland drivers either.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by daeken on Tuesday July 03, 2012 @07:29AM (#4193574)
We really don't use the Android graphics stack. We use the drivers in the kernel, and we use the gralloc stuff, but that's about it. Everything else is Gecko's own renderer.

(I work on the gfx pipeline for B2G)

Edit: Oh yea, and we use Android's libegl wrapper stuff. Not that it matters, but just in the interest of correctness.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by shmerl on Friday July 06, 2012 @02:01AM (#4206553)
I was primarily referring to the drivers architecture (which is incompatible and useless for X.org and Wayland). I mean in practice, Firefox OS targeted devices won't have X.org/Wayland GPU drivers, only Android ones. It's not important for immediate goals of Mozilla, since squeezing regular Linux graphic drivers from vendors is a horror. But it doesn't help other distros (like Mer/PlasmaActive and etc.), if they decide to make ports to these devices. It may be not Mozilla's primary goal to promote conventional mobile Linux, but in practice these devices won't help that cause (at least for now), so I feel like they won't be enough of "open devices" in that sense.

On the other hand, if X.org/Wayland based devices will appear (like upcoming Mer/Vivaldi tablet), Mozilla can enable B2G to run on them as well, since they'll provide sufficient support for OpenGL ES.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by hollerith on Monday July 02, 2012 @02:21PM (#4190113)
>Wayland is the way forward

Parenthetically, Google Chrome already has an alpha-quality port to Wayland whereas to my knowledge Mozilla has made no commitment to support Wayland, and no one has started porting Firefox to Wayland.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by shmerl on Monday July 02, 2012 @03:09PM (#4190397)
There is no need for specific port. Just minor modifications in B2G in order not to depend on any Android infrastructure. It's mostly OpenGL ES dependent: https://wiki.mozilla.org/B2G/Architecture#Gecko:_Graphics

Just instead of any Android layers, it'll use OpenGL ES provided with Wayland stack.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by runeks on Monday July 02, 2012 @01:47PM (#4189917)
> Tizen devices with X.org/Wayland drivers will be better in that regard.

Hopefully vendors will care enough about Wayland to start making their drivers compatible with it.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by bergie on Monday July 02, 2012 @11:21AM (#4189222)
Re:Mozilla Gains Global Support For a Firefox Mobile OS by Yoric on Monday July 02, 2012 @11:27AM (#4189238)
I may be wrong, but I seem to remember that Tizen HTML5 applications do not use standard HTML5 but rather a non-standard extension. This means that HTML5-for-Tizen applications do not work on, say, an iPhone or an Android device.

By opposition, every application on Firefox OS is based on either standard HTML5 or currently-being-standardized extensions. This means that Firefox OS apps should be cross-platforms.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by cs702 on Monday July 02, 2012 @12:21PM (#4189474)
bergie: my understanding is that Tizen exposes a non-standard mish-mash API and framework (partly based on Tizen's predecessors, Meego and Moblin) to developers -- an approach that isn't really comparable to Mozilla's approach of booting straight into the browser engine, giving developers a fully open, standard browser environment.

Edit: see also http://news.ycombinator.com/item?id=4189634

Re:Mozilla Gains Global Support For a Firefox Mobile OS by j_col on Monday July 02, 2012 @11:33AM (#4189275)
So does webOS, which will be open sourced by HP as "Open webOS 1.0" in September under the Apache license.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by Yoric on Monday July 02, 2012 @11:43AM (#4189309)
In the case of webOS, I am sure: this is not actual HTML 5 but a very specific SDK/framework designed for writing applications specifically for webOS, not for other platforms or the web.

In effect, this means that webOS has almost all the drawbacks of working with HTML5 (no static analysis, performance often difficult to predict, etc.) but none of the benefits (cross-platform, ability to use CoffeeScript or GWT or OCaml or any other language that compiles to JS).

By opposition, Firefox OS apps are cross-platform, can be developed with any tool, etc.

edit Yes, it is possible to write apps using standard HTML5 for WebOS. What is impossible is to write apps using standard HTML5 for WebOS that take any advantage of WebOS (sending SMS, receiving phone calls, etc.). By opposition to Firefox OS, in which even SMS, phone calls, etc. are based on open standards.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by bergie on Monday July 02, 2012 @11:46AM (#4189324)
Enyo, the framework used for webOS apps seems to now advertise cross-platform support: http://enyojs.com/

Now available for desktop and cross-browser development - Enyo 2.0 now runs across mobile environments and desktop browsers including Chrome, Firefox, and Internet Explorer

Re:Mozilla Gains Global Support For a Firefox Mobile OS by Yoric on Monday July 02, 2012 @11:56AM (#4189363)
Correct me if I am wrong, but I believe that Enyo is just the widget toolkit, which is a very small subset of the features of WebOS.

IIRC, WebOS also had APIs for, say, sending or receiving SMS, vibrating the device, etc – and none of these were (or are) standardized.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by cs702 on Monday July 02, 2012 @12:51PM (#4189634)
Not only that, but Firefox is a de-facto standard. The HTML extensions adopted by the Firefox Mobile OS team will be not just open, but also widely used from day one -- they will be present in all desktop, tablet, and mobile editions of Firefox across all hardware and OS platforms in which the browser is available.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by riffraff on Monday July 02, 2012 @03:19PM (#4190453)
pardon my lack of understanding, but what would APIs to send SMSs, dial a number, or vibrate my phone do in my desktop browser?

I mean, if they are unique to devices for which they make sense (i.e. phones) than webOS' APIs seem to be just as standard.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by Yoric on Monday July 02, 2012 @04:25PM (#4190801)
While these APIs can arguably make some sense on a desktop browser, I get your point that not all capabilities can be cross-platform.

What I was pointing out is that EnyoJS or WebOS or Tizen (afaik) do not make any effort at such portability. Sending a SMS makes as much sense on a WebOS-based device as on an iPhone, an Android smartphone or any other platform. This is one of the key differences between initiatives such as WebOS, Windows 8 or, to a lesser extent, Chrome OS on one side and Firefox OS on the other side. While these OSes offer the features of HTML 5 and some proprietary, non-standardized, non-portable extensions APIs for taking advantage of platform-specific capabilities, Firefox + Firefox OS push to make these capabilities 1/ accessible on all platforms where they makes sense; 2/ standardized so that other browser or os vendors can implement them as they see fit.

The difference is subtle but meaningful. This is the difference between "come and program for my silo platform" and "come and program on everybody's web platform".

Re:Mozilla Gains Global Support For a Firefox Mobile OS by TazeTSchnitzel on Monday July 02, 2012 @03:47PM (#4190579)
Vibration, nothing. Dialing a number or sending an SMS would be sent of to external apps (like Skype), or if none are installed, fail with an error message.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by fczuardi on Monday July 02, 2012 @07:43PM (#4191674)
I guess that Vibration webAPI could be implemented on a desktop user agent to activate the vibration of a connected playstation joystick for example, but maybe that's a different API…
Re:Mozilla Gains Global Support For a Firefox Mobile OS by TazeTSchnitzel on Monday July 02, 2012 @07:53PM (#4191709)
There's a game controller API, not sure if it has vibration.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by j_col on Monday July 02, 2012 @11:48AM (#4189329)
> ...but a very specific SDK/framework designed for writing applications specifically for webOS, not for other platforms or the web.

That is incorrect. Apps written for webOS that use the EnyoJS framework are currently seen running on iOS, RIM (Playbook), Android, and even in the Chrome web browser.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by Yoric on Monday July 02, 2012 @12:00PM (#4189379)
Again, correct me if I am wrong, but i believe that these applications cannot send or receive SMS, phone calls, VideoConf calls, using the WebOS APIs on the devices that you describe.

In other words, while EnyoJS may be cross-platform, it represents only a small fraction of the features of WebOS.

Re:Mozilla Gains Global Support For a Firefox Mobile OS by j_col on Monday July 02, 2012 @12:17PM (#4189457)
But it is still an open source cross-platform HTML5/Javascript based platform. Of course it will not enable you to, for example, send an SMS via an app running in a Chrome web browser, but I would have thought that was a given for any such platform.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by asadotzler on Monday July 02, 2012 @12:56PM (#4189667)
Windows 8 is also a HTML/JS based platform. It's not "the Web" either.
Re:Mozilla Gains Global Support For a Firefox Mobile OS by abitch on Tuesday July 10, 2012 @12:51PM (#4224735)
what's the difference between tizen os and firefox os?
Re:Mozilla Gains Global Support For a Firefox Mobile OS by mechnik on Monday July 02, 2012 @05:21PM (#4191084)
Speaking of very small screens, could it support something like Google Glass?
Re:Mozilla Gains Global Support For a Firefox Mobile OS by jonursenbach on Monday July 02, 2012 @01:07PM (#4189730)
Do users really care about all that though?
Re:Mozilla Gains Global Support For a Firefox Mobile OS by rfugger on Monday July 02, 2012 @01:35PM (#4189852)
No, but developers really care about that, and users care about cool apps.