Android - Using a complete application as a library -


i developed complete , working app, on called "base-app", uses different modules , libraries, splash screen, activities, fragments , more...

i develop app (more 1 in future) uses base-app , adds more activities , functionalities. base-app it's not library because can executed standalone. need add customization customers.

and don't want clone app inside every new project, because every change in base-app should modify derived projects.

is there way so? using base-app starting point, launcher adding different activity each customer?

thanks

we have similar setup 2 of our apps, need following:

  1. mark base-app library (right click project name access properties dialog)
  2. create new application - base-wrapper - have use base-app library, , copy androidmanifest base-app base-wrapper.
  3. create new application - extended-wrapper - have use base-app library, copy copy androidmanifest base-app again, , add whatever new activities/services need project.

so have 2 applications can can build apks, both using same shared code in base-app library, don't need duplicate code.

if there activities or code need in base-wrapper can move library wrapper application project.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -