How to create a single application from multiple Android projects

 ̄綄美尐妖づ 提交于 2019-12-09 20:16:38

问题


I am developing a project where i have to create several Android projects but at the end i have to package all the projects in to one single application.is there anyway to do it?

Thanks !!!


回答1:


Create Multiple APKs, and remove the Launcher category from the activities that you don't need to show up in the apps list. For one of the project, there would be a launcher.

But, the problem with this approach is that, users will have to install all the apks or, you can make your main apk handle this for you by saying,

"Hey, if you want this feature, go to the market and download this app" and direct them to the apks.




回答2:


Change your sub project to library project, then refer to them from your main project. Here are details http://developer.android.com/guide/developing/projects/projects-eclipse.html



来源:https://stackoverflow.com/questions/6605772/how-to-create-a-single-application-from-multiple-android-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!