Handling Full/Demo versions of app in Eclipse

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

  1. markb

    markb Well-Known Member
    63

    Sep 14, 2009
    148
    26
    63
    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.

    Thanks,

    Mark
     

    Advertisement

  2. DoddyUK

    DoddyUK Member
    35

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

Share This Page

Loading...