I assume you are using a Froyo (Android 2.2) emulator? It doesn't work with versions. What Google should have done with LVL is also to have included a couple example Policy source files for the developers to examine and get hints from.
On Apr 6, 1:56 pm, ted <t...@filigreeinc.com> wrote: > I followed the developer.android.coml guidelines by copying the LVL > source into my > project scr folder (it couldn't find the library.ask file if I > installed lvl as a library) . I added the manifest attribute > and much of the 'sample' code into my apps main activity. > > When I call this code in my app: > > mChecker.checkAccess(mLicenseCheckerCallback) > > it never returns to the MyLicenseCheckerCallback callback methods. > Instead it returns to the next line after the > 'mChecker.checkAccess(mLicenseCheckerCallback)' statement in my app. > > When debugging thru the 'LicenseChecker.java', I can see that the > 'mService' variable == 'null' so it then goes on to bind and the > 'bindResult' variable becomes 'true'. It then runs the statement: > > mPendingChecks.offer(validator); and returns to my calling method, > without going to the MyLicenseCheckerCallback method in my app. I > can't find any documentation explaining the workings of the lvl code > and its variables, so I am stumped as to why the lvl code is not > working properly. -- 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