进口的Andr​​oid APK归档?

问题描述:

可以在Android APK存档导入到其它Android项目,并访问同样的方式作为一个JAR档案可以吗?

Can an Android APK archive be imported into another Android project and accessed the same way as a JAR archive can?

没有不是的方式,你会用一个罐子。如果您有要导入到项目的Java库,你可以简单地将其添加为在任何其他Java项目。

No not in the way you would use a jar. If you have a java library that you want to import into your project you can simply add it as in any other java project.

如果你有一个应用程序,你要在你的应用程序集成,您可以创建一个Android的库项目了这个程序。这使您能够建立一个R档的布局对象库和可绘等,这也是包括该库项目的项目相一致。

If you have the project files of an app that you want to integrate in you application you can create an android library project out of this app. This enables you to build a R file for the layout objects and drawables etc. of the library that is also consistent in the project that includes this library project.