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

2015-06-12 Thread Jose_GD
Thanks TreKing for confirming this.

In other words, if the Play Store reports that an app does not need any 
special permissions, it could be perfectly possible that it lists 
android.permission.INTERNET in its manifest?


El jueves, 11 de junio de 2015, 17:53:36 (UTC-3), TreKing escribió:


 On Wed, Jun 10, 2015 at 6:57 AM, Jose_GD jose.go...@gmail.com 
 javascript: wrote:

 Is the Internet permission listed at the time the user taps on Install 
 in the Play Store app?


 Not anymore - they stopped doing that with the Google Play update that 
 condensed and reworded the permissions.

 Nor it is a user-revokable permission in M (at least from what I could 
 tell with the latest image).


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices
  

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-06-12 Thread TreKing
On Fri, Jun 12, 2015 at 6:57 AM, Jose_GD jose.gonzale...@gmail.com wrote:

 In other words, if the Play Store reports that an app does not need any
 special permissions, it could be perfectly possible that it lists
 android.permission.INTERNET in its manifest?


Exactly. And just verified with a random app. Google Play says no special
permission required. On the device App Install screen, permission lists
full network access.

This is on Lollipop - I flashed back once I realized how unstable M was -
but I believe on M it wouldn't even show that. When I tested my app against
M after I/O, internet was not listed as revokable.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-06-11 Thread TreKing
On Wed, Jun 10, 2015 at 6:57 AM, Jose_GD jose.gonzale...@gmail.com wrote:

 Is the Internet permission listed at the time the user taps on Install
 in the Play Store app?


Not anymore - they stopped doing that with the Google Play update that
condensed and reworded the permissions.

Nor it is a user-revokable permission in M (at least from what I could tell
with the latest image).

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-06-10 Thread Jose_GD
I have re read what you posted here and it seems you're right.

To summarize:

- If you need Internet access, you must put that permission in the manifest
- Since android.permission.INTERNET falls under PROTECTION_NORMAL, it will 
be granted - that means the user won't see a dialog box asking to give that 
permission at runtime

Now the question that is bugging me from some time - and I say this because 
I think I've seen this even before Android L - is the following:

*Is the Internet permission listed at the time the user taps on Install 
in the Play Store app?*

If I recall correctly I've seen apps that access the Internet for which 
that permission is *not *listed in the Play Store.

El martes, 9 de junio de 2015, 13:03:11 (UTC-3), just a dev escribió:

 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 will access the Internet. If a developer were 
 to publish an app without defining it in the Android manifest, an exception 
 will be thrown the first time a connection attempt is made, and the app 
 will possibly crash. This is no different than before.*

 Thats contrary to what you said.

 On Tuesday, June 9, 2015 at 5:35:06 AM UTC-7, Jose_GD wrote:

 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é

 https://play.google.com/store/apps/developer?id=Jos%C3%A9%20Gonz%C3%A1lez%20D%27Amico


 El martes, 9 de junio de 2015, 7:09:01 (UTC-3), just a dev escribió:

 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 Time:* When the user 
installs or updates the app, the system grants the app all permissions 
 that 
the app requests that fall under PROTECTION_NORMAL 

 https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL.
  
For example, alarm clock and internet permissions fall under 
PROTECTION_NORMAL 

 https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL,
  
so they are automatically granted at install time.

The system may also grant the app signature and system permissions, 
as described in System apps and signature permissions 

 https://developer.android.com/preview/features/runtime-permissions.html#system-apps.
  
The user is *not* prompted to grant any permissions at install time.

 

 Particular note that it says the system grants the app all 
 permissions that *the app requests*. So, if the app does not have 
 INTERNET permission in its AndroidManifest.xml, it won't be granted access 
 to INTERNET in that case ?


 On Tuesday, June 9, 2015 at 2:27:14 AM UTC-7, luixal wrote:

 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 piyus...@gmail.com 
 escribió:

 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 automatically 
 added.

 On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and 
 its new permission model, can anyone clarify if every app has INTERNET 
 permission or only the ones that define INTERNET permission exclusively 
 in 
 their manifest have it ?

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google

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 Time:* When the user installs or 
   updates the app, the system grants the app all permissions that the app 
   requests that fall under PROTECTION_NORMAL 
   
https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL.
 
   For example, alarm clock and internet permissions fall under 
   PROTECTION_NORMAL 
   
https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL,
 
   so they are automatically granted at install time.
   
   The system may also grant the app signature and system permissions, as 
   described in System apps and signature permissions 
   
