Hacker News new | past | comments | ask | show | jobs | submit login
Mozilla to open first-world front in Firefox OS war (cnet.com)
234 points by je_bailey on March 1, 2015 | hide | past | favorite | 148 comments



I'm unreasonably excited about Firefox OS. Android really isn't open enough for my taste, and my trust of Google has diminished over the years, as they've encroached on more and more of the web and my data on that web. Apple has always been awful for the open web. And I'd rather write JavaScript and HTML than Java.


Android's open enough for me, but what I find unhappy is that Google seems intent on tricking people into revealing more and more information. It often reminds me to turn on history tracking, despite having said no many times.

Every time I use the Play store, it tries to get me to enter a phone number. The way it does this is by popping up a dialog, with no buttons except continue. It makes it look like you MUST do this (there's no indication you can back out), even though it's optional. That's deceptive.

And of course, the idiotic permissions system. Want to check to see if a user's on the phone? Gotta also get access to who they call and their IMEI and other permanent identifiers.

Basically, all the time I'm on my Android device, I feel like I've gotta be extra cautious, that Google's out to screw me over. Unfortunately, MS is just flubbing their system by pumping it full of crap. (They were paying devs in 3rd world countries $2000 to push out junk apps. They refuse to take down garbage/scams. They even published fake Windows Updates on the store, and other stuff that falsely claims to be by MS.) MS could fix it all immediately by offering Android app compatibility. I'd switch in a minute.

I use Firefox as my browser, mainly because of this. I wish I could switch to another smartphone platform.


> Every time I use the Play store

Try F-Droid, a repository of FOSS apps with a focus on user confidentiality. They offer some security assurance by building and signing the apps from the orginal source, and offer nice functionality such as automatic updates (which you can disable, of course). Their store and related app is a fork of Aptoide. I often can find good solutions on F-Droid, but the repository is small.

https://f-droid.org/


Small correction: F-Droid doesn't yet support automatic updates [0], but rather, automatic notifications that updates are available to be manually installed. Merge requests always welcome though :)

[0] - https://gitlab.com/fdroid/fdroidclient/issues/106


> And of course, the idiotic permissions system. Want to check to see if a user's on the phone? Gotta also get access to who they call and their IMEI and other permanent identifiers.

This bothers me the most about Android. What is the point of individual Permissions if it's all or nothing!!


The only reasonable explanation for me after years of slipping down the slope, and trying to rationalize and defend Google's actions such as :

0. Reading through all our email (We were so naive back then)

1. Google saying it would never link data from its other websites (Youtube, bloggr) with our Gmail id, and then going ahead and doing just that

2. Google announcing Android as Free, Open-source Operating System, then with each update removing functionality to Google Play Services,

3. Google sabotaging the permissions system, by clubbing innocuous, essential permissions with down-right dangerous/malicious ones

4. Creating amazing tech that could provide a quantum leap in the quality of life (for the first world at least) but will further enable Google's all-seeing eye to impinge over our daily life (Self-driving cars, Google Glass)

5. Acquiring home automation companies, robotics company with large defense contracts,

... is that Google is well on its way to becoming truly Evil.

People say that the NSA's unsaid motto is 'to collect it all'. I say that motto sum's up perfectly Google's vision.


Maybe the NSA should just outsource their IT operations to Google... Google has a better security/breach track record, and seems to do better in terms of finding what people are looking for.. I'm sure giving them more data to work with could only help. :-D


I guess it takes a while for people to realize any corporation is in the game for money.


>MS could fix it all immediately by offering Android app compatibility.

Did you also switch over to the Blackberry and Jolla?


I'd like to see a critical mass of AOSP vendors emerge that would convince Android devs to look beyond the Play store. MS shipping their own flavor of Android, along with Amazon and then BB and Jolla offering Android app compatibility could begin to turn that tide. Especially with MS being able to offer some "foundational" type apps (Bing maps, email client, MS Office, Cortana) that could address some of the holes in not utilizing Google Play services.

I don't see it happening though, MS would have to declare that their unified Windows 10 OS is a failure before it even launches.


Amazon is already working on the services. My Kindle Fire got a maps app (powered by Nokia Here) in one of the newer updates.


It's not just the lack of apps (but any Windows Phone user will tell you that it's a huge drag) but that the ROI of offering an Android app outside of Google Play isn't there.

If it weren't just Amazon's AOSP, but also (for instance) if Microsoft and Firefox also offered their own, and combined they took a respectable share of the Android install base AND their respective app stores could all be targeted by Android devs with a single deployment then we would have something.


I have a Fire Phone with the Amazon maps app. I find it extremely disappointing after coming from Google Maps. No bike routes and quite clumsy UI. And, unfortunately, even though I've sideloaded the Play Store and installed Google Maps, the text is mangled beyond legibility, so I get lost a lot more often now.


Funny, after early today having to enter "Hospital" then "Emergency Room" into maps while in down town Phoenix, I found the whole experience pretty disappointing... Google should really work on that kind of entry.


That Microsoft were paying anybody cash to stuff their app store was sufficient to make your point. There's no need to bring prejudices against "3rd world countries" into this.


Nice scare quotes. Sorry to break it to you, but it's a well known and accepted term which does not invalidate an argument by its use.


What does "Nice scare quotes" mean?

Just realised you think I'm objecting to the term "3rd world countries". The term is outdated and no longer relevant today, but is not the issue. Re-read my comment - I agreed with the point but didn't like the finger pointing at devs in poorer countries. I'm not sure why that seems to have provoked a bunch of downvotes.


>MS could fix it all immediately by offering Android app compatibility Err, wouldn't these carry over Android's permission system ?


They could fake it, the way Cyanogenmod does, e.g. return null data to apps if the user doesn't want the app to have a particular permission.


>And of course, the idiotic permissions system. Want to check to see if a user's on the phone? Gotta also get access to who they call and their IMEI and other permanent identifiers.

Use XPrivacy. It should be mandatory for anyone who uses a phone and has a clue about privacy.


What is XPrivacy?


http://repo.xposed.info/module/biz.bokhorst.xprivacy

It filters permission requests so when an app tries to use one, it gives you a popup with allow/deny temporarily/permanently options, so if an app wants to access something it shouldn't (location, contacts, device ID, etc.), you can feed it empty/fake data transparently to it.


