News for hackers. Stuff that matters.
Re:Firefox OS Apps run on Android by rcthompson on Thursday June 12, 2014 @02:30PM (#7885161)
For anyone who wants to try this, just open Firefox on your Android device, go to https://marketplace.firefox.com, and click on the install button for an app. It will download an APK and prompt you to install the application, and that app will then act just like any other app. It's pretty neat.
Re:Firefox OS Apps run on Android by veeti on Thursday June 12, 2014 @03:29PM (#7885485)
It's hard to say this without being so negative, but I really have to wonder if any of these apps have even been tested on an Android device. Because to be quite frank, they are absolutely terrible. Here's what I tested:

- Calculator. Whenever I press a number, it takes a second to be actually reflected in the user interface. If I try to press anything in rapid succession, the entire view zooms in. After this the entire size and scale of the user interface keeps shifting randomly. Completely broken.

- Wikihow. This is just a wrapper on their mobile site with an ugly search bar on top. Long pressing a link shows a context menu that lets me "open in a new tab" but there's no tab switcher to be found. I can select text by tapping and holding but can't figure out how to copy.

- Wikipedia. Pretty much the same. Scrolling performance is strangely atrocious considering that it works fine in Firefox for Android. Pressing the back button on the device boots me out of the app instantly instead of, you know, going back.

And all in all, they are all just slow and clunky. It feels like browsing a web page or using a web app in a mobile browser that just isn't up to the task.

In between this aim on building a more open platform for apps, there doesn't seem to be any focus in building apps or user interfaces that people would actually want to use.

Re:Firefox OS Apps run on Android by rcthompson on Thursday June 12, 2014 @05:08PM (#7885952)
Is there any reason this was posted as a reply to my comment?
Re:Firefox OS Apps run on Android by logn on Thursday June 12, 2014 @06:13PM (#7886312)
I think because you wrote:

...that app will then act just like any other app. It's pretty neat

Re:Firefox OS Apps run on Android by rcthompson on Thursday June 12, 2014 @09:08PM (#7886954)
I guess I can see that. What I meant was that it gets put into your app list and can be launched, be put on your homescreen, appear in the recently-used app list, etc., like any other app. I wasn't making a statement about the performance or "nativeness" of any particular app.
Re:Firefox OS Apps run on Android by konspence on Friday June 13, 2014 @11:29AM (#7889307)
You can also add any Chrome bookmark to your home screen, just like any other app.
Re:Firefox OS Apps run on Android by kumar303 on Friday June 13, 2014 @07:01PM (#7891289)
It won't be integrated into Android very well though; you can't kill the process, you can't check its resources, it's not in the task switcher, etc, etc
Re:Firefox OS Apps run on Android by wfwalker on Thursday June 12, 2014 @04:01PM (#7885639)
No, we haven't done a lot of testing of these apps on Android, we've been really focussed on testing them on Firefox OS up to now. BTW, which version of Firefox are you using? Bug fixes are coming in pretty fast lately, I'd recommend using Firefox Aurora for Android.
Re:Firefox OS Apps run on Android by voltagex_ on Thursday June 12, 2014 @11:41PM (#7887343)
Where and how do I log bugs for Firefox Apps on Android? I'm on 4.4.3 with Firefox Aurora and I installed WikiHow and the Gaia Team Calculator - open WikiHow, hit back and open Calculator and I still get WikiHow. I have to "swipe away" the Firefox app in the task manager to get it to work.
Re:Firefox OS Apps run on Android by stuaxo on Friday June 13, 2014 @04:57AM (#7887923)
I switched from the orange zte phone. Most of the apps I tried had similar issues.
Re:Firefox OS Apps run on Android by veeti on Saturday June 14, 2014 @07:51AM (#7892608)
Is Aurora the same thing as the Firefox Beta in the Play Store?
Re:Firefox OS Apps run on Android by frandroid on Thursday June 12, 2014 @07:16PM (#7886578)
Yeah, that calculator was awful. I tried a solitaire game that was pretty decent though.
Re:Firefox OS Apps run on Android by voltagex_ on Thursday June 12, 2014 @11:54PM (#7887368)
It's definitely better if you are using Firefox Beta but I've replied below with an odd bug.
Re:Firefox OS Apps run on Android by zobzu on Thursday June 12, 2014 @11:38PM (#7887333)
Some apps are bad but some apps are pretty much on par with native apps.

I guess its just young.

Re:Firefox OS Apps run on Android by mhurron on Thursday June 12, 2014 @04:26PM (#7885749)
Doesn't this require the 'Allow Installs from Unknown Sources', which is generally a bad idea to allow?
Re:Firefox OS Apps run on Android by ozten on Thursday June 12, 2014 @04:28PM (#7885766)
Yes. wfwalker said it best here: https://hacks.mozilla.org/2014/06/testing-your-native-androi...

"We share your frustration with the tradeoffs we have to make on Android regarding security versus openness, as I’m sure Amazon does as well. For example, it would be cool if we could ask people to trust apps they install from marketplace.firefox.com rather than from all sources. Unfortunately, I don’t think we have that option.

We, along with third-party native android app stores like Amazon, chosen to ask users to enable the third-party application setting because we think the benefits to users of our ecosystem outweigh the risks of doing so. We believe our security model and strict control over permissions for web apps means that the Firefox Marketplace apps that users install on their Android devices will be safe."

Re:Firefox OS Apps run on Android by st3fan on Thursday June 12, 2014 @05:13PM (#7885980)
I really wish Mozilla had just abandoned this 'repackage apps in APKs' project.

I understand why they are doing it but I think in the end it is really bad for end-user security on Android.

People are advised everywhere to not enable 'Install from untrusted sources' for very good reasons: Android is plagued by an insane amount of malware. And now we confuse them by saying that "our security model" is great and that it is all ok.

But it is not ok. It is half the story. Even if our apps are safe, we make it a little easier for that malware to get on a device.

And nobody will just temporarily enable 'install from untrusted sources'. Once allowed, people are most likely never looking at it again.

I am not saying that the Google Play store is free of Malware. It is not. But I do think that malicious apps are then at least contained and controlled. With the option for untrusted sources enabled, apps can come from any place. Email, web, other apps, etc.

It puts users at risk.

It is a step backward in Android security.

Re:Firefox OS Apps run on Android by zobzu on Thursday June 12, 2014 @11:42PM (#7887346)
Everyone I know (hint: they're in the bay area and even if not all techies, they kinda know a bit computer stuff) disable that option (forever, indeed) and installs APKs from their favorite non-Google-Play source.

I'm pretty sure they added this option as an enforcement to use only Play. I would be surprised to see Google adding trusted sources. I do not believe that it's OK to kill competition in the name of so-called security.

On the other hand my mum doesnt know that option yet got Play malware pretty quickly. Go figure.

Think of the Children! :)

Re:Firefox OS Apps run on Android by Nursie on Friday June 13, 2014 @07:50AM (#7888293)
I know nobody that would uncheck the option unless they were very sure of the source, and then turn it back off again.

I've been to websites that automatically trigger the download of an apk to your phone. Without that setting it is only one or two wrong clicks and you've got all sorts of malware on your device.

It's not about competition, running a phone with that option switched off is dangerous.

Re:Firefox OS Apps run on Android by 1stop on Friday June 13, 2014 @08:12AM (#7888365)
Automatically triggering an apk download is just that... a download. An install (from opening said apk) triggers a fullscreen dialog of what you are installing, it's access, and whether you are sure...?

It isn't dangerous at all, you can't 'accidently' install an apk. It is a very intentional, multi-step, action.

Re:Firefox OS Apps run on Android by Nursie on Friday June 13, 2014 @09:09AM (#7888596)
Of course you could. You (an uninformed user, not a hacker) go to see what the notification you just got is about and tap on it. It's then only one more click to install.

Much easier and safer to have third party stuff disabled entirely.

I think there should be a way to install third party certificates for things like the amazon store, don't get me wrong, but it's a decent security feature for the uninformed masses.

Re:Firefox OS Apps run on Android by 1stop on Friday June 13, 2014 @09:14PM (#7891715)
But you aren't an 'uninformed user' you've gone to the app section of settings and intentionally clicked "I want to install third party apps" and then intentionally clicked "Yes, I know this isn't a great idea".

So chances are, on the spectrum you are more hacker than uninformed user.

Re:Firefox OS Apps run on Android by Nursie on Sunday June 15, 2014 @01:12PM (#7895695)
Androi is not just aimed at me though, extra protection for the uninformed is not a bad thing. IMHO.
Re:Firefox OS Apps run on Android by SteveMoody73 on Friday June 13, 2014 @08:29AM (#7888435)
It's been a while since i've installed from unknown sources but doesn't it give a prompt asking if you want the apk scanned for malicious apps?
Re:Firefox OS Apps run on Android by bentcorner on Friday June 13, 2014 @10:49AM (#7889097)
There's a "Verify Apps" checkbox that I've seen that purportedly does this. I think the first time you install an app from outside the play store the OS will prompt you to enable this checkbox.
Re:Firefox OS Apps run on Android by Nursie on Friday June 13, 2014 @09:07AM (#7888586)
I've never seen such a prompt when install third party stuff, no. There might be an 'are you sure?' dialog.
Re:Firefox OS Apps run on Android by mhurron on Thursday June 12, 2014 @04:55PM (#7885889)
I will start with I see this weren't your words.

"it would be cool if we could ask people to trust apps they install from marketplace.firefox.com rather than from all sources."

This would be so handy for me, but it probably doesn't matter as my next phone is probably going to be an iPhone.

However, "We believe our security model and strict control over permissions for web apps means that the Firefox Marketplace apps that users install on their Android devices will be safe" basically misses the problem.

The problem is not that the Mozilla or Amazon marketplaces are unsafe, I would rate them at the same as Google Play itself, but that the phone now allows APK's from everywhere. While it would turn more users away from using them, it would almost be better to actually tell people to re-enable the restrictions, or have an install app that will turn it on, install from their marketplace and then turn it off again.

Re:Firefox OS Apps run on Android by Pxtl on Thursday June 12, 2014 @04:39PM (#7885816)
I've been wondering - is there any app that makes this process more elegant, like controlling which users can install 3rd-party APKs or something?
Re:Firefox OS Apps run on Android by petecox on Thursday June 12, 2014 @10:31PM (#7887191)
Which is corporate-speak for 'trust only Google Play'. What the checkbox is designed to do is prevent installing random .apk files.

Firefox Marketplace is a known source. It's just not something Google will whitelist.

What the community need to include in their AOSP-derived distros is a UI user-specifying trusted repositories.

If the user then wants to add the marketplace or, say, f-droid then they could mark these as 'trusted'. Which would then still prevent downloading an .apk from a dodgy site.

Re:Firefox OS Apps run on Android by fidotron on Thursday June 12, 2014 @10:48PM (#7887221)
There appears to be some sort of provision for this in newer versions, as apps can actually be aware of where they came from (necessary to simplify selecting billing providers if you distribute via both Amazon and the Play Store).

But yes, extending that to something deeper is probably needed, but you almost end up needing to alter the signing model of apks slightly. In the case of Amazon distributed builds I believe Amazon re-sign the apk completely, which is a bit of a workaround, whereas Google distribute the apks with the developer signatures. Really what you want is a chain of trust to sources of apps that the user trusts.

Re:Firefox OS Apps run on Android by st3fan on Friday June 13, 2014 @09:35AM (#7888710)
The number of geeks running an "AOSP-derived distro" is insignificant compared to the bigger Android user base.
Re:Firefox OS Apps run on Android by Groxx on Friday June 13, 2014 @12:46PM (#7889717)
Honestly, with the recent Play permission display changes, I think it might be much safer. Non-play-store installs always show all permissions. http://www.xda-developers.com/android/play-store-permissions...