If you need to inform user of progress of your ContentProvider's actions, you shouldn't do it directly in your ContentProvicer, as the other posters in this thread have said as well.
Instead, you could have your ContentProvider-process implement a Service as well that will call back into any Activity ( that has registered for such callbacks) when progress needs to be updated. The activity can then show a progress indicator/dialog. On Dec 5, 12:03 pm, Abdul Mateen <abmat...@gmail.com> wrote: > Hi, > I have been stuck at a place , strange, I have a content provider class i.e > class extends ContentProvider, I want to know about the method to show the > dialog to the user when upgrading / creating a content provider or database > from within content provider, I tried many ways for it, but nothing seems to > be working, Can anybody here direct me to the reference or can tell me the > way I can show progress dialog box from within contentprodiver. > > Thank You, > Abdul Mateen. -- 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