This requires rooting, which (unfortunately) comes with all sorts of strings attached and ugly rough edges. I'd rather have the idea of a flexible permissions model built into the OS.


I'd like it too, but there are still innumerable things that also need root. I've never had a single problem from root and would never own a phone without root, for any reason. Without root, a phone just sucks too much.

Pry-fi (randomise MAC address when probing for wireless networks), Titanium Backup (backup that doesn't suck), most advanced network tools, changing FDE password to be different to lock screen password, running an sshd, detecting IMSI catchers, most performance fixes/optimisations, even just basic full filesystem access - all need root too.


> They were paying devs in 3rd world countries $2000 to push out junk apps

Do you have a link for that? I can't seem to find any reference to it.


Actually I might be wrong: http://blogs.msdn.com/b/jennifer/archive/2013/03/12/keep-the...

But from using the Store, the overwhelming majority of crap appears to be distinctly from not the US. Having dealt with local MS subsidiaries, I'd be surprised if they didn't do similar stuff. The ones I've seen are quite eager to promote and can get cash from Redmond.

Or, seeing as how MS regularly publishes stuff that's a total fake, even when the publisher claims to be Microsoft itself, I wouldn't be surprised if they didn't validate US residency here.

Or I might just be biased and the publishers just have terrible English and uncommon names for North America. But some of them used the letters "pvt ltd" in their fake company names, which is not common in the US.

Email me if you want some more details. I've got screenshots of lots of the junk, but I'm on my phone and don't have the links handy.

Being paid is common enough, and I've heard of companies getting 5-6 figures from MS to port stuff. But I think getting paid per app, like the link above shows, is the only explanation for some of the broken shovelware that's dumped on the store. Maybe advertising, but there doesn't seem to be any install volume. (Paid scams are a different story, like fake Netflix or WinRAR.)


I am a guy who gives everything to Google, have every god damn thing turned on on my Nexus. It's not that I trust Google, I have come to terms with the fact that privacy is dead.

The overall experience when you do give Goggle everything is quite good ( Google Now ) but I too second your opinion about Android permissions, its really idiotic.


BS. Privacy is not dead. You just gave up your privacy because you wanted a smartphone and wanted to use Google Now.

Privacy while connected to the internet is almost dead but even then it's weak to just surrender. And I think more people are fighting than you might think. Using an app like TextSecure for example is giving back a little privacy.


Google Now is of course sending your voice clips to strangers: http://motherboard.vice.com/read/strangers-on-the-internet-a...


Yeah, it was pretty wild when I am seeing even reminders (flight times, show times, etc) from stuff that I received in my gmail inbox. It's convenient, and makes sense, but a bit unexpected.


I like Android (the AOSP) in itself, but I very much dislike how Google ships it with a lot of their own (proprietary) apps that can't be uninstalled (the usual way).

Some of Google's features may be nice, but I don't want them to track me and get all my private data from my phone.

I'm using CyanogenMod without all the Google apps. It's nice, but the experience just isn't as nice as you have it with Google-Android. Most of the features could be done without tracking users, however.


I also use CyanogenMod without Google Apps, albeit using MultiROM so I can boot into vanilla Android if I need to.


With Firefox OS you could also write C or C++ (possibly Rust eventually) thanks to emscripten and asm.js. But, crucially, asm.js makes them portable. No compiling for different architectures.


I like that they are targeting the low end, both in developing countries and now in the US. I need a phone for email/sms/phone, and I use the browser, calendar, calculator, and authenticator, but really that's about it. I don't want a 5-inch device in my pocket for this use case!


> Apple has always been awful for the open web.

Apple played a massive part in the success of the mobile web and responsive design. The release of Mobile Safari and WebKit was a watershed moment. Before that point, the mobile web largely consisted of separate, pretty awful sites on WML. Afterwards, most mobile platforms had a default web browser based on WebKit, and the mobile web transformed as a result.

I'm not saying Apple are perfect, but saying that they've "always been awful for the open web" is grossly overstating things.


I don’t want to sound like a broken record, but Webkit was originally a fork of KHTML, which is LGPL, so they were required/forced to release it under the same license.

And based on the their upstream contributions[1] it doesn’t look like it was a gesture of goodwill.

[1] https://en.wikipedia.org/wiki/WebKit#Split_development


> I don’t want to sound like a broken record, but Webkit was originally a fork of KHTML, which is LGPL, so they were required/forced to release it under the same license

No, they were forced to release parts of it under the same license. There was a lot of original Apple code that could be separated out easily and released under any license they wanted (or kept proprietary) as long as they released them as object files so could modify and relink in the modified LGPL parts.

The parts that Apple was not required to release under LGPL they released under BSD.


The well-known fact that WebKit has an origin story in KHTML is completely irrelevant to the point being made. Apple was the one who put substantial engineering effort into making the mobile web work well, and released their work with the most open licenses they could.


OK, I'll give them credit for strong-arming the web into giving up its addiction to Adobe Flash. That was a win for the open and standards-based web.


That credit should probably go to Google, and to a lesser extent to Firefox (which at least tried).

Google used the strong weight of Youtube to make sure all web browsers implemented a replacement, a long and tiresome process that took the better part of ten years. They bought companies and gave patents away along the way.

I'm not sure exactly what Apple did. Please enlighten me.


Apple kept Flash off the iPhone, at a time when nearly all web video was in Flash, and when iPhone was the phone to have. There was much gnashing of teeth, but Jobs and Apple stood firm, and demanded the world come to them (which is their way, but in this case what they were doing was for good and not evil).

It definitely wasn't just Apple. Google and Mozilla certainly played a huge role, and I definitely consider them much better web citizens than Apple (Mozilla best of all, obviously), but a lot of sites switched to HTML5 video only because they wanted to be watchable on iOS devices.


Google and Mozilla definitely plaid a supporting role but the iPhone was the main act because it was the device which executives wanted to use. In addition to web video, that also pushed HTML5 in general because all of the IE-only internal apps didn't work on the CIO's new pride and joy.


Apple didn't keep Flash off the iPhone specifically. They made a blanket ban against all scripting languages when they realized they needed native apps after all and opened the App Store.

Adobe could have struck a deal there, given Apple their 30% and only allowed blessed scripts through the App Store. But they didn't. I would be surprised if there weren't neogiations about this, but in the end Adobe refused.

(Other scripting languages budged, which is why you can find Unity games in the App Store, but not Adobe Flash games. Unity was also banned at the same time Flash was.)

So if anyone kept Adobe Flash off the iPhone, that honor should probably go to Adobe itself.


What replacement did you mean? Google removed H.264 support from Chromium, and announced that they would remove it from Chrome.


The Nokia N80, launched in 2006, came with a Webkit-based browser. WAP had mostly died in the smartphone market long before the iPhone came along, in no small part thanks to Opera Mini & Mobile.


For the first couple years, you're right, but they've coasted on that success for far too long. They've been dragging their feet on fixes and features since then. The fact that they haven't been as bad as MS in the IE6 days is hardly worthy of praise.


Is it possible to write good mobile apps in JS and HTML, compared to Android or iOS? I don't know much about mobile programming, but it seems much harder for JS to compete with native apps, no?


The startup I work for was approached some time ago by Firefox in order to ship our app on FFOS (our app has ~1 million daily users, so we regularly have this kind of proposals). I did not participate in this firsthand, but from what I gathered from my colleagues, the FFOS SDK is so atrocious that sadly the idea of porting our app to this OS is laughable. On the other hand, we are fully committed to our iOS and Android app (in objc & java) and are mostly satisfied by these two SDKs. It might be an unfair comparison though, Google and Apple have had way more time than Mozilla to improve their respective SDKs.


I'm interested in knowing more what makes developing for Firefox OS "atrocious". There's no sdk per se, and maybe this is what bothers you. If you have no web version of your app and not seasoned web developers then for sure the porting effort can be almost a full rewrite, but so it is with any new "native" platform.


I tinkered with Android development when the original Google Developer Phone came out (aka G1). And, after years of not paying it any attention, because my focus was on server development, I've started learning my way around it again. It's not even the same world. So much of the tedium of developing in Java has gone away, due to better libraries, much better tooling, and just all around a bigger/better ecosystem. Making apps for Android, even without starting with a third party framework or tool, is vastly less time-consuming than it used to be.

I believe it's fair to say Firefox OS SDK will get better. I suspect we'll see interesting things happen just because it is primarily JavaScript+HTML5. There are a half dozen (or more) projects to make it possible to make Android and iOS apps in JavaScript, and they're popular, despite having dramatically less support and tooling available (as much as I hate Java, and I really do hate Java, Android Studio almost makes it tolerable).

I haven't seen the Firefox OS SDK yet, though I plan to check it out, and pick up some kind of dev phone soonish, but I would bet that it's at least on par with some of the early JavaScript+native frameworks cropping up lately. Stuff like Ionic, React Native, etc. All of those are new and sloppy and don't have settled toolchains, etc. But, the desire to work in JavaScript instead of ObjC or Java is pretty strong for many people, as evidenced by the huge quantity of people doing it despite it probably being more effort than coding in the standard language of the platform.

I think it's kinda like desire paths: https://en.wikipedia.org/wiki/Desire_path

JavaScript is the path a lot of people want to walk for making mobile apps. Firefox OS is the first to make it the primary way to develop apps for the platform. I suspect the application developer uptake will be very rapid; probably more rapid than previous platforms, and more rapid than the actual user uptake. This is a platform that allows you to use your existing web development skills right out of the box...and there are a lot more web developers than Java or ObjC developers in the world.


"JavaScript is the path a lot of people want to walk for making mobile apps. Firefox OS is the first to make it the primary way to develop apps for the platform."

Not true at all, actually; I was doing this back in 2009 on Palm's webOS platform as one of the first wave of devs with early SDK access.

IMO, webOS' adoption of HTML5/JS apps as "native" was too ahead of its time, and unfortunately early enough where the intersection of hardware of the time and browser JS performance left it looking pretty janky compared to IOS and Android. Still, I loved developing for the platform in spite of everything that happened around the OS.

All that said, I'll probably give FFOS a shot as a development target in the near future.


I have to say that WebOS on the touchpad was probably my first positive tablet experience as a user.. the UI made total sense and worked incredibly well... I think that Android and iOS have finally caught up, but there's something to be said for webOS' simplicity in design.

It was definitely ahead of its' time.. I didn't stick with it long, as the browser became very dated, very quickly.. but overall it is still one of the better devices I've used (aside from HP's choice for a janky proprietary charger).

