Can i get Any particular example depicting this procedure. On Wed, Jan 21, 2009 at 1:54 PM, Dianne Hackborn <hack...@android.com>wrote:
> You don't do anything special to use it from another app, just use > ContentResolver to perform a query or whatever operation you want on the > appropriate URI. This will use the URI's authority to find the other app's > content provider, launch it, perform the operation on it, and return the > result. > > On Tue, Jan 20, 2009 at 11:02 PM, sunitna...@gmail.com < > sunitna...@gmail.com> wrote: > >> >> Just went through a thread >> >> >> http://groups.google.com/group/android-developers/browse_thread/thread/9804e683c7cebfc3/fe94e57e8f6f5847?lnk=gst&q=inserting+to+database+using+SQLite#fe94e57e8f6f5847 >> >> where in some details about what a content provider does is given >> >> Could some one help with the following >> >> 1. How do i use the content provider defined to interact with an >> application. >> I mean the database defined is for use in the program only, then >> how can i use this content provider from another program. >> >> 2. Is there an example depicting using of content providers. How are >> the content providers accessed else where so tht he databases defined >> in it be created at run time. >> >> Need urgent help regarding how to use a content provider from other >> applications. >> >> Cheers, >> Sunit >> >> > > > -- > 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. All such questions should be posted on public > forums, where I and others can see and answer them. > > > > > > -- Cheers, P Sunit Nair Senior Engineer Bharti Telesoft Ltd., 4, 12th KM, Bellary Road, Jakkur, Bangalore - 560064 Mobile :- +91-9886624994 "When you reach for the stars, you may not quite get them, but you won't come up with a handful of mud, either." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---