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 7861507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:45:54+00:00 2026-06-02T22:45:54+00:00

My application is searching for data, given various filtering parameters. This data is acquired

  • 0

My application is searching for data, given various filtering parameters. This data is acquired from multiple sources (i.e. multiple sites over Internet). I want other developers to be able to implement their own data sources, so they could “plug” them into my application without any action on my part.

What is the best way to achieve that? In particular:

  1. What should the external developers do to make their implementations visible to my process?
  2. How do I discover such external implementations?
  3. Once discovered, what can I use as an identifier for each of these implementations?
  4. How to communicate with various “methods” of the external implementation.

My best guess is to use services:

  1. Have external developers set up their service with intent-filter with a specified URI.
  2. Use PackageManager#queryIntentServices method to list all services matching a specified URI.
  3. Use their package name as identifiers, so I can fire up intents directly at that package.
  4. Believe that external developers listen and properly respond to all intents specified in my docs. I will pass them either PendingIntent or Messenger objects to get the results back.

I haven’t yet tried it and I am a beginner in Android. Is this the proper way?

  • 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-06-02T22:45:56+00:00Added an answer on June 2, 2026 at 10:45 pm

    Have external developers set up their service with intent-filter with a specified URI.

    Use PackageManager#queryIntentServices method to list all services matching a specified URI.

    If by "URI" you mean "action", this is certainly one approach.

    Use their package name as identifiers, so I can fire up intents directly at that package.

    Yes.

    Believe that external developers listen and properly respond to all intents specified in my docs. I will pass them either PendingIntent or Messenger objects to get the results back.

    Those would work. I’d lean towards PendingIntent.

    Is this the proper way?

    :: shrug ::

    "Proper", like truth and beauty, lies in the eye of the beholder.

    (and hopefully not that beholder — those things were nasty)

    There is nothing intrinsically wrong with your approach. I might do the same thing, modulo my comments above.

    Some alternatives:

    • Same strategy, but have the service export a binding interface with AIDL, with your host binding to them (advantage: richer API, disadvantage: bigger pain to set up, particularly if your host is an activity)

    • Plugins are ContentProviders, which you discover by an authority naming convention or some bootstrap method

    • Plugins really communicate with you via broadcast Intents (works well if the predominant data flow is them pushing data to you rather than you pulling data from them)

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

Sidebar

Related Questions

I'm deploying a Rails application that aggregates coupon data from various third-party providers into
I am searching for free event sources that I can use within my java-application.
fopen(C:/xampp/htdocs/adv/application/views\helpers/Layout.php) how to fix this path? And why does ZF is searching for bundled
I searching for a technique to save temporary data. It should be reachable from
I have an application where a multiple shops will share the data. There is
I'm searching for a way to write complex data configurations for my application. I
I'm working on a C# application that needs to scrape some data from a
I have an small ASP.NET application that reads data from a table and sends
I want to create an call recorder application in blackberry. While searching in this
Yii 1.1 application development Cookbook explain a method for using data from related Active

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.