While I really like a lot of where the current Android has gone, I think some choices are just difficult for power users.. for more than 2 email accounts (let alone 5+) the gmail interface truly sucks... some of the flyover buttons (like new message) are just awkward, and some of the other apps are weird too.

The experience in google maps seems to be getting worse with time and more use as well. Hangouts as a replacement for google voice is cumbersome and incomplete... I think of this era of android to be akin to Windows Vista at release... some great ideas, but half baked... Hopefully it gets better not worse.

I haven't used iOS on a regular basis enough to comment there. I prefer JS + HTML for apps, it's not a bad idea all around... It (webos) was one of the earlier places for node development (before it got really good).


The webOS UI design and interaction model was something pretty damned amazing for its time, and still unparalleled in certain aspects. No doubts there.


JavaScript is the path a lot of people want to walk for making mobile apps. Firefox OS is the first to make it the primary way to develop apps for the platform.

It has been possible to write fully native (not webview wrappers) Windows Phone apps in HTML and JavaScript for the last four or so years, but web developers didn't really adopt the platform (and those that did primarily used C# and XAML). You can scoff that it was something to do with Windows Phone OS's abysmal market share but then I don't see how you would be able to draw a different conclusion that FFOS will fare any better.


Two things:

1. I had no idea you could make native Windows Phone apps in HTML. This may be a failing on my part for having less than zero interest in Windows Phone (though I find my dislike of Microsoft has faded quite a bit, as they've embraced more openness and more fair dealings with the rest of the world).

2. I don't think we mean the same thing when I say "the primary way to develop apps for the platform". I googled "how to develop windows phone apps" and followed the trail to the most obvious seeming instructions, and found this in the Microsoft Dev Center:

"When you create a new project, you also make the following selections:

Your preferred programming language - Visual C#, Visual Basic, or Visual C++."

So, if JavaScript+HTML5 is a good, and "official", way to make apps for Windows Phone, somebody needs to tell Microsoft, because they don't seem to realize it.


Well, maybe you should improve your Google-fu

"Get started with Windows Runtime apps. You can write a Windows Runtime app in a variety of languages, such as C# or C++ with XAML, C++ with DirectX, and JavaScript with HTML/CSS. Now you can easily create apps for Windows devices and Windows Phone from a single project."

Taken from https://dev.windows.com/en-us/getstarted

Free trainings and ebooks:

http://www.microsoftvirtualacademy.com/training-courses/deve...

http://blogs.msdn.com/b/microsoft_press/archive/2012/10/29/f...


If I had the choice to program in C# or Java I wouldn't touch Js. I can't take the language seriously when the are languages that does things so much better being offered.


Funny how that works. Some people like one thing, others like another. It just doesn't make sense, sometimes! Why doesn't everyone only like what I like?


Never did I say people should like what I like.

I like JavaScript just fine for what it was originally designed for.


100% agree here. I have same feeling.For some reason 15 years ago i learned basic java script from some "learn in 21 days book" and they quoted it as a helper language to get things done at client. And for some reason i can't seem to come out of that and still use it only where i needed.


> JavaScript is the path a lot of people want to walk for making mobile apps.

Web OS and Windows Phone support for JavaScript are a living proof people don't really want to.


I'm not sure that's the entire story of what's happening. There are a lot of factors that play into whether a new platform succeeds, and it is never just the way one makes apps for it that makes or breaks the platform. Obviously, there are people who will use any technology, no matter how poor, if it means they can make money in a growing market. iOS showed that; while the APIs for iOS are quite well-designed, ObjC is not particularly wonderful environment for GUI apps compared to many modern alternatives. But, a huge user base means people will learn ObjC in order to make apps for it. In fact, the only reason ObjC is relevant at all is because Apple put in on their phones and tablets. But, even Apple can't keep it alive forever...Swift is obviously their answer to more modern development approaches.

This has played out in many other markets, including desktops and servers, where higher levels of abstraction won mindshare over time as technology (both hardware and software) advanced to make it feasible. When I started using person computers (8 bit machines), software of any seriousness was written in assembly. The next generation (16 bit machines) brought good C and Pascal compilers, and applications built with those tools. Only now are we seeing serious talk of replacing C/C++ with something else for systems programming (maybe Rust, maybe Go, etc.).

Being right but at the wrong time is just as bad as being wrong. Maybe WebOS was right, but at the wrong time...maybe apps made in JavaScript five years ago weren't snappy enough on a phone. Maybe the tooling wasn't there. Maybe the VMs weren't good enough. Maybe they are, now.

I don't know. But, Mozilla has shown itself capable of taking on the biggest companies in the world with open web technologies, and holding their ground tenaciously. I believe they have the clarity of vision and the technical chops to pull it off.

Finally, I just want a Firefox phone. So, I may have rose-colored glasses. I think Firefox is the bee's knees, and I think Mozilla truly represents one of the most positive forces for good in technology today. I want Firefox OS to win. If it can't win, I want it to be a serious contender.


I don't know. But, Mozilla has shown itself capable of taking on the biggest companies in the world with open web technologies, and holding their ground tenaciously.

There are zero switching costs associated with a browser. It costs nothing to download and run Chrome, Firefox, Safari, IE, etc... The switching costs associated with phones is obviously much higher. Mozilla has to win ground in the mobile OS wars before they can even think about defending it.

Not trying to be a downer, I would like a viable mobile OS to break up the current duopoly, especially one that really embraces the web. I just think Mozilla has a hell of a fight ahead of it and it can't win it on merit alone.


Isn't the point of JS that you do not need an SDK!? If I need to use something else then notepad to write a program for FFOS - that would be a big turn-off.


I think you're mistaking a SDK (software development kit) with an IDE (integrated development environment). A SDK is nothing more than a set of libraries that allow you to write code for the target hardware. In this case, the SDK consists of a Firefox extension that you can install, which gives you an emulator that will simulate the phone hardware.

You can totally write FirefoxOS apps in Notepad if you want to. It is just HTML, CSS and Javascript (and a JSON manifest that tells the OS where the entry point for your app is).


I thought the whole point of Firefox OS was that the hardware layer would be accessed through JS API's like window.ondevicemotion, Canvas, navigator.geolocation, window.DeviceOrientationEvent, navigator.getUserMedia, navigator.vibrate, 'devicelight', navigator.battery.level, SMS, contactList, etc. And that the Firefox team would add even more features that can be accessed from the VM layer. And making the Firefox OS the most secure OS by adding app permissions. And that the VM could not be bypassed unless the computer gets re-flashed.

This might sound funny, but considering Moore's law and where we currently are on that exponential curve, making a fully virtual OS will be the next step in the PC evolution. You shouldn't have to write low level interrupts or accept that apps need full root access anymore.


>This might sound funny, but considering Moore's law and where we currently are on that exponential curve,

In case you haven't noticed, the exponential curve has already started to level off. Moore's Law is done. Every incremental improvement from Intel offers smaller and smaller improvements, as transistor sizes run into fundamental physical limitations imposed by quantum mechanics and thermal and battery-life constraints impose limitations on the amount of power a chip can use. Combine that with fact that RAM speed stopped scaling about a decade ago, and the conclusion is clear. Moore's Law isn't ending. It's already gone. As far as desktop application developers are concerned, Moore's Law ended about a decade ago when single-thread performance plateaued.

Yes, we have more and more cores, and more and more cache. But the cache is only there to make up (poorly) for the fact that RAM speeds haven't scaled. And more cores don't help, because most desktop applications don't parallelize easily beyond ~2 threads. Yes, the user is able to run more applications at the same time, but each individual application is still running at about the same speed.


I briefly looked at Firefox OS a few months ago and my conclusion was that the primary issue was neither JS nor HTML but rather that there is no canonical UI framework for the OS (please correct me if I'm wrong here). This means that there is no consistent look and feel across apps.


It all depends on the hooks that Mozilla provides to the JavaScript developers. These hooks are the way that the web page can interact with the phones built in hardware. If these API's are sufficient then there is no reason that these apps can't execute as well as an app on any other phone.


I think it might depend on the OS. In iPhone or Android, I think it is possible to write a 'good' mobile app, but not as good as the native apps.

In Firefox OS, an OS designed from the start with the idea of JS/HTML apps? I don't know, we'll see, I guess!


Correct me if I'm wrong but I don't think you can write native apps for Android or iOS either. Also recently there's been way more effort on improving JavaScript VMs than Java's.


On the latter, why is that? Is it that Java's VM is already very mature and the community doesn't feel that urgency on "improving" it? Another question. What does Java VM have to do with Android?


I'm not a mobile developer so you shouldn't ask me but basically because of web browsers there's a JS VM in every PC and smartphone nowadays which isn't necessarily the case with Java. And Android runs its applications on a Java VM called Dalvik: http://en.wikipedia.org/wiki/Dalvik_(software)


Dalvik is not a Java VM though it is a VM. As of Lollipop Android left the whole VM thing behind and moved to ART so there is no stagnation on that front You linked to the page that states it all but its like you didn't bother to read it yourself.


Dalvik is a joke, even v8 is faster than it and it's not a JVM. That's why Oracle was trying to sue Google.


I'm pretty sure that's wrong on both counts. Android has the NDK and iOS apps can be written in straight C/C++.


Ok thank you, that information is pretty hard to stumble upon when you don't know where to search. Although on Android you can't seem to be able to build a whole "native app", only some components of it cf this now removed quote from:

http://developer.android.com/tools/sdk/ndk/index.html

> If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device.


I help a lot of middle aged and elderly people who are not all that tech literate, and get asked a lot for recommendations, and I definitely think there is a niche for something between feature phones and smart phones. A lot of people are not interested in putting in the investment of time and money to get up to pace using Android or an iPhone. There's quite a big step to using those devices, for instance in managing data use, or in the way that phone functions recede amongst new smartphone features. With Android as a new user you can even for all intents and purposes lose your dialler, by pressing and holding the icon incorrectly.

iOS isn't interested in meeting that market, because of low cost, and if they did attempt it both Android and iOS might well suffer in trying to alter and dilute their brands and the unity of their interfaces.

It also works quite well as an target market, because a lot of the apps that would be expected are quite simple, and shouldn't be too difficult to create using web technologies - maybe news or magazine apps, cinema or TV listings, weather and so on.

Combine the right interface with a price of £50-£100, a good battery life, and a credible promise over security and privacy, and it definitely seems like an option which could get into the retail stores, and a place in the market of perhaps 2-3%, which is a good place to start.


By some definitions I'm "elderly", but I can read small print, operate tiny buttons on devices, and think abstractly just fine. I do my best, keeping up with technologies is hard, but doubt I'm alone in that respect.

In any case, I'm excited about the Firefox OS not because I'm old but because I'm interested in a technology that holds a lot of open-source promise: lower costs, non-coercive apps, respect for user privacy, among others. The app (and OS) development model encourages transparency (promotes security) and with a "lower bar to admission" invites wider participation among users.

Since I'm pretty familiar with web programming I think it will be great when FOS devices become available in N. America. I think it will attract many people looking for the alternative it offers.

Us elderly folks tend to value simplicity and utility over bells and whistles, after all, by default a senior's life is complicated enough. We're old, we don't have time to waste, we see through a lot of the marketing hype and unnecessary crap. When there's a task to do gimmicks are just a hassle--making a phone call should be simple, sometimes it's all a person is aiming to do.


FWIW my post was awkwardly written, it might have been better to say I help a lot of people who are not all that tech literate and are also middle aged and elderly. I don't mean that people over a certain age are inherently in that category, just that there is a significant market there.


I agree there's a good opportunity for simpler phones that still get some of the benefits of smartphones rather than a 10 year old Nokia.

That said, I don't see much in the article to suggest this is what Mozilla is going after. Yes, some of the devices will be cheap, but there are plenty of cheap Android and Windows phones too.

Even if an OS did target just this market, the problem would still be a lack of apps. They might not be the kind of users who install 10 home screens full of apps, but many of them will be interested in a handful of apps in different categories, so the long-tail marketplace still matters. That's where there's an advantage to an Android phone customised for simple usage, but still with the ability for a user (or their tech-savvy friends/family) to install a wide range of apps if/when they want to.


They do talk about that market to a certain extent in the article, which I was glad to see.

I think on limited apps, it's worth saying that beyond a relatively small number of apps like Facebook or WhatsApp, someone moving from a feature phone won't necessarily have any interest in existing apps on other systems. In general they won't want Google Maps or Waze or Telenav Scout (and won't ask for those while buying the phone), they want to type 'directions' or 'weather' and have something useful come up.

That lowers the barrier to entry, although of course there is still the basic requirement that enough useful apps are there, which imo doesn't yet currently apply on FxOS.


There are other articles that do go into an initiative from Mozilla, Telefónica, Verizon and other phone companies to make flip and slider phones using a version of the OS with a simpler interface.

http://www.engadget.com/2015/03/01/mozilla-is-bringing-firef...

http://liliputing.com/2015/03/firefox-os-coming-to-low-end-f...


OT: Do you have any recommendations for elderly users? Any resources would be great, too. I've looked around but it's hard to find current, reliable information on a somewhat unusual topic.

The specs I find myself dealing with are the following, which I think are typical:

* Very little knowledge of mobile computer conventions, or any computer conventions: Icon literacy, swiping, tapping, home screens, etc. Some don't understand what a web host is, or the difference between a browser's search field and its address bar.

* Constrained physical abilities: Vision to see small print, dexterity to swipe correctly, etc.

* Limited ability/motivation to learn more


Strangely enough, Windows Phone 8.1 is a great option for this demographic. The typographic is big and bold. There are very few "places" in the UI.

The OS is pretty efficient with battery, and IE 11 is a reasonable browser.

Outlook syncs well with gmail and I guess access to the latest greatest games is not a concern.


Man, webOS ruled in this market before the epic journey that was its downfall. I had to drag unwilling family members kicking and screaming to iOS, unable to give a good explanation for why it was missing so many conveniences webOS had.

It would be nice if another OS could be as instantly familiar as it was, as willing to be as simple or as complex as its user asked it to be.

It's funny how even today iOS and Android are just catching up to some of the beauty of webOS. Pieces of it live on in blatant (sometimes poor) rip offs, but even today I still miss it.


This sounds interesting, could you list some of these conveniences?


From before iOS 5, webOS had pull down menus, wifi quick-select (STILL missing in iOS) card-based interface, card-based background-pause multitasking, backgrounded music player, card-based multitasking switcher with swipe-up to close, and the list continues. If these sound familiar it's because iOS ripped off so many of them.

http://www.theverge.com/2013/6/11/4418188/apple-ios-7-design...


Got to try a Firefox OS phone (or three) last week at a short hackathon in Telefonica Digital's offices in London.

The first device I tried (and apparently the one with the beefiest hardware) was an Alcatel One Touch Fire. My enthusiasm took a sharp turn downward from the moment I unlocked the device; accomplished by sliding the screen left to right, the animation was jerky, did not track my finger accurately, and skipped to the end when I let go of the screen halfway through the width of the screen.

One of the hosts was quick to point out that the lock screen interaction was actually custom programmed by Alcatel, and so is the rest of the user interface, at which point he pointed to try a different device running something closer to "stock Firefox OS."

I'm enthralled by the promise of helping the web win by creating a device category where the web is a first-class citizen, but I'm doubtful it will happen if manufacturers outsource their tasteless UI customizations to web dev interns.

Sunspider came out at roughly 1600ms, which places the mid-2013 Alcatel somewhere in the performance bracket of an iPhone 4 (mid-2010, flagship device). Despite the rough benchmarks, I ran some Famo.us demos and they were surprisingly usable, and I could easily get a physics-backed drag interaction to run smoothly inside the browser.

I'm waiting to try out a Firefox OS phone with cutting edge hardware.


It has definitely been an up-hill battle for Firefox OS trying to gain market share, but I think everyone (including Mozilla) expected that. Having played with one of their earlier test units and the newer Firefox Flame with FFOS 2.0, it has come a long way. Even our Android-obsessed designer loves the Flame.

It's a tough situation to be in where they need to improve the quality of the ecosystem, but need users to convince the big-wig devs to developer for the OS. The total user numbers we've seen from them is certainly better than we expected, but still too small to convince a major developer to build for Firefox OS on numbers alone.

If their platform wasn't the web, I'm not sure they'd have much of a chance at success, but being able to convince a developer the values of building for the web is much easier than building for a fairly new mobile OS.


What is the official way to learn about Firefox OS releases? I can't figure out which version of FxOS has which status, despite being subscribed to mailing lists.

Flame update page [1] has images for 2.0, 2.1, 2.2 and 3.0. LG/KDDI Fx0 has apparently shipped in Japan with version 2.0 [2] on December 25, 2014. All this suggests that at least version 2.0 has been released. Yet Wikipedia page [3] doesn't have release date for version 2.0 onwards, and I don't know where else to look.

[1] MDN: Updating your Flame https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/F...

[2] Mozilla Press Center: Mozilla and KDDI Launch First Firefox OS Smartphone in Japan https://blog.mozilla.org/press/2014/12/mozilla-and-kddi-laun...

[3] Wikipedia: Firefox OS | Release history http://en.wikipedia.org/wiki/Firefox_OS#Release_history


The release management page is https://wiki.mozilla.org/Release_Management/B2G_Landing. You can probably think of the code complete date as the lower bound on a production device shipping with that version of the software.


Firefox OS, being based on HTML/CSS/JavaScript, sounds a lot more hackable than Android to me. Well, you can hack Android pretty heavily - forking CyanogenMod, writing Xposed plugins, etc., but Java is just obscure and the compile/deploy/debug cycle is too cumbersome for casual hacking.

Hence I look forward to Firefox OS as platform I can easily hack, but I am not sure whether it really is. Could someone with experience tell me:

* How easy is it to deploy a FxOS app? How is the remote debugging experience?

* How easy is it to hack the core apps (e.g. phone, SMS)?

* How easy is it to hack the "framework" (e.g. window manager, status bar)? Is it even written in JavaScript?


* deploying apps is super easy - either host them on a web server or push them from firefox's webIDE, and remote debugging using the firefox devtools just works.

* hacking core apps is totally doable. You need a rooted device to update them though. Currently the best ones would be nexus 5 or sony z3(c).

* everything that is displayed is html/js/css. What you call "framework" here is part of the system app (https://github.com/mozilla-b2g/gaia/tree/master/apps/system). It's a fairly large app, but it's where a lot of the fun stuff is!


Hijacking this:

Is is possible to replace system parts with 3rd party stuff? I'm mostly talking "change the keyboard" here?

If it is, is this possible by modifying/replacing the current keyboard only or can this be something out of tree?


We support 3rd party keyboards now, so you can provide one out of tree.


Thanks. Now I am really looking forward to playing with FxOS!


I really wish to see a great third mobile OS with a marketshare in the two digits. I appreciate the spirit behind FFOS, so I would like to see it take that place. I am not sure of how they want to achieve that though. However, AFAIK, FFOS does not really bring anything new to the table, so I have trouble seeing how it could make an impact in the first-world.


Not being tied to an app silo is pretty unique. Unfortunately most people are either ok with that or haven't yet realized. Uphill battle for sure.


One thing to note is that hardware and OSs exist to run apps. Some of these apps are built-in like Phone or Mail.

However, most are not, and may never exist outside that OS - games are a good example. When will Skype and Webex (two very important work uses of my phone) come to FFOS?

These problems go away if you are not courting heavy app users, but I would not call this an "App Silo" - these are investments people have made in time, knowledge and perhaps money, and even if they exist on another OS (see reviews for various Android apps that migrated from iOS like Audible) may not ever have the same feature set or usability.


Not really. Android lets you sideload apps pretty easily, and it even has third-party repositories like F-Droid.


That does not make the transition from iOS to Android or vice versa easier. Once you have invested in one ecosystem, you lose your investment if you switch. That does not happen on the web, where you can switch from a browser to another with a very marginal cost.


Actually, it does. For example, you can run them on the Samsung Z1 which runs Tizen (not Android), thanks to OpenMobile's compatibility layer: http://www.androidcentral.com/samsungs-tizen-powered-z1-riva...


Here's what Mozilla needs to "fix" in Firefox OS IMO:

- have real browser. Seriously. Firefox on Android is a much better browser.

- handle the software, and the updates, Microsoft-style. Maybe have OEMs pay for this service, maybe involve the community. Seriously, all Firefox OS devices sold have an ancient version of the OS. It means I'm safer when I'm using Firefox on Android than when I'm using a Firefox OS phone. I understand the tradeoffs that led them to this decision (their dependency on the Android stack for example), but they seriously need to rethink it.

- allow for native code to run. I know it's hard. Even Google with it's uber-optimized (or so they thought at the time) Dalvik (for small phones) understood the need for the NDK. I'm not sure asm.js can cut it, as I've yet to see console-class games on Firefox OS like there are on Android and iOS.

- Of course, they need to continue their groundwork on APIs. There shouldn't be a thing you can do on say, iOS or WP and not in Firefox OS (and I'm not saying Android because it gives a lot of power to developers).

- They need a flagship phone, for everyone. Not a "developer phone" (although it can act as one), but a real flagship.


Firefox OS is a great idea, and if it was 2010 it would probably stand a good chance at succeeding with the correct launch strategy. But its not 2010.

This weekend I had a chance to play with a Jolla smartphone. Hardware wise it pretty good, and had some really good ideas, but the software was half baked. While in time both Jolla and Firefox OS could become great products, but time ran out a while back.

You now have to come to market with all the pieces (and then some). You can't adopt the "build it and they will come mantra" because unless you can give users a compelling reason to switch without losing functionality they won't come. The hardware wars are long gone. The app wars ended a few years back. We are now in the ecosystem wars and Mozilla (and Jolla) appear to have no answers for this (or have answers "coming soon").

The sad fact is that from here on out it's iOS and Android in a tussle neither can win, and unless the phone market resets itself like it did in 2007 there is very little anybody else can do.


There are a lot more people who can write a web app than a mobile app, by a factor of 10 at least. Give them a platform where it's trivial to make an app (easier than, say, Cordova/PhoneGap), and make it free, and you could easily disrupt the mobile market to a small degree.

If FirefoxOS is a success the next challenge will come from the fact that iOS and Android could easily have HTML5 apps too with a native WebviewUI 'player' app, and if FirefoxOS gets any traction their respective developers will add that functionality quickly. Hopefully, for consumers and developers alike, they'd all have compatible APIs so mobile apps would be truly cross-platform, but that's not very likely.


I would believe that if Web OS, Windows Phone HTML apps, Tizen, Blackberry, ChromeOS didn't already prove users and developers alike don't care.


At this point "a small degree" won't amount to anything. Look at how much money Microsoft have had to burn through to get the few percentage points they've managed to amass. And they still can't get developers onto their ecosystem despite the bribes they've thrown out.

It's go big or go home time and Mozilla simply don't have the resources to do it.


Is there perhaps a market for Firefox OS among the few who care about privacy more than app availability? Or are they all happy using Cyanogen?

(Obviously it would be great if OSs were properly decoupled from hardware like in the old PC days before UEFI, but I can't see any way of getting back there other than a very long political slog. Title II gives a small amount of hope for that.)


I was given a Firefox OS phone at Mozfest last year. I lost my other phone earlier this year and so used it exclusively for four weeks. I'm sorry to say it's pretty terrible at this stage. I was using v2 of Firefox OS.

The problems are broadly that it was slow, unreliable and poorly designed. It would just become completely unresponsive a couple of times a week, requiring the battery to be removed to restart. There are very few well known apps. Twitter seems to be the only one, and it was so slow for scrolling that I gave up using it. The included apps were just placeholders to install apps, almost all of them only worked online. I wouldn't recommend getting one to anybody. I'm sure you could buy a cheap secondhand Android and have a better experience. It was worse than Android 1.6.

There's such a huge mountain of work for the Mozilla developers to get this to be in anyway competitive to Android. I think Mozilla would be better to concentrate their resources elsewhere.


Maybe Mozilla just needs to launch their own Android AOSP implementation and provide developers with a way to build fully native Android apps with JavaScript.

Or is AOSP not going to run on the kind of hardware FFOS is targeting?


Mozilla has already developed technology to make web apps appear as native on Android. Go and check out the Firefox Marketplace.


>programmers could write an app just once with Web technologies that span not just iOS, Android, and Firefox OS, but also Windows Phone, BlackBerry OS, Tizen, Ubuntu and any other mobile operating system that arrives tomorrow.

This, to me, is the most powerful prospect of Firefox OS.

I have been "writing apps" in HTML, Javascript and PHP ever since I can remember.

They are just as responsive and useful as any app I have ever used on my Android. Which works fine, but had recently been creeping the heck out of me because it's distributed by Google.

Every app is virtually a simple website imho. Look at google docs, for example. Angry birds could easily be written in javascript. As could flappy bird, and virtually every game I can think of.

I see no reason to bother writing a piece of software that can only be used on Androir or iOS, except for sheer greed, so I haven't. It's worked out well for me so far.

Here's to hoping Firefox OS comes to the first world sooner rather than later.


> I have been "writing apps" in HTML, Javascript and PHP ever since I can remember. > They are just as responsive and useful as any app I have ever used on my Android.

I've yet to see any mobile web app that's as responsive and useful as a native one. They're slow, can't make use of platform features (e.g intents on android, native google login flow) and they always look out of place.


I hope Mozilla make a phone aimed at tech first movers (hacker news crowd etc), we seem to be the most likely to support attempts at openness. It would have to be high end though. A bit like Ubuntu tried to do with the Edge.


If you have a Sony z3 or z3c, you can build and flash firefox OS on it. These are really nice devices imho.


Doing this blows up your camera's low-light performance. Don't do this unless you don't like your phone (and I like mine, so I sure won't).


I'd rather they'd push Firefox on Android more. Firefox OS seems stillborn, but Firefox/Android is a good product and mobile could need more browser competition.


I feel like one thing they could do to promote Firefox OS would be to make it possible to run Firefox OS applications on Android; create an installer/app store that would allow you to install them as if they were native apps, but they would be using a shared runtime.

That would really help to make it worthwhile to develop FxOS apps; actually having a large installed base of phones that they could be used on, in order to help bootstrap the ecosystem up.


> I feel like one thing they could do to promote Firefox OS would be to make it possible to run Firefox OS applications on Android; create an installer/app store that would allow you to install them as if they were native apps, but they would be using a shared runtime.

Good news! That already exists in Firefox for Android, it's called Firefox Marketplace, it works by packaging up the apps as apks, which means they can operate as native android apps with access to native device APIs.


>make it possible to run Firefox OS applications on Android

https://hacks.mozilla.org/2014/06/firefox-os-apps-run-on-and...


as someone else noted you can already run firefox os apps on android. you can go to the marketplace inside firefox and install apps. It seems like a lot of them are non-english which gives me hope that this is taking off at least a little outside the usa (but of course only being fluent in English I can't really tell if these non-english apps are any good or not.)


I really respect Firefox OS for being fully open, but I dislike the lack of native applications. I wish normal glibc Linux mobile distros (not Android) would gain more traction. Sailfish OS is great, but they don't seem to be interested in opening up the UI and most of the core applications.


What do you think about Tizen?


Tizen is interesting, but it has the downside of the old Meego - too much control from Samsung. When Nokia and Intel pulled the plug, Meego disintegrated and only community fork (Mer) survived, on which Sailfish is actually built. Tizen has a similar risk. And it's not a major priority for Samsung it seems.


If you want to improve the quality of Firefox, there is a simple way to do it, just download Firefox Beta for Android and Firefox Beta for your computer, it's helping them to improve the quality of the stable releases.

It's a really easy step to help Mozilla without changing anything to your habits.


I would love to try a firefox OS phone.

Verizon seems like an odd choice in the U.S., to me they seem like a 'premium' brand somewhat more expensive than their competitors, while Firefox OS, at least prior to know, seems to have been positioning itself as a budget option.


Verizon has the best coverage in rural areas, at least where people I know live: southeast Minnesota, western Wisconsin, and Iowa. Many of my (and my friends') relatives in these areas still use flip phones or have reluctantly upgraded to iPhones or Android. Verizon is wise to have an option that's not a smartphone and not total junk.

I just upgraded my ZTE Open C to FxOS 3.0. This phone is similar, but worse, in specs to the original Moto E. It runs well, as long as you are using it for basic purposes.


Any tips or links you can share for getting your Open C to FxOS 3.0? Did you have to first upgrade the base image from JellyBean to KitKat? Were you able to shallow flash a nightly image or did you have to build everything yourself? I have an Open C and am on 2.1, but haven't yet tried to move past that. Thanks!


I had played with using the Flame images a while back, but I had never gotten around to building anything myself. Just a couple days ago I read that the EU Ebay version (but not the FR version!) is the same as (or similar enough to) the US version, so the MozFR builds here work: http://builds.firefoxos.mozfr.org/doc/en/devices/zte-open-c-...

I haven't tried SIM/phone-related function yet, but everything else is working for me.


aha! That makes some sense, thanks.


For people in cities or inner suburbs, you may see it as a premium brand, as it does tend to be more expensive than the competition.

For people living in further out suburbs, exurbs, and rural areas, Verizon is pretty much a requirement. None of the other carriers have coverage that is nearly as good; you actually want your phone to work outside of a thin strip around the interstates, you buy Verizon.


It's also worth raising an eyeball over (but probably not dropping a monocle over) Mozilla being one of the strongest proponents of strong (e.g., Title II) network neutrality regulation, and Verizon being probably the telecoms most opposed, and like the one that will put the most effort into lobbying and using to overturn net neutrality.


Firefox is going to have to fight to get any kind of market share. As Microsoft has shown, you can have great hardware, great interface and tonnes of money behind you, but it does not buy you market share. As long as Mozilla is prepared for the uphill battle they are about to fight, I think they might have a chance.

They really need to carve out a niche like they've done in non first-world countries. Merely being the same as Android or iOS is not going to be enough. They need to get developers on board, but even so, will they have the games that most consumers like to play?

It's a tricky situation, but one nonetheless I am excited to see what happens from.


A strong opportunity for FirefoxOS growth is supporting ad-hoc and mesh link layers and providing an intelligent APIs that support that access without compromising security.

It's the anti-Google, anti-carrier, anti-corporate, anti-surveillance, anti-government, pro-efficiency, pro-security, pro-developing world feature everyone wants but nobody can have because none of the mobile OSs support it.

Read bug+PDF @ https://bugzilla.mozilla.org/show_bug.cgi?id=945047


I hope Mozilla puts Servo into Firefox OS sooner rather than later. Same for rebuilding the whole thing in Rust, although that will probably last 3+ years.


The Servo team have actually been experimenting with "boot to servo" recently. Their blog has some photos and a description: http://blog.servo.org/2015/02/10/twis-23/


I really want to support Firefox OS and abandon Android. But Mozilla keeps missing the mark as far as I'm concerned. I don't want a flip phone, or a low-spec phone, or one that's only available in Japan. I just want something with a decent quad-core and more than 1gb of ram that I can purchase in the US and that will come with a warranty.


OT: Hmm, something seems very wrong with that CNET page. It loads ok but it's unreadable on iOS.

As soon as I try to scroll it goes haywire. Anyone else seeing that or have a link to a static version?


I can't see how this would go well. Chrome OS has been a big flop, and pushing that onto phones is just going to pile more disadvantages on top of that.

The everything-as-a-website concept is fatally flawed anyway, as while it is often possible to find a single-purpose site to do a specific thing such as converting file formats, you're completely at the mercy of an unknown third party and their privacy policy (as well as promise not to tamper with your file) if you do. It's a privacy disaster waiting to happen. That, and javascript is a horrible and inefficient language not fit for purpose even years ago, so certainly not on devices with weak CPUs and limited battery.


"front" ... "war"?! Mozilla is taking a knife to a gunfight with the 800 pound gorillas out there. This is going to be a really long and bloody war ... NOT.


Anyone know if I can easily port an OpenGL ES-1.1 based application, written in C++, to FirefoxOS? Or will I have to re-write it in HTML5/js?


You can compile your C++ with emscripten to asm.js target. HTML5 has WebGL which is based OpenGL ES 2.0.

More than 95% of all FirefoxOS devices support WebGL and the number of FirefoxOS users is increasing rapidly: http://webglstats.com

I suggest you this blog series, this guy ported his OpenGL game demos to WebGL and wrote long articles about it (Part 77 - 82): http://www.sea-of-memes.com/LetsCode77/LetsCode77.html


You could probably do it with Emscripten.

https://github.com/kripken/emscripten


I wrote a book chapter in the upcoming book "WebGL Insights" to be published in August on just the subject. The answer is yes, if you port your OpenGL ES 1.0 code to OpenGL ES 2.0. The WebGL 1.0 spec is basically just a diff of the ES 2.0 spec. Then Emscripten can do most of the rest. I'm assuming your code is C++.


You can probably compile it to asm.js and use WebGL (OpenGL ES 2.0).


Slide out keyboard, woo, sign me up. The pop up keyboard is the thing I hate most about my slab.


They need to move quickly before everyone who knows anything about it has quit working at Mozilla.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: