Hi, Thank you for your answers, the problem remains the same, the android system starts content provider before starting any activity, If I explicitly starts any activity within the content provider class the android system after completing the task for upgrading/creating starts the MAIN activity.So can you propose some source to start a background activity for this?
On Sat, Dec 5, 2009 at 12:11 PM, Mark Murphy <mmur...@commonsware.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. > > ContentProviders do not have their own user interfaces and so should not > be displaying dialog boxes. > > Have the activity that told the ContentProvider to "upgrading / creating a > content provider or database" display its own dialog. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > Android App Developer Books: http://commonsware.com/books.html > > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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