The method is to have a main application and an application that acts a key
to "unlock" functionality in the main app.  You can't upload two products
with the same package to the android market.

Doing it the way I described in the other thread allows the main application
to contain all the functionality to run in both "lite" and "paid" modes.
The mode that the application runs in is determined by whether you have the
key installed, which of course would have to have a separate package name
because you are not allowed to upload two projects with the same package
name.

The application that acts as a key never even has to run... it just has to
exist. Although, in my case, I have my key program set to just launch my
main app and quit.

Pulling common stuff out into a separate library would "work" (kind of) but
it would not be as easy as my method.

Thanks,
Justin

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Mon, Oct 5, 2009 at 2:19 PM, Steve <[email protected]> wrote:

>
> I don't think the other thread explained how to do this without
> creating two package names.  You would either have to re-name your
> package each time you published, or you would need two different
> projects, wouldn't you?
>
> Another approach is to try to pull out as much common functionality as
> you can into a 3rd Java-only project, with each of your projects (paid
> and free).  The tough part is that you can't move anything that
> references resources into a Java-only project.
>
> On Oct 5, 11:58 am, Justin Anderson <[email protected]> wrote:
> > I have already asked the same question, and later the solution on another
> > thread.  Just do a quick search for "code base" and you will find out how
> to
> > do this.
> >
> > If you have done this already, then you can ignore this, but a lot of
> > duplicate questions can be eliminated simply by searching for an answer
> > before posting a new question...
> >
> > Thanks,
> > Justin
> >
> > ----------------------------------------------------------------------
> > There are only 10 types of people in the world...
> > Those who know binary and those who don't.
> > ----------------------------------------------------------------------
> >
> >
> >
> > On Sun, Oct 4, 2009 at 7:48 PM, jax <[email protected]> wrote:
> >
> > > I want to crete two seperate android applications.
> >
> > > 1.  A "Lite" version with limited functionality
> > > 2.  A upgrade to the lite version (Pro version) with extended
> > > functionality (This will cost money)
> >
> > > Can someone tell me the best way to approach this....project setup
> > > etc.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to