[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-06 Thread shomari
The signature permission is a VERY helpful bit of info. I had officially given up on using any inter-app security on Android as NOT being a viable option for a quality user experience. However, moving forward it appears this issue will become less of an issue (at least for apps signed with the

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Flying Coder
Mark Dianne, Thanks for the replies. I was hoping there might some equivalent of adb install -r that would allow my app to be re-installed without losing its data (is it possible?). Unfortunately, the backup/restore to SD card won't work for this app because the SharedPreferences contains

Re: [android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 9:19 AM, Flying Coder av8r.st...@gmail.com wrote:    Thanks for the replies.  I was hoping there might some equivalent of adb install -r that would allow my app to be re-installed without losing its data (is it possible?). adb install -r doesn't re-install an app. It

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Flying Coder
Call it what you want, is there a way to make it happen? I believe the in place update would be sufficient to get the permission recognized. On Sep 5, 11:21 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Sep 5, 2010 at 9:19 AM, Flying Coder av8r.st...@gmail.com wrote:    Thanks for

Re: [android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 11:31 AM, Flying Coder av8r.st...@gmail.com wrote: Call it what you want, is there a way to make it happen? Run adb install -r, or publish an update to your app on the Market. I don't know of any other mechanism to do this. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Dianne Hackborn
There isn't a way in the SDK. You need to go through the permissions screen so the user can approve the permissions being granted. (adb install doesn't go through permissions because the shell is running as the user.) On Sun, Sep 5, 2010 at 8:33 AM, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Flying Coder
OK. BTW, thanks for the tip about the signature permission. That not only helped with a workaround for this problem, but also with another related issue. Cheers, Steve On Sep 5, 2:58 pm, Dianne Hackborn hack...@android.com wrote: There isn't a way in the SDK.  You need to go through the