Justin, So the donate key app doesn't actually implement any logic? The mere fact that it is an available package on the phone (means that the user paid money for the download) is the flag that tells the main app to unlock code features?
Niiiiice. ...Jake >>>>> "JA" == Justin Anderson <magouyaw...@gmail.com> writes: JA> I do this with AppSwipe! on the Market. The main app is free and JA> there is also a donate key app. The package names are as JA> follows: JA> AppSwipe!: com.magouyaware.appswipe JA> Donate Key: com.magouyaware.appswipe2 JA> To determine if the user has paid for additional features I have this class: JA> public class AppMode JA> { JA> public static boolean isDonateMode(Context context) JA> { JA> PackageManager mgr = context.getPackageManager(); JA> int sigMatch = mgr.checkSignatures(context.getPackageName(), JA> "com.magouyaware.appswipe2"); JA> return sigMatch == PackageManager.SIGNATURE_MATCH; JA> } JA> } JA> And I can do things like this: JA> if (AppMode.isDonateMode(myContext) JA> { JA> //Unlock features here JA> } JA> It works quite nicely... JA> Thanks, JA> Justin Anderson JA> MagouyaWare Developer JA> http://sites.google.com/site/magouyaware JA> On Wed, Mar 9, 2011 at 8:40 PM, PatternMusic <richardlw...@gmail.com> 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 android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> JA> -- JA> You received this message because you are subscribed to the Google JA> Groups "Android Developers" group. JA> To post to this group, send email to android-developers@googlegroups.com JA> To unsubscribe from this group, send email to JA> android-developers+unsubscr...@googlegroups.com JA> For more options, visit this group at JA> http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en