I am about to embark on a project for android that will have a free version and a premium version.
In VC++ land you would do this by adding preprocessor tags around the premium sections (or where the code would enter a premium section).
I could have two projects with separate source trees, but a bug in one would require a fix in the other.
However in Java you don't have a preprocessor so how do I go about this? Say you have a screen with an additional button that is the premium feature how would that be handled?
I will be using Eclipse as my IDE so Eclipse-centric answer appreciated.