The "Google APIs" add-on for 2.2 (in revision 2) supports testing LVL-
enabled app.

See instructions at 
http://developer.android.com/guide/publishing/licensing.html#acct-signin

On Jul 30, 10:30 am, sblantipodi <perini.dav...@dpsoftware.org> wrote:
> Really thanks but so there is no way to test LVL using emulator?
> I don't want to test the "Buy Button" that redirect from the app to
> the market,
> I want to test the doCheck() method that tell me if the app is
> licensed or not.
>
> This should work ok on the emulator. Am I wrong?
> Thanks.
>
> On Jul 30, 7:22 pm, jeffro <j...@trackaroo.com> wrote:
>
> > I don't believe the Android Market is included on the emulator and the
> > licensing service is included with the Market app.  I have it working
> > successfully, but I did all my development and testing with a real
> > phone (N1 Froyo).
>
> > Jeff
>
> > Visit Trackaroo.com!
> > Trackmaster - Motorsports Lap Timer
> > Dynomaster - Performance Dyno
>
> > On Jul 30, 10:08 am, sblantipodi <perini.dav...@dpsoftware.org> wrote:
>
> > > Hi all,
> > > I'm trying to get LVL working.
>
> > > I followed the offical guidelines, I copyed the LVL source into my
> > > project and added the correct
> > > manifest attribute.
>
> > > I also copyed from LVL sample folder the mainactivity.java into my
> > > project,
> > > changed the public key with the one from my developer console.
>
> > > When I launch my software the MainActivity tell me always the
> > > application is not licensed also if I specified that is Licensed from
> > > my developer console...
>
> > > This is the output of the logcat,
>
> > > W/ResourceType(   57): No package identifier when getting value for
> > > resource number 0x7f060001
> > > I/ActivityManager(   57): Starting activity: Intent
> > > { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCH
> > > ER] flg=0x10200000 cmp=packageName/.AndroidMarket }
> > > I/ActivityManager(   57): Start proc packageNamefor activity
> > > packageName/.AndroidMarket: pid=658 uid=10023 gids={3003}
> > > I/jdwp    (  658): received file descriptor 20 from ADB
> > > D/ddm-heap(  658): Got feature list request
> > > I/LicenseChecker(  658): Binding to licensing service.
> > > W/ActivityManager(   57): Unable to start service Intent
> > > { act=com.android.vending.licensing.ILicensingService }: not fo
> > > und
> > > E/LicenseChecker(  658): Could not bind to service.
> > > D/        (  658): unable to unlink '/data/data/packageName/
> > > shared_prefs/com.android.vendi
> > > ng.licensing.ServerManagedPolicy.xml.bak': No such file or directory
> > > (errno=2)
>
> > > any idea would be appreciated.
>
> > > In addition when I click on the buy now button after it told me that
> > > application is not licensed,
> > > it will redirect me on the android market and I got a 404 error.
> > > Probably because emulator isn't authorized to access the market, I
> > > don't know...
>
> > > 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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to