Re: [android-developers] Re: How to set permission in content providers

2010-09-21 Thread Sohan badaya
Hi Brion, You are right. It's working in other application also. Thanks a lot. Thanks and Regards, Sohan Badaya On Tue, Sep 21, 2010 at 5:59 PM, Brion Emde wrote: > I believe that both applications will need to declare that they use > those permissions, in their part of the manifest. > > My

[android-developers] Re: How to set permission in content providers

2010-09-21 Thread Brion Emde
I believe that both applications will need to declare that they use those permissions, in their part of the manifest. My app declares its own permissions for read/write in the ContentProvider and the permissions appear in three places: the declaration of the permissions; the and in the declarati

Re: [android-developers] Re: How to set permission in content providers

2010-09-21 Thread Sohan badaya
Hi Jerome, I tried your solution, but still it's not working. I am getting same exception. ERROR/AndroidRuntime(18573): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.access/com.test.access.TestDatabaseApp}: java.lang.SecurityException: Permission Denial: writing com

[android-developers] Re: How to set permission in content providers

2010-09-21 Thread Jerome Deng
Try to add below lines to your app2's manifest file: On Sep 21, 2:57 pm, Sohan badaya wrote: > Hi All, > > I have a doubt regarding content provider.My doubt is > I create a app1 that creates ContentProvider and in second > application(app2) i am using app1's contentprovider methods(lik