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:
- mark
base-app
library (right click project name access properties dialog) - create new application -
base-wrapper
- have usebase-app
library, , copyandroidmanifest
base-app
base-wrapper
. - create new application -
extended-wrapper
- have usebase-app
library, copy copyandroidmanifest
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
Post a Comment