Android- combining projects
Im currently working on a large project and I have built all the different modules into their own projects. Now I need to put all the modules together into one project.
I wou开发者_Python百科ld like for the separate activities to launch upon certain button clicks and I know how to do that. What Im kind of struggling with is importing all the other child activities into the main one.
Can I just import all the source files from my modular projects into their places in the main app where they exist in their own project? Im imagining I will have to make declarations in the main activity.j file that I have to include everything but I havent built a really large project yet so some help would be much appreciated.
If anybody has any tips on importing multiple projects into one main one I would love to here from them.
Make the projects, you want to include, to library projects and add them to the main projects settings. You need to add the services, activities from all library projects manifests to the main projects manifest.
Full qualify all names in the main project to point to the library projects. Full qualify all custom view names in ressource files.
That's all.
精彩评论