Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6219489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:47:35+00:00 2026-05-24T07:47:35+00:00

I have been trying to develop an app that will deal with content providers

  • 0

I have been trying to develop an app that will deal with content providers {contacts, calendar, docs, etc} and their sync options. Although the app works well for existing providers, there might come a time when the authority is not pre-defined. In that case my app can do nothing.

What I need to do is to listen for when a new content provider is installed/registered. For example, if I download Google docs from the market, it registers itself as a provider, so my application should be able to realise that and deal with it accordingly.

Can anyone help with this? I have searched online for two days and unless I’m doing something wrong in the search string, I have no answers thus far. Any help is appreciated, and thanks in advance.

-Sreedevi.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T07:47:37+00:00Added an answer on May 24, 2026 at 7:47 am

    There is no way to detect when a new ContentProvider is installed.

    What you CAN do is detect when a new package is installed (see http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED) and then use the PackageManager‘s PackageInfo interface to list all the ContentProviders the new package has (see the ProviderInfo[] array).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to develop a peer to peer application that uses Micosoft's
Hey, So I'm trying to develop an App that will take the users ID
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have been trying to develop a Java ME application using WTK 2.5.2 (Java
For the last three days I have been trying to develop a web based
I'm trying to develop an agent/client that will listen to HTTP requests on a
I've been trying to develop a linq query that returns the ItemNumber column of
I have been trying to make sense of some claims that Appcelerator Titanium makes.
I have been trying to develop a 3D data-visualization software, and now I need
int duplicate (int cards[5][4][13]) I have been trying to develop a function (the prototype

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.