News for hackers. Stuff that matters.
Re:No More Notification Ads and Icon Ads in Android Apps by babuskov on Friday August 23, 2013 @05:39PM (#6266397)
What Android really needs is a way to accept/deny each permission separately. I see some apps. asking for some permission they clearly do not need to function, and you're left with a choice of either not installing the app. at all or having to give it the permission you don't want.
Re:No More Notification Ads and Icon Ads in Android Apps by WestCoastJustin on Friday August 23, 2013 @06:14PM (#6266539)
Permission is one of my major gripes about the whole smart phone thing. I wish devs would take the spirit of GNU and just release some simple free apps without all these "adware" crap. For example, I wanted to install a led flashlight app a couple days ago. The one with 10 million downloads wants access to my phone book, internet, browser, etc. WTF! This is a LED flashlight app and it has an install base of 10 million, why on earth does it need access to the internet and phone book?! Arg, there is a total disconnect between useful apps and privacy! I do not know what the answer is, but the current system really grinds my gears!

Imagine if you wanted to use the ls, cd, grep, tar, pwd, top, etc commands on unix and an "ad" would pop up, or maybe you would see it connecting to the internet. These are utilities too. Is this acceptable behavior?

Re:No More Notification Ads and Icon Ads in Android Apps by kevb on Friday August 23, 2013 @07:09PM (#6266745)
App stores are great for commercial developers but culturally clash with open source apps. If someone were to take grep and commercialize it, no one would use it. (Though I have seen stories about it happening with Blender). But if grep were an app in the Play Store, and it was open source, someone would grab the source, commercialize it, and maybe even invest in advertising to make their grep to the most popular one.

Spare Parts is (was?) part of the Android Open Source Project, but got posted to the Android Market with ads added and only minor changes. Romain Guy (of Google's Android team) posted sample code for a Shelves application and had the same experience.

I love open source, but make my living with closed source Android apps. One of my early projects actually was an LED flashlight app. I tried selling it for a week or two, then switched to a free and donate model which doesn't make much money. My other apps do, and it's just a flashlight so I have no interest in monetizing it. I also rarely update it, don't answer support emails for it, and certainly don't buy banner ads to promote it. Without any marketing effort on my part, there is no way it will compete with the commercial offerings. I've considered open sourcing it, and maybe I should, but I'm still a bit attached, as it was one of my first apps, and I'd hate to see a fork of it with ads and junk grow more popular than it. I also wouldn't have much time to review pull requests and build/test new APKs to publish.

The app is TeslaLED. If it works on your device (works on most modern devices) then it's probably what you're looking for. Sadly if it doesn't it is unlikely to get updated in the near future with support.

Re:No More Notification Ads and Icon Ads in Android Apps by Mindless2112 on Friday August 23, 2013 @09:21PM (#6267173)
> Romain Guy (of Google's Android team) posted sample code for a Shelves application and had the same experience.

As a 3rd anecdote, Ken Magic (also at Google) made an open-source Solitaire app [1] for Android, and I'd guess at least 1 in 5 of the (numerous) Solitaire apps in the Play Store are minor tweaks of his code with ads slapped on -- you can recognize them by the card art.

I made my own zero-permissions Solitaire app [2] and purposefully haven't open-sourced it because I would expect someone to slap ads on it. Even worse, considering that I don't have a large install base, they could probably outrank mine in the Play Store search results (granted, I don't do myself any favors by simply calling it "Solitaire").

[1] https://play.google.com/store/apps/details?id=com.kmagic.sol...

[2] https://play.google.com/store/apps/details?id=org.intoorbit.... (it's a built-from-scratch clone of Ken Magic's Solitaire but with vector graphics and an updated UI)

Re:No More Notification Ads and Icon Ads in Android Apps by cbhl on Saturday August 24, 2013 @12:45AM (#6267659)
> I'd hate to see a fork of it with ads

Having seen this happen with Connectbot and others, I'm under the impression that open-sourcing Android apps isn't worth it, in spite of what your principles about software may be.

Which makes me wonder, does this happen on other platforms (iOS, BB10, WP7/8) too, or is it just Android?

Re:No More Notification Ads and Icon Ads in Android Apps by e12e on Saturday August 24, 2013 @04:30AM (#6268096)
How about a licence with a special clause forbidding adware and/or "privacyware"?

As long as you hold copyright, you could always offer different licensing if anyone had a genuine need for it (say re-licence under GPL for some "worthy" project, or re-sell under BSD for a price).

Re:No More Notification Ads and Icon Ads in Android Apps by claudius on Saturday August 24, 2013 @08:14AM (#6268438)
While certainly possible, I see two caveats here:

a) The ‘worthy project’ would have to license their product under GPL, too, which has the obvious effect that the whole thing is properly open-sourced again and everybody can slap ads on their stuff.

b) A license forbidding the modification to add advertisements is certainly not DFSG-free, and while this is likely of less concern in the Android ecosystem, I tend to measure the open-sourcness of a programme by its possible inclusion in Debian.

Re:No More Notification Ads and Icon Ads in Android Apps by jnbiche on Saturday August 24, 2013 @05:49AM (#6268207)
Ah, TeslaLED! An app that lit the way for me and my family in darkened mini-vans for quite some time (I bought the donate app, of course). It was one of the few flashlight apps that wasn't ridden with ads.

I've only recently switched to Cyanogenmod, which comes with its own built-in flashlight app, and I'm committed to not installing anything on the phone now that requires a Google login (like Google Play, for example). So no TeslaLED now.

But thanks for a great app! TeslaLED is a very well-made app, and looking at the Google Play page now, I see it has a lot of features I wasn't even aware of. Best of luck with your future apps.

Re:No More Notification Ads and Icon Ads in Android Apps by StavrosK on Saturday August 24, 2013 @06:38AM (#6268272)
Isn't there a website that gives you a direct download link for any APK in the Play store? It sounds like something that should exist...
Re:No More Notification Ads and Icon Ads in Android Apps by Amadou on Saturday August 24, 2013 @05:22AM (#6268177)
I'dd hate to see a fork of it with ads and junk grow more popular than it.

Last time I checked, the google play store interface only broadly discriminated between for-pay and free apps. I think adding other broad categories like "open source" and "no tracking / advertising" would help to keep these fork+advertising versions from becoming popular.

Re:No More Notification Ads and Icon Ads in Android Apps by therobotking on Friday August 23, 2013 @08:16PM (#6266985)
Nova is the best 3rd-party launcher by far. I love your work with it.
Re:No More Notification Ads and Icon Ads in Android Apps by ketralnis on Saturday August 24, 2013 @02:03AM (#6267828)
> I wish devs would take the spirit of GNU and just release some simple free apps

The "spirit of GNU" was a bunch of guys working on an ecosystem of software that the participants were all developing on and sharing together.

It wasn't some guy who said "I want this thing for free, go forth and do it for me now kthx"

Re:No More Notification Ads and Icon Ads in Android Apps by droidist2 on Sunday August 25, 2013 @05:51AM (#6271528)
True, also GNU was/is made possible by university funding (MIT in particular but also others) and corporate donations (much of which ironically comes out of profits from proprietary software). Not really the same situation as an indie Android dev trying to put some food on the table with their apps.
Re:No More Notification Ads and Icon Ads in Android Apps by derekp7 on Friday August 23, 2013 @09:16PM (#6267153)
That's where you will want to install f-droid. It is an alternate "app store" for free apps, with no crapware (they even re-compile the apps from source themselves, and do some level of auditing to remove unwanted "features" from some apps [ it is clearly stated in the descriptions when they do this though ]). BTW, the flashlight app from f-droid is a simple no-frills flashlight app without ads or anything.
Re:No More Notification Ads and Icon Ads in Android Apps by jnbiche on Saturday August 24, 2013 @06:18AM (#6268247)
Perfect, this is exactly what I've been looking for. I've recently installed Cyanogenmod and have foresworn having any apps on my phone requiring a Google sign-in. This includes Google Play, so an alternative app store with utility apps is exactly what I need.
Re:No More Notification Ads and Icon Ads in Android Apps by signed0 on Friday August 23, 2013 @07:24PM (#6266788)
If you are using Android and DashClock[0] there is a flashlight App without any permissions called DashLight[1].

[0] https://play.google.com/store/apps/details?id=net.nurik.roma...

[1] https://play.google.com/store/apps/details?id=com.spectrl.Da...

Re:No More Notification Ads and Icon Ads in Android Apps by RobotCaleb on Friday August 23, 2013 @06:19PM (#6266552)
It's possible it doesn't use any of those permissions. Noobies don't know that/how they can configure the requested permissions.
Re:No More Notification Ads and Icon Ads in Android Apps by cheald on Friday August 23, 2013 @05:40PM (#6266398)
Many of the popular 3rd party ROMs have this feature. I think it's not in stock because it can break apps that expect "this feature that I require before installation should be here", which then blow up when the feature is not, in fact, there, but I guess that the assumption is that if you're savvy enough to run a custom ROM and to revoke permissions, you're savvy enough to place blame where blame's due.
Re:No More Notification Ads and Icon Ads in Android Apps by jra101 on Friday August 23, 2013 @09:29PM (#6267190)
The OS could lie to the app after permission for some aspect was revoked and respond with no data or garbage data.

For example if you revoked permission for access to pictures or something else like music, when that app queried for the number of pictures/music on the device the OS would just return 0. For something like GPS you could return a valid location (like say somewhere on the Google Campus).

Re:No More Notification Ads and Icon Ads in Android Apps by stephengillie on Friday August 23, 2013 @06:56PM (#6266699)
This feature was added to Cyanogenmod at some point, then removed later.

Many apps are designed to not work unless they have these unnecessary permissions. I removed phone log permissions from some media and game apps (Bejeweled clones & coin-drop games) and they simply crashed.

Re:No More Notification Ads and Icon Ads in Android Apps by dsr_ on Friday August 23, 2013 @07:57PM (#6266917)
If you root your phone and use a packet filter -- DroidWall is very good -- you can gate network communications per app. This works very well for apps that you don't trust, as long as you're willing to forego network connectivity for them.
Re:No More Notification Ads and Icon Ads in Android Apps by MichaelGG on Saturday August 24, 2013 @04:47AM (#6268126)
Of course they're going to crash if the call is simply denied or returns invalid information. The OS should simply return valid, dummy information (empty array, array with single fake contact, etc.).
Re:No More Notification Ads and Icon Ads in Android Apps by discostrings on Friday August 23, 2013 @05:53PM (#6266458)
If you feel like doing some not-too-difficult patching and running an AOSP-based ROM, take a look at OpenPDroid[1], which does exactly that.

It would be much better if Google would come to their senses and include that functionally in Android. Which it looks like they might be working toward--AppOps in Android 4.3 is a start [2]. It looks like they may have even used the code from the PDroid project to implement it.

[1] http://forum.xda-developers.com/showthread.php?t=2098156 [2] http://forum.xda-developers.com/showpost.php?p=44025221&post...

Re:No More Notification Ads and Icon Ads in Android Apps by aviraldg on Saturday August 24, 2013 @04:59AM (#6268148)
While I, as a power user and a developer would love this feature, I can only imagine the kind of problems it'll cause for regular users. eg. "Why does this flashlight app use the camera permission? (Because the Flash LED is part of the camera!) Why does X game use the phonebook permission? Let's disable it. Ugh, the friends feature no longer works. I'm going to give this app a 1 star rating."

Users are stupid.

Re:No More Notification Ads and Icon Ads in Android Apps by corresation on Friday August 23, 2013 @05:47PM (#6266430)
This long requested feature is partly implemented in Android 4.3.

http://www.androidpolice.com/2013/07/25/app-ops-android-4-3s...

Re:No More Notification Ads and Icon Ads in Android Apps by Too on Saturday August 24, 2013 @06:09AM (#6268236)

   > For some permissions, the app has to 
   > make use of them before they will show up in App Ops
So by the time an app has stolen all your personal data it's already too late to disable the permissions...

Let's hope this feature will be complete and implemented properly by the time for release. It's far overdue already. This should have been built into the system from the start, now getting apps to degrade gracefully on declined permissions will be a pita.

Re:No More Notification Ads and Icon Ads in Android Apps by corresation on Saturday August 24, 2013 @11:21AM (#6268866)
So by the time an app has stolen all your personal data it's already too late to disable the permissions...

It isn't a released feature, obviously. Instead it is clearly an soon pending feature.

Re:No More Notification Ads and Icon Ads in Android Apps by RobotCaleb on Friday August 23, 2013 @06:07PM (#6266508)
LBESM (requires root, but not a custom rom) can do this for you. I use it to block ads in apps, and to disallow permissions I don't agree with.

http://forum.xda-developers.com/showthread.php?s=1bb0ce5ab51...