Re: [android-developers] How to best maintain two different versions of the same app?

2010-01-08 Thread Dan Sherman
We had good luck with our latest project with just checking the package string. Naming the project xxx.xxx.project, and xxx.xx.project_lite And in our Activity subclass, checking for the package name, and setting a static variable for paid. Depends how much code needs to switch with paid

Re: [android-developers] How to best maintain two different versions of the same app?

2010-01-08 Thread Olivier Guilyardi
On 01/08/2010 07:15 PM, Mariano Kamp wrote: > this seems to be a very basic need, but googling it I got the impression > that is not easily or elegantly solvable. > > The requirement is totally simple: I want to have a lite and pro version > of an app. There is a little bit of difference between t

Re: [android-developers] How to best maintain two different versions of the same app?

2010-01-08 Thread Mark Murphy
Mariano Kamp wrote: > Working around this ID issue the straight forward approach would be to > have a third project with the common code that exports its code, > libraries and in a best case scenario also the ressources to the other > two objects. Unfortunately this doesn't work. Only the actual An

Re: [android-developers] How to best maintain two different versions of the same app?

2010-01-08 Thread Frank Weiss
I've suggested using Eclipse project dependency, but haven't whether or not it works for Android projects. On Jan 8, 2010 10:15 AM, "Mariano Kamp" wrote: Hi, this seems to be a very basic need, but googling it I got the impression that is not easily or elegantly solvable. The requirement is to

[android-developers] How to best maintain two different versions of the same app?

2010-01-08 Thread Mariano Kamp
Hi, this seems to be a very basic need, but googling it I got the impression that is not easily or elegantly solvable. The requirement is totally simple: I want to have a lite and pro version of an app. There is a little bit of difference between those two apps, but they are 99% identically. Unfo