It seems like it should be possible to have 2 apps signed with same certificate. See the info below. If your paid app exposed functionality to your free app you would get the free/paid goal. The free app would check whether paid app was installed, if it was it would be used. If not an upgrade message would be displayed.
This was mentioned at the Android Developer Lab in NYC, but I have not seen any sample code. It would be nice to take this from concept to example. http://developer.android.com/intl/zh-CN/guide/publishing/app-signing.html * Code/data sharing through permissions – The Android system provides signature-based permissions enforcement, so that an application can expose functionality to another application that is signed with a specified certificate. By signing multiple applications with the same certificate and using signature-based permissions checks, your applications can share code and data in a secure manner.* -- Carmen http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com http://www.facebook.com/BFFPhoto http://www.twitter.com/DroidDrop On Wed, Feb 24, 2010 at 7:28 PM, Al <alcapw...@googlemail.com> wrote: > I have an app available as a free and donate version but my experience > may be useful for you. I have a single project, with a static final > variable called DONATE which is determined by the package name. You > could do the same thing and set a PAID variable. > > When someone tries to add a record, you would do a check, something > like if (! PAID) { /*inform user*/ } else {/*.....*/}. This will be > enough for the casual user but a determined user could get around the > restriction by modifying the apk using tools such as baksmali. > > For packaging the donate version, I make a copy of the folder and run > a perl script which goes through the files and changes the package and > any references to add the .donate suffix. I then use Eclipse to build > an apk from this folder. (you will have to delete the .class files in > paid-version/bin/ that refer to the lite/free version, otherwise you > will end up with an .apk which includes useless files.) > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > 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 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