Click here to Skip to main content
15,904,416 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: FSOW OTD 2016-04-07 Pin
HobbyProggy6-Apr-16 23:13
professionalHobbyProggy6-Apr-16 23:13 
GeneralRe: FSOW OTD 2016-04-07 Pin
OriginalGriff6-Apr-16 23:18
mveOriginalGriff6-Apr-16 23:18 
GeneralRe: FSOW OTD 2016-04-07 Pin
Brittle16186-Apr-16 23:23
Brittle16186-Apr-16 23:23 
GeneralRe: FSOW OTD 2016-04-07 We have a winner! Pin
OriginalGriff6-Apr-16 23:32
mveOriginalGriff6-Apr-16 23:32 
GeneralRe: FSOW OTD 2016-04-07 We have a winner! Pin
Brittle16186-Apr-16 23:43
Brittle16186-Apr-16 23:43 
GeneralRe: FSOW OTD 2016-04-07 We have a winner! Pin
OriginalGriff6-Apr-16 23:47
mveOriginalGriff6-Apr-16 23:47 
GeneralRe: FSOW OTD 2016-04-07 We have a winner! Pin
Brittle16187-Apr-16 1:56
Brittle16187-Apr-16 1:56 
NewsPermission models in Phone (a leap in Android Marshmallow) Pin
Eytukan6-Apr-16 22:07
Eytukan6-Apr-16 22:07 
I've been watching from early days of smartphones and had quite some concerns about the security model.
In Android versions around 3.0 & below, we can simply turn on the location sensor and read the user locations. It doesn't ask for anything from the user. Assassination of people would be so easy with these Smile | :) .

On the subsequent OS versions, they tightened it and the location sensor has to be manually turned ON by the user, in order to let the code read the location. But , if the user turned the sensors on for some other purpose in a different app, Other Apps could make use of this state. No way one could restrict this access to a particular App. So again there's a loop hole. You turn on the sensor to make Uber work, but end up getting Assassinated.

And people are always unaware of what security permissions dialog they click on. We hardly look through the list of access requests from the App and choose to proceed. (While installing from Store).
This was again a security problem.

It was so easily for me to inject an App into any of my friends mobile and access all of their sensitive information. Like I could read all their Bank transactions from SMS, their locations,Call log, Contacts, any time whenever their sensors are turned ON. etc. I got that free ride. (OK I dont do any of these on my friends phone, I try these on my own phone, its just for the thrill of the story Blush | :O )

Now here comes Android M. Now the permission model is completely changed. The developer cannot just get away with the swift check box on the installation time Permission dialog. These are now brought into the App. So the user has to literally answer the dialogs one by one, It's not like a pop-up once & a use it eternally. The guideline is to pop these up only on need. Developer would naturally opt for this in a complex App, as showing a dozen pop-ups at time would make the user get tired and uninstall the App.

One bitter things about this, in case if the user clicks on "NO" for the first time, next time the dialog will come up with the option "Never ask again" . This means, you cannot access these features from your App anymore. Unless user goes to the system settings for the App and manually turn on the feature access. App would continue to act crippled till then. And no end user would care do take this strain!

The SDK version is 23.0 for Android 6.0/M. If you build you app with this and put it into store, that's it you gotta live with this restrictions. I think you cannot reverse it to lesser SDK version later. If you don't want to get into all these, you can stay with SDK 22.0 and continue to release the builds. It would still work the old way in Android 6.0 phones.

Android M security, good for user not so good for lazy developers. Smile | :)

(I gather these info form the developers while talking about the requirements, usually)

Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.


modified 7-Apr-16 8:58am.

GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
KarstenK6-Apr-16 22:31
mveKarstenK6-Apr-16 22:31 
GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
dan!sh 6-Apr-16 22:37
professional dan!sh 6-Apr-16 22:37 
GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
Eytukan6-Apr-16 22:42
Eytukan6-Apr-16 22:42 
GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
dan!sh 6-Apr-16 22:38
professional dan!sh 6-Apr-16 22:38 
GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
Eytukan6-Apr-16 22:45
Eytukan6-Apr-16 22:45 
GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
BillWoodruff7-Apr-16 3:58
professionalBillWoodruff7-Apr-16 3:58 
GeneralRe: Permission models in Phone (a leap in Android Marshmallow) Pin
Eytukan7-Apr-16 19:21
Eytukan7-Apr-16 19:21 
GeneralRecommendations for PodCasts? Pin
Duncan Edwards Jones6-Apr-16 22:00
professionalDuncan Edwards Jones6-Apr-16 22:00 
GeneralI did it PinPopular
dan!sh 6-Apr-16 18:28
professional dan!sh 6-Apr-16 18:28 
GeneralRe: I did it Pin
Richard MacCutchan6-Apr-16 21:40
mveRichard MacCutchan6-Apr-16 21:40 
GeneralRe: I did it Pin
Eytukan6-Apr-16 22:24
Eytukan6-Apr-16 22:24 
GeneralRe: I did it Pin
dan!sh 6-Apr-16 22:33
professional dan!sh 6-Apr-16 22:33 
GeneralRe: I did it Pin
Eytukan6-Apr-16 22:39
Eytukan6-Apr-16 22:39 
GeneralRe: I did it Pin
glen2057-Apr-16 0:37
glen2057-Apr-16 0:37 
GeneralRe: I did it Pin
90823657-Apr-16 2:29
90823657-Apr-16 2:29 
GeneralWhat? Pin
Brisingr Aerowing6-Apr-16 17:47
professionalBrisingr Aerowing6-Apr-16 17:47 
GeneralRe: What? Pin
DaveAuld6-Apr-16 18:00
professionalDaveAuld6-Apr-16 18:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.