How to achieve this?

Discussion in 'Chit Chat' started by Cableguy, Jan 27, 2015.

  1. Cableguy

    Cableguy Expert Licensed User

    Ok, so I started planning my next app...
    My line of thinking is this:

    User downloads my app with one or two features ( I would call them Modules )
    Then, in-app the user can buy additional independant Modules.
    These Modules would then be Loaded into the app and showed inside a panel.

    how can this be achieved, knowing that each Module has very different funcionality, thou sharing one single main component?

    to be more clear, imagine a workbench, that starts of with only a workspace and a vice.
    then the user can buy a lab power-supply, then an osciloscope, then a wave-gen...
    All have different specific uses, but all work on the workbench, either stand alone, either together...

    HOW CAN THIS BE ACHIEVED?
     
  2. WAZUMBi

    WAZUMBi Well-Known Member Licensed User

    The simplest way would be to include but deactivate access to the additional modules.
    Then when a purchase is made set a flag to make them available.

    Here is a link to Google Play In-app Billing Overview
     
  3. Cableguy

    Cableguy Expert Licensed User

    I thought about it, and as a base start, I may go with it, BUT, if I am to create newer modules in the future, It would mean recompiling and/or recoding most of the app.

    SO no other way to run in app widgets?
     
  4. KMatle

    KMatle Expert Licensed User

    I would do it like Wazumbi has written. Enable/disable the functions. Benefit: You only have ONE app. Recompiling (new version to add another function) is the smallest problem.

    Inside the app you have to call some sort of server sw (php + MySql) to check if the user has payed for function x. It's all about the design of your app. I would use panels for each function. With a simple List you can handle the activation of function x (shows up or not).
     
  5. Cableguy

    Cableguy Expert Licensed User

    I was afraid of this...
    Any examples on this? I do have my own domain php/SQL enabled... but for me... is Chinese!
     
  6. WAZUMBi

    WAZUMBi Well-Known Member Licensed User

    Google Play already has a mechanism in place for this. Once the upgrade has been purchased they send your app the purchase details.

    You will need to add the library as described here:
    http://developer.android.com/training/in-app-billing/preparing-iab-app.html#GetSample

    Adding a new code module as to simply setting a flag to enable access to it? No sure if this is possible.

    I think you may need to have separate paid versions of your app and avoid all this.
     
    Cableguy likes this.
  7. Cableguy

    Cableguy Expert Licensed User

    Very good reading. ...

    Not adding but enabling. .. it's doable
    That would mean having about 15 to 20 different versions. My goal is to create an "all in one place" app
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice