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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:02:41+00:00 2026-06-16T10:02:41+00:00

What would be the right way of including smaller android apps, into one bigger

  • 0

What would be the right way of including smaller android apps, into one bigger if requirements are the following:

  1. little apps should be loosely coupled and should be developed separately
  2. bigger app should handle some common things, instead of each little app do it for itself.
  3. bigger app should now something about state of little apps, in order to do some decisions.

First thing that comes into my mind is some sort of plug-in pattern (although I don’t know much about it, so I could say something wrong), so that each little app should implement some common interface, and big app should use that interface when dealing with component.

Is that right approach?

Is this right way of thinking considering android as a platform?

  • 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-16T10:02:42+00:00Added an answer on June 16, 2026 at 10:02 am

    Your best bet is to make each sub app a “library.” You create a workspace in Eclipse and create a new Android project and mark it as a Library.

    You do that for each sub app.

    You then have a non-library application that imports each library and uses each as part of the full application.

    This means you don’t need to worry about writing a plugin interface, etc.

    Also if you follow this sort of pattern, when you create a free vs paid application, you are able to just add another application and remove / change functionality as that one all needs and compile both from the same code base.

    Update

    Take a look at http://developer.android.com/tools/projects/projects-eclipse.html for some decent documentation.

    This shows how to create both types of projects and how to reference them in your manifest which is the annoying part.

    Update2

    From comments it was asked if you can use a library Activity in a main application that imports the library.

    You create an Activity in the library

    com.example.myapp.library.MyActivity

    Then you add details to your manifest

    <activity name="com.example.myapp.library.MyActivity">

    This then let’s you use it there. You can even use a library Activity as your main startup Activity if that’s what you need.

    You can also extend a library Activity by changing your manifest to

    <activity name="MyNewActivity">

    Then create a new activity

    class MyNewActivity extends com.example.myapp.library.MyActivity

    Then just override what you want, call super to access your library method if desired, etc.

    Feel free to ask questions.

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

Sidebar

Related Questions

What would be the right way to go about the following: Input field for
I would like to know what is the right way to copy two-dimension array
I have two rails apps that I am thinking about merging into one because
Right first of I would like to thank everyone for helping me out on
How would I have a top right corner div as shown in the image.
I would like to define access right to Collabnet Subversion Directory with LDAP domain
I would like to confirm whether I am on the right track when identifying
I would like a two-column web page with the right panel fixed-width and the
I would like to have the page on user/sidebar on the right in the
I would like to float an image to the right of two text views.

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.