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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:39:28+00:00 2026-05-30T03:39:28+00:00

I have some data/helper classes defined which I use in several projects. These data

  • 0

I have some “data/helper classes” defined which I use in several projects. These data classes are quite big and really do not change between the projects. There is some logic in the data classes in their methods – this also remains the same among all the projects. These “data classes” are not activities!

Now when creating a new project that uses these “data classes” it needs to compile all their code everytime, since I always make a copy of these classes and paste it in the new projects. This slows down the development/compilation of new projects.

Is there an efficient way to “pre-compile” or somehow define these “data/helper classes” as library components so that development of new projects is more efficient and only compiles the new code just linking in these “data classes” somehow?

I only found a way to make activities into libraries – but this reusable classes are not activities.

Many thanks!

  • 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-30T03:39:30+00:00Added an answer on May 30, 2026 at 3:39 am

    This is a very common use case, You should move and create all your common stuff (data/helper classes) into a classic jar library, compiled and end up with a common-lib.jar, and add this common-lib.jar to either your main project or library project classpath.

    Check out the official dev guide here to see how to add external jar library to either Android project or Android library project.

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

Sidebar

Related Questions

I have a helper method which encrypts some data on the iPhone. If the
I have some data that won't printf.... echo works, but not printf There is
I have some ASP.NET web services which all share a common helper class they
This is really two questions, noted below: Currently I have some public internal helper
I have written some code using jQuery to use Ajax to get data from
I have some basic questions about core data (which I am new to) and
I have some data with messed-up accented characters. For example in the data we
I have some data grouped in a table by a certain criteria, and for
I have some data of the form Key ID Link 1 MASTER 123 2
I have some data. I want to go through that data and change cells

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.