Re: [android-developers] Re: internet permissions in Android M app

2015-06-09 Thread just a dev
I think my question is being mis-understood. Let me try to clarify. First, I am asking only about the INTERNET permission. Per the official Android documentation : https://developer.android.com/preview/features/runtime-permissions.html - *Limited Permissions Granted at Install

[android-developers] Re: internet permissions in Android M app

2015-06-09 Thread just a dev
automatically added as-in the APK's AndroidManifest.xml will contain android.permission.INTERNET automatically ? What if the app does not want to request that permission ? On Monday, June 8, 2015 at 6:09:36 PM UTC-7, Jonathan S wrote: If you compiled against Android M, Internet will be

Re: [android-developers] Re: internet permissions in Android M app

2015-06-09 Thread luiX_
I think that depends if the play app asks for permissions when installing or only when a permission is needed (at the moment, when the app is running). If it works the second way, it wouldn't matter. El mar., 9 de junio de 2015 9:59, just a dev piyush.h...@gmail.com escribió: automatically

Re: [android-developers] Re: internet permissions in Android M app

2015-06-09 Thread just a dev
This article highlights that one has to define it in manifest. http://www.androidpolice.com/2015/06/06/android-m-will-never-ask-users-for-permission-to-use-the-internet-and-thats-probably-okay/ *As for the specific **android.permission.INTERNET** permission, it is still mandatory for apps that

[android-developers] Is runOnUiThread() ever 'safe' to call? If not why is it not deprecated?

2015-06-09 Thread Sam Duke
Due to the nature of config changes, the runnable submitted to runOnUiThread may be executed after an activity has been destroyed (i.e. on a stale activity). Therefore this API can cause all sorts of subtle bugs with config changes and events never reaching the UI. I can't think of a single

Re: [android-developers] Re: internet permissions in Android M app

2015-06-09 Thread Jose_GD
I think I understand your question and guess I have an answer (please people correct me if I'm wrong): The INTERNET permission is a given from M release. Android assumes you will always need it. So if you put it on your manifest or not is irrelevant. Or should I say redundant? Regards, José