I do this with AppSwipe! on the Market.  The main app is free and there is
also a donate key app.  The package names are as follows:

AppSwipe!: com.magouyaware.appswipe
Donate Key: com.magouyaware.appswipe2

To determine if the user has paid for additional features I have this class:

public class AppMode
{
     public static boolean isDonateMode(Context context)
    {
        PackageManager mgr = context.getPackageManager();
        int sigMatch = mgr.checkSignatures(context.getPackageName(),
"com.magouyaware.appswipe2");
        return sigMatch == PackageManager.SIGNATURE_MATCH;
    }
}

And I can do things like this:

if (AppMode.isDonateMode(myContext)
{
    //Unlock features here
}

It works quite nicely...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 9, 2011 at 8:40 PM, PatternMusic <[email protected]> wrote:

> Kindle is allowed to "circumvent the Market" because Amazon is selling 
> "digital
> content or goods that may be consumed outside of the application itself".
> This is not the same as unlocking a feature (e.g. the removal of ads) in
> ones app.
>
> See "*Paid and Free Applications" *in* *
> http://www.android.com/us/developer-content-policy.html
>
> There are many apps on the Market that are free but unlock additional
> features through additional APK downloads from the Market. I don't know the
> best practice for an IPC unlock mechanism, but it wouldn't be hard to do,
> and that would seem to comply with Google's requirement of using the
> Market's Payment Processor.
>
> The imminent in-app payment system will no doubt be prettier.
>
> Disclaimer: IANAL.
>
> - Richard Lawler
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to