I am a C# developer and getting started with Android. I am attempting to duplicate a couple applications I 开发者_运维百科already have in VS. The project is made of 2 executables and 1 common assembly. The 2 executables contain the application specific logic while the common contains centralized forms and logic (such as login form). I am using Eclipse. So how can I accomplish this layout?
Thanks
In Eclipse, with your project selected in the Navigation or Package Explorer view:
Project -> Properties -> Java Build Path
Here you can add references to Libraries (jar files which I believe are similar in concept to C# assemblies) or other projects you have open in Eclipse.
So create as many projects in Eclipse as you want for your application's layout, and in the main Android project (the one where your application's Manifest file exists) reference those other projects, or the jar files you exported from those projects, in the Java Build Path.
精彩评论