[android-developers] Re: testing uses-permission
Make sure you uninstall the app completely from the G1, then re-install it (I do this through a weblink such as a href=blahblah.apkblahblah/a and install through the browser). This will make sure you have not granted it permissions earlier. Then make sure your app still functions. If it does, you are probably good to go. On Thu, Jun 25, 2009 at 10:24 PM, Dianne Hackborn hack...@android.comwrote: There is no difference between installing on the app store or through adb as far as the permissions you get or any other behavior of your app. You definitely want to request the camera permission if you are using the camera; there may be an issue in the platform where sometimes it is not enforced, so you don't want to break when it is enforced. As of cupcake there is no permission required to access the SD card. On Thu, Jun 25, 2009 at 9:27 PM, Sheadochad...@gmail.com wrote: Thanks for your response Odessa. My app isn't crashing (i'm expecting it to), even though I don't even have any uses-permissions setup. I even looked in the app manager, and it showed no permissions. Is this because I'm not installing via the app store? I guess I'll find that out soon. Still though, it would be nice to get some clarification on this =) On Jun 25, 5:30 am, Odessa Silverberg silverberg.ode...@googlemail.com wrote: If you run tasks you know need a certain permissions and have no crash. iirc you can see in the package manager which permissions you application has. You wont get any popups asking for permission after the application was installed. The only time you have to check the permissions is when the application is installed. At this time your only choice is: Install the application and allow all the necessary permissions or Don't install the application and disallow all permissions (no installed app = no permissions of course :P). You won't be asked every time you access the camera if you want to allow it like on regular Java mobile phones On Jun 24, 10:08 am, Sheado chad...@gmail.com wrote: howdy, i'm prepping my first app for publishing and am a bit confused about how to properly test my uses-permission tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via adb install as well as with the eoeAppInstaller (as somebody had recommended). Also, the app is signed with my own certificate (not the debug cert). given that it works fine with no permissions (btw, it accesses camera and sd card), how will I know if I've set all of the proper uses- permission tags? what's the proper way to test uses-permission tags? thank you!! -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: testing uses-permission
If you run tasks you know need a certain permissions and have no crash. iirc you can see in the package manager which permissions you application has. You wont get any popups asking for permission after the application was installed. The only time you have to check the permissions is when the application is installed. At this time your only choice is: Install the application and allow all the necessary permissions or Don't install the application and disallow all permissions (no installed app = no permissions of course :P). You won't be asked every time you access the camera if you want to allow it like on regular Java mobile phones On Jun 24, 10:08 am, Sheado chad...@gmail.com wrote: howdy, i'm prepping my first app for publishing and am a bit confused about how to properly test my uses-permission tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via adb install as well as with the eoeAppInstaller (as somebody had recommended). Also, the app is signed with my own certificate (not the debug cert). given that it works fine with no permissions (btw, it accesses camera and sd card), how will I know if I've set all of the proper uses- permission tags? what's the proper way to test uses-permission tags? thank you!! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: testing uses-permission
Thanks for your response Odessa. My app isn't crashing (i'm expecting it to), even though I don't even have any uses-permissions setup. I even looked in the app manager, and it showed no permissions. Is this because I'm not installing via the app store? I guess I'll find that out soon. Still though, it would be nice to get some clarification on this =) On Jun 25, 5:30 am, Odessa Silverberg silverberg.ode...@googlemail.com wrote: If you run tasks you know need a certain permissions and have no crash. iirc you can see in the package manager which permissions you application has. You wont get any popups asking for permission after the application was installed. The only time you have to check the permissions is when the application is installed. At this time your only choice is: Install the application and allow all the necessary permissions or Don't install the application and disallow all permissions (no installed app = no permissions of course :P). You won't be asked every time you access the camera if you want to allow it like on regular Java mobile phones On Jun 24, 10:08 am, Sheado chad...@gmail.com wrote: howdy, i'm prepping my first app for publishing and am a bit confused about how to properly test my uses-permission tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via adb install as well as with the eoeAppInstaller (as somebody had recommended). Also, the app is signed with my own certificate (not the debug cert). given that it works fine with no permissions (btw, it accesses camera and sd card), how will I know if I've set all of the proper uses- permission tags? what's the proper way to test uses-permission tags? thank you!! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: testing uses-permission
There is no difference between installing on the app store or through adb as far as the permissions you get or any other behavior of your app. You definitely want to request the camera permission if you are using the camera; there may be an issue in the platform where sometimes it is not enforced, so you don't want to break when it is enforced. As of cupcake there is no permission required to access the SD card. On Thu, Jun 25, 2009 at 9:27 PM, Sheadochad...@gmail.com wrote: Thanks for your response Odessa. My app isn't crashing (i'm expecting it to), even though I don't even have any uses-permissions setup. I even looked in the app manager, and it showed no permissions. Is this because I'm not installing via the app store? I guess I'll find that out soon. Still though, it would be nice to get some clarification on this =) On Jun 25, 5:30 am, Odessa Silverberg silverberg.ode...@googlemail.com wrote: If you run tasks you know need a certain permissions and have no crash. iirc you can see in the package manager which permissions you application has. You wont get any popups asking for permission after the application was installed. The only time you have to check the permissions is when the application is installed. At this time your only choice is: Install the application and allow all the necessary permissions or Don't install the application and disallow all permissions (no installed app = no permissions of course :P). You won't be asked every time you access the camera if you want to allow it like on regular Java mobile phones On Jun 24, 10:08 am, Sheado chad...@gmail.com wrote: howdy, i'm prepping my first app for publishing and am a bit confused about how to properly test my uses-permission tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via adb install as well as with the eoeAppInstaller (as somebody had recommended). Also, the app is signed with my own certificate (not the debug cert). given that it works fine with no permissions (btw, it accesses camera and sd card), how will I know if I've set all of the proper uses- permission tags? what's the proper way to test uses-permission tags? thank you!! -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---