1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

eclipse shared code

Discussion in 'Android App Developers' started by lmbgm, Dec 23, 2011.

  1. lmbgm
    Offline

    lmbgm New Member

    Joined:
    May 3, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I've developed my first android app in eclipse. I'm new to using eclipse so hopefully this is an easy question.

    I would like to make a free supported version and a paid ad-free version so 99% of the code will be the same.
    Also, I think I can create maybe 3 different apps repeating about 75% of the code. If I have free and paid version, now its 6 projects to maintain.

    I know I can just copy the project and make the changes, but is there a way I can share the code. That way if I have a bug fix, I don't have to repeat my work six times.
  2. xksoftwaredev
    Offline

    xksoftwaredev Developer Developer

    Joined:
    Apr 12, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Hmmm honestly your best bet might be to get a text editor that can compare the source files for changes and then make the changes. I'm not sure if there is a way to do this from eclipse but I would definitely be interested. Honestly, you might want to consider using in App purchases to unlock a full version of your app. On average, in app purchase apps do better in revenue and you only have to manage one application. I have an app that has both free and paid versions and bug fixing is a pain since I have to make the changes in two projects. Best of luck to ya!