https://developer.android.com/preview/features/runtime-permissions.html#system-apps.
 
   The user is *not* prompted to grant any permissions at install time.
   


Particular note that it says the system grants the app all permissions 
that *the app requests*. So, if the app does not have INTERNET permission 
in its AndroidManifest.xml, it won't be granted access to INTERNET in that 
case ?


On Tuesday, June 9, 2015 at 2:27:14 AM UTC-7, luixal wrote:

 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 piyus...@gmail.com 
 javascript: escribió:

 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 automatically added.

 On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and its 
 new permission model, can anyone clarify if every app has INTERNET 
 permission or only the ones that define INTERNET permission exclusively in 
 their manifest have it ?

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@googlegroups.com 
 javascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to android-developers+unsubscr...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 automatically added.

 On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and its 
 new permission model, can anyone clarify if every app has INTERNET 
 permission or only the ones that define INTERNET permission exclusively in 
 their manifest have it ?



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 automatically added.

 On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and its
 new permission model, can anyone clarify if every app has INTERNET
 permission or only the ones that define INTERNET permission exclusively in
 their manifest have it ?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 will access the Internet. If a developer were 
to publish an app without defining it in the Android manifest, an exception 
will be thrown the first time a connection attempt is made, and the app 
will possibly crash. This is no different than before.*

Thats contrary to what you said.

On Tuesday, June 9, 2015 at 5:35:06 AM UTC-7, Jose_GD wrote:

 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é

 https://play.google.com/store/apps/developer?id=Jos%C3%A9%20Gonz%C3%A1lez%20D%27Amico


 El martes, 9 de junio de 2015, 7:09:01 (UTC-3), just a dev escribió:

 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 Time:* When the user installs 
or updates the app, the system grants the app all permissions that the 
 app 
requests that fall under PROTECTION_NORMAL 

 https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL.
  
For example, alarm clock and internet permissions fall under 
PROTECTION_NORMAL 

 https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL,
  
so they are automatically granted at install time.

The system may also grant the app signature and system permissions, 
as described in System apps and signature permissions 

 https://developer.android.com/preview/features/runtime-permissions.html#system-apps.
  
The user is *not* prompted to grant any permissions at install time.

 

 Particular note that it says the system grants the app all 
 permissions that *the app requests*. So, if the app does not have 
 INTERNET permission in its AndroidManifest.xml, it won't be granted access 
 to INTERNET in that case ?


 On Tuesday, June 9, 2015 at 2:27:14 AM UTC-7, luixal wrote:

 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 piyus...@gmail.com 
 escribió:

 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 automatically 
 added.

 On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and 
 its new permission model, can anyone clarify if every app has INTERNET 
 permission or only the ones that define INTERNET permission exclusively 
 in 
 their manifest have it ?

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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é
https://play.google.com/store/apps/developer?id=Jos%C3%A9%20Gonz%C3%A1lez%20D%27Amico


El martes, 9 de junio de 2015, 7:09:01 (UTC-3), just a dev escribió:

 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 Time:* When the user installs 
or updates the app, the system grants the app all permissions that the app 
requests that fall under PROTECTION_NORMAL 

 https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL.
  
For example, alarm clock and internet permissions fall under 
PROTECTION_NORMAL 

 https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL,
  
so they are automatically granted at install time.

The system may also grant the app signature and system permissions, as 
described in System apps and signature permissions 

 https://developer.android.com/preview/features/runtime-permissions.html#system-apps.
  
The user is *not* prompted to grant any permissions at install time.

 

 Particular note that it says the system grants the app all 
 permissions that *the app requests*. So, if the app does not have 
 INTERNET permission in its AndroidManifest.xml, it won't be granted access 
 to INTERNET in that case ?


 On Tuesday, June 9, 2015 at 2:27:14 AM UTC-7, luixal wrote:

 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 piyus...@gmail.com 
 escribió:

 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 automatically added.

 On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and 
 its new permission model, can anyone clarify if every app has INTERNET 
 permission or only the ones that define INTERNET permission exclusively 
 in 
 their manifest have it ?

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-06-08 Thread Jonathan S
If you compiled against Android M, Internet will be automatically added.

On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:

 Regarding the recent announcement on Google I/O about Android M and its 
 new permission model, can anyone clarify if every app has INTERNET 
 permission or only the ones that define INTERNET permission exclusively in 
 their manifest have it ?


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.