[android-developers] Re: LVL does not work while testing

2011-04-10 Thread Nicholas Johnson
Ted,

Besides doing what jtoolsdev already said, make sure that you're associating 
your Google account with your phone (Settings-Account-Add Account).

If you're using your own phone to test it out, then I assume that you're 
Gmail account is already associated with your phone.

Also, the LVL implementation does have some default logging (which don't 
appear as errors... I don't think); so, make sure that you're looking 
through *all* the logs, because that might give you another hint.

Nick

-- 
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

[android-developers] Re: LVL does not work while testing

2011-04-08 Thread jtoolsdev
That should have read It doesn't work with other versions.

On Apr 7, 4:36 pm, jtoolsdev brianjto...@gmail.com wrote:
 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


[android-developers] Re: LVL does not work while testing

2011-04-07 Thread jtoolsdev
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