views:

83

answers:

2

I have 2 android applications that share 95% of their resources, layouts, strings etc. only a few jpg's are different.

How can I share resources between the different Eclipse Android projects, so as to avoid resource duplication ?

A: 

Put all your common resources into a separate jar and use this in your separate projects.

Adrian Regan
+3  A: 

Eclipse provides 2 ways to do it,

  1. Create a library project and include this library projects in two application projects
  2. Create a Shared Source Folder, goto your project properties and in Source tab, you can link a folder which may be in any other project and include all files of those folder as a link, without duplicating them.
Akash Kava
Number 1. worked for my purposes