Handling Full/Demo versions of app in Eclipse


Last Updated:

  1. markb

    markb Well-Known Member This Topic's Starter

    Joined:
    Sep 14, 2009
    Messages:
    148
    Likes Received:
    26
    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

    Joined:
    Jan 31, 2010
    Messages:
    12
    Likes Received:
    0
    Bumping as I'm wondering exactly the same thing. Any ideas?
     

Share This Page

Loading...