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
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