If you use a test response (in other words, you're using a developer/test account and have the Market publisher console set to something other than "Respond Normally" for licensing requests), the server doesn't send any response "extras".
This means that your local cache will expire after 1 minute -- which is the minimum cache lifetime as enforced by ServerManagedPolicy. -- Trevor Johns Google Developer Programs, Android http://developer.android.com On Sat, Jul 31, 2010 at 3:17 PM, sblantipodi <perini.dav...@dpsoftware.org>wrote: > How can we use ServerManagedPolicy in the emulator and fastly switch > from licensed to unlicensed to something else? > > The first time I got the licensed message, than I'll continue to get > the licensed > message also if I set UNLICENSED from my developer console after I > deleted and reinstalled the app on the emulator. > > Thanks. > > On Jul 31, 4:23 pm, sblantipodi <perini.dav...@dpsoftware.org> wrote: > > Hi, > > I'm using the ServerManagedPolicy implementation from the LVL code > > sample (MainActivity.class) but I haven't understood how it manage > > cache. > > > > The first time application start it needs internet to validate the > > license, if it is validated, how much time should pass before a second > > check is needed? > > > > Thanks. > > -- > 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