2

I have created two versions of the same app (paid and free) without problems. Instead of duplicating the assets folder, I used the "Linked source" functionality of Eclipse to reference the other project's assets folder (the physical assets folder is inside the paid version, the free version links to it). This has worked quite nicely.

Now I've encountered a specific problem though:

I have more content (more music) in the paid version that is unused in the free version. I tried filtering them in the free version using resource filters on the linked folders. In the package explorer that displays fine - I thought that would be enough to make it work.

However, when I inspected the resulting APKs, I noticed that the free version APK is about the same size. Opening them revealed that the free version - despite resource filtering - included all the content of the paid version. It seemed to completely ignore the filtering.

I wonder if there is any way to do this, or even a more elegant solution to the whole problem?

I am using libGDX by the way, so the structure is generally that I have a general common project that gets included by the two Android versions and Desktop version.

1615903
  • 32,635
  • 12
  • 70
  • 99
hhattori
  • 21
  • 1
  • You may find answer here... [best-way-to-have-paid-and-free-version-of-an-android-app][1] [1]: http://stackoverflow.com/questions/3711967/best-way-to-have-paid-and-free-version-of-an-android-app?rq=1 – Joseph Selvaraj Apr 12 '13 at 16:22
  • Thanks, but unfortunately that addresses only the problem I have solved already (i.e. creating two versions of the same app). The problem is not having two different programs sharing most of the same source code, but rather having a different set of content (textures, graphics, sounds, music) for both of them. Maybe I'm overlooking something? – hhattori Apr 17 '13 at 13:21

1 Answers1

0

Well, first I would recommend you to go Freemium model. You would support only one project, which makes things much easier, and generally Freemium makes more revenue.

If you still want to have 2 separate projects, then just duplicate the assets folder. Thats what I did when I used that Free/Paid model. Its easier then making filters everytime you need to distinguish between the assets of each project.

Daahrien
  • 10,190
  • 6
  • 39
  • 71