1. Check out our companion app, Forums for Android! Download from Google Play

Handling Full/Demo versions of app in Eclipse

Discussion in 'Application Development' started by markb, Jan 14, 2010.

  1. markb

    markb Well-Known Member
    Thread Starter

    Sep 14, 2009
    Software Developer (Java, C, Web, Unix)
    Birmingham, UK
    Hi folks,

    I was wondering how people go about having different versions of the same app in Eclipse. Is there some way to put the common Android code in a shared Eclipse project?

    For example, if I have a new app "MyApp", and I want to release a full version com.brintsoft.MyApp and a trial version com.brintsoft.MyAppTrial, I have to have 2 Eclipse projects each containing the full source (but with minor differences). Obviously, that's not very good as I have to make changes in two places whenever I produce a new version.

    Ideally I'd like to have an Eclipse project containing all the common code, and a small project for the full app, and a small project for the trial app.

    I've tried it, but I can't make it work. Every project needs to be an Android project, and I don't seem to be able to share code between them.

    I've had no problems doing this sort of thing with standard Java projects. But I'm stuck when it comes to Android projects.

    Any suggestions would be gratefully received.




  2. DoddyUK

    DoddyUK Member

    Jan 31, 2010
    Bumping as I'm wondering exactly the same thing. Any ideas?

Share This Page