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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:34:02+00:00 2026-05-31T19:34:02+00:00

Problem I want to create an application that can be extended somehow by programmers.

  • 0

Problem

I want to create an application that can be extended somehow by programmers. I have a set of classes that can be extended, that I provide in a jar to programmers (although I don’t like this solution that much since I can’t change the API later), and then they can extend that interface and develop their classes. The problem starts in this phase. I want to extend it through classes, not activities.

What I know

I have been reading about that subject, and people usually advise the use of intents and intent-filters to do an android pluginable application. The problem is: this tactic requires the use of activities, and it is useful to launch a set of activities that work as plugins inside a main application. I don’t want that. I need to load a set of classes in the start of my application that are external to the main project. Also I read about ClassLoaders but some solutions are kinda hacky and I couldn’t find what I wanted for my problem …

Questions

So how can I create classes that can be loaded by an application in Android? And how can I load those classes, that are developed externally, into my application?

  • 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-31T19:34:03+00:00Added an answer on May 31, 2026 at 7:34 pm

    You can still use intents without having activities. Intents and activities have little to do with each other. The only commonality is that intents also start activities. You should be really weary of using a classloader in Android, for a lot of reasons (mostly security ones). The best thing to do would be to write a “driver app” that other apps can interface to using some sort of Service: either an intent service, or using a Messenger. Either that, or using an AIDL interface (Android RPC). AIDL is going to be the most flexible (though hardest to implement?), with Intents being the simplest.

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

Sidebar

Related Questions

I want to create an iPhone application that can call web services on a
I want to create windows application in c# 2008. The problem is I don't
I want to create an application for the iPhone that plays a custom memory
I have an application that stores users in a database. I want that administrators
I want create timer in my program so that I can cause it to
I want to create a web application where user can upload their own images
I have a WPF application that builds fine, I can even publish it (localhost)
I have an application that performs a very sequential set of discrete tasks. My
I have a windows service application that runs as Local System, and I want
I want to create a timesheet application where I need an application that will

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.