News for hackers. Stuff that matters.
Re:Show HN: PressureNet – The Weather's Future by cryptoz on Wednesday May 21, 2014 @03:59PM (#7780433)
We don't ask for permission for your accounts at all actually - we just ask permission to use Google Maps, which Google unfortunately lumps together. The app is open source on GitHub so you can verify that we don't do anything weird. For example, here's our AndroidManifest.xml file that shows the permissions we list in code: https://github.com/Cbsoftware/pressureNET/blob/master/Androi...

READ_GSERVICES is the permission in question and is required for Google Maps. I'd like to switch to an open mapping tool but it's not a top priority right now.

As for the sleeping mechanism: you're correct, an in fact we do only wake the phone up every x minutes. It's off ~99% percent of the time. We require the wakelock to ensure that the phone stays on long enough for us to measure the barometer and store/transmit the data. We don't keep the device on for any longer than absolutely required.

Re:Show HN: PressureNet – The Weather's Future by smoyer on Wednesday May 21, 2014 @04:59PM (#7780742)
READ_GSERVICES being so "wide" was one of my major complaints about Android ... and while I'm sure you guys are ethical, there are a lot of applications I'd like to have that insist on having this permission.

Once you've granted the permission, any future version of even an app you've verified can expand its use of that permission into data I'm not willing to share. I know it's not your fault but you still end up being the victim (of my effort not to be a victim).

Re:Show HN: PressureNet – The Weather's Future by criley2 on Wednesday May 21, 2014 @05:11PM (#7780807)
Google's permission model is fundamentally flawed.

Google in it's insanity has required an "all or nothing" approach to permissions. Because of this, the vast majority of all users must accept all permission requests up front, and developers are highly motivated to ask for more than they need up front to prevent asking for more later.

The far, far superior model for permissions is for basic permissions to be granted at install, and each new permission to be requested at run time.

But, how can the majority* of your apps download personal information, hijack your contact list, and spy on your location if you have to explicitly give them the permission to do so when they begin the function...

* I'm being hyperbolic, but we have very few ways of actually knowing how many apps abuse their permissions. Generally, one or two popular ones get "called out" for doing what everyone is doing, and everyone descends back into feigned ignorance at permission abuse.

Re:Show HN: PressureNet – The Weather's Future by dublinben on Wednesday May 21, 2014 @04:58PM (#7780734)
I've wanted to run this app for a while, but you rely on several proprietary Google services. I hope you can move away from them in the future. An increasing amount of Android devices do not have Google Play or other Google apps on board.