hi Sreehari, I used the following content URI as follows Uri myURI = Uri.parse("content://com.android.mytable/table1"); The above i used in application one while creating database The same myURI used in application2 two query the table. com.android.mytable is the actual package name of the application1 and also i have given same thing as authorites tag in provider in manifestfile of application one
On Apr 14, 10:44 am, SREEHARI <sreehari.madhusooda...@wipro.com> wrote: > Hi Kiran, > > I want to know how you are specifying the content uri....?? Can u > pls provide the code snippet of your CONTENT URI.. > > I used Uri mUri = Uri.parse("content://com.wipro.FTCProvider.CellInfo/ > profiles"); instead of > Uri mUri = Uri.parse(CellInfo.CONTENT_URI) ; > > Try to give the complete uri in ur application which u r accessing the > content provider. Dont use the static variable CONTENT_URI even if u > assign the complete value to that. > > Regards, > SREEHARI -- 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 To unsubscribe, reply using "remove me" as the subject.