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

  • Home
  • SEARCH
  • 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 6352053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:07:44+00:00 2026-05-24T22:07:44+00:00

I will start with a quick Hello since it’s my first post on stackoverflow.

  • 0

I will start with a quick “Hello” since it’s my first post on stackoverflow. 🙂 I’m also new to Java and Android so please, be gentle 😉

And now let’s get to the point. I’m writing an application which will be published as two independent apps based on two different remote backends and with different looks. I believe I need three things to achieve that:

  1. a few separated classes responsible for exchanging data and
    information with backend and serving a common interface for the rest
    of the app,
  2. two dedicated manifest files (one for each app),
  3. dedicated “res/” folders

ad 1.

I just designed interfaces implemented by classes closed in packages – one for each backend. Now all I have to do is changing one package including statement before building the app. Is there a better way to do it? I mean – can I somehow dynamically decide which package to include based on some configuration?

ad 2.

While writing this post I just figured that this is actually not necessary since all data in manifest come from resources. If I switch res/ folder – I’m done.

ad 3.

This is actually the main issue I need help with. All I can figure right now is to have to folders named like “res1/” and “res2/” and “renaming” one of them to “res/” before building each application. Is there any way of customizing the location of resources? Maybe you have some other idea how to do the job? I will be very grateful for any help.

  • 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-24T22:07:45+00:00Added an answer on May 24, 2026 at 10:07 pm

    Have a look at library projects. You can have your common resources in a library project, referenced from two or more apps. Each app can have its own resources, and if needed, override the default ones.

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

Sidebar

Related Questions

I will start new PDA project on the windows mobile and compact framework 2.0
As we all know Java program will start executing from the public static void
I'm fairly new to C# but I will try to make this quick! ;)
I will start by saying that I don't think what I want can be
I have a .Net console App which using a scheduled event will start, call
I'm trying to create a bookmarklet that will start off an AJAX call to
I have an asp.net page that calls a dll that will start a long
We have an ASP.Net MVC project that will start with a single web server
When I'm inside a destructor is it possible that some other thread will start
In Tomcat, I wrote a ServletContextListener which will start an ExecutorService during startup and

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.