Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
LVL - live test
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
a1  
View profile  
 More options Aug 1 2010, 1:05 pm
From: a1 <arco...@gmail.com>
Date: Sun, 1 Aug 2010 10:05:10 -0700 (PDT)
Local: Sun, Aug 1 2010 1:05 pm
Subject: LVL - live test
Hi everybody,

I've just pushed emergency fix after last update which disabled LVL
check, 3h after update I received about 5 emails and 4 1* comments due
to licence verification failure on legit copies of my game.

I've used slightly modified ServerManagedPolicy (with minimum cache
time set to 1 week and 10 retries / 1 week grace period), main problem
was that I do not force grace period and retries during first check,
that was probably reason for bogus verification failures, anyway
bottom line is that after testing LVL live, I do not plan to use it
again, there are too many potential problem for legit customers.

--
Bart Janusz (Beepstreet/Hyperbees)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sblantipodi  
View profile  
 More options Aug 1 2010, 3:12 pm
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Sun, 1 Aug 2010 12:12:10 -0700 (PDT)
Local: Sun, Aug 1 2010 3:12 pm
Subject: Re: LVL - live test
have you tryed using a non authorized gmail account from emulator?
it returns always licensed... have you noticed the same?

On Aug 1, 7:05 pm, a1 <arco...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Aug 1 2010, 6:33 pm
From: RichardC <richard.crit...@googlemail.com>
Date: Sun, 1 Aug 2010 15:33:14 -0700 (PDT)
Local: Sun, Aug 1 2010 6:33 pm
Subject: Re: LVL - live test
Just done this test myself and get the same result as you. That is a
new google account that has not bought the application is getting the
ALLOW response.

Test details:
* I did a set tests on the emulator with my market account and got the
expected results ie. the test responses from the market profile.
* I then created a new Google account and tested the Strict Policy.
The check returned ALLOW - this was NOT expected.

Test Implementation Details:

Application:
* LVL Test - skeleton test app with 2 buttons for one for [Server] and
the other for [Strict] policy check.
* Nothing subclassed or overridden, just using the classes from the
library.

Market:
* Test application LVL Test uploaded to the market and saved but NOT
published.
* Test response set to "Respond Normally"

Emulator:
* Android 2.2 with google APIs
* Started emulator with wipe user data and then added my test google
account.
* From Eclipse deployed my LVL Test application to the emulator.
* Ran a strict policy check - Result was ALLOW.

Can anyone give my any insights?

start implementation details
----------------------------------------------

my activity:

public class LvlTestActivity
        extends         Activity
        implements      OnClickListener,
                                LicenseCheckerCallback

in onCreate(...):

  deviceId =
Settings.Secure.getString(getApplicationContext().getContentResolver(),
Settings.Secure.ANDROID_ID);
  obfuscator = new AESObfuscator(SALT, getPackageName(), deviceId);
  serverManagedPolicy = new
ServerManagedPolicy(getApplicationContext(), obfuscator);
  strictPolicy = new StrictPolicy();

in onClick(...):

  case R.id.strict_polity_button:
  {
    policyCheckResultTextView.setText("start StrictPolicy check");
    licenseChecker = new LicenseChecker(this, strictPolicy,
PUBLIC_KEY);
    licenseChecker.checkAccess(this);
    break;
  }

public void allow()
{
  displayResult("Licence check = ALLOW");

}

public void applicationError(ApplicationErrorCode errorCode)
{
  displayResult("Licence check = APPLICATION_ERROR, code=" +
errorCode);

}

public void dontAllow()
{
  displayResult("Licence check = DONT_ALLOW");

}

end implementation details
----------------------------------------------

On Aug 1, 8:12 pm, sblantipodi <perini.dav...@dpsoftware.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Aug 1 2010, 6:51 pm
From: RichardC <richard.crit...@googlemail.com>
Date: Sun, 1 Aug 2010 15:51:11 -0700 (PDT)
Local: Sun, Aug 1 2010 6:51 pm
Subject: Re: LVL - live test
I forgot the LogCat....

LogCat for the Strict Policy test with my Google test account:

08-01 22:48:08.461: INFO/ActivityManager(66): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.apptude.android.apps.test.lvltest/.LvlTestActivity }
08-01 22:48:08.712: INFO/ActivityManager(66): Start proc
com.apptude.android.apps.test.lvltest for activity
com.apptude.android.apps.test.lvltest/.LvlTestActivity: pid=271
uid=10040 gids={1015}
08-01 22:48:09.641: INFO/ARMAssembler(66): generated
scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at
[0x323968:0x323a74] in 1693232 ns
08-01 22:48:12.342: INFO/ActivityManager(66): Displayed activity
com.apptude.android.apps.test.lvltest/.LvlTestActivity: 3787 ms (total
3787 ms)
08-01 22:48:26.973: INFO/LicenseChecker(271): Binding to licensing
service.
08-01 22:48:27.092: INFO/ActivityManager(66): Start proc
com.android.vending for service
com.android.vending/.licensing.LicensingService: pid=278 uid=10019
gids={3003}
08-01 22:48:27.961: INFO/LicenseChecker(271): Calling checkLicense on
service for com.apptude.android.apps.test.lvltest
08-01 22:48:27.961: INFO/LicenseChecker(271): Start monitoring
timeout.
08-01 22:48:28.593: DEBUG/GoogleLoginService(172): onBind: Intent
{ act=android.accounts.AccountAuthenticator
cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
08-01 22:48:29.871: INFO/LicenseChecker(271): Received response.
08-01 22:48:29.881: INFO/LicenseChecker(271): Clearing timeout.
08-01 22:48:33.512: DEBUG/dalvikvm(172): GC_EXPLICIT freed 3228
objects / 168152 bytes in 216ms


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
a1  
View profile  
 More options Aug 2 2010, 1:02 am
From: a1 <arco...@gmail.com>
Date: Sun, 1 Aug 2010 22:02:31 -0700 (PDT)
Local: Mon, Aug 2 2010 1:02 am
Subject: Re: LVL - live test
On 1 Sie, 21:12, sblantipodi <perini.dav...@dpsoftware.org> wrote:

> have you tryed using a non authorized gmail account from emulator?
> it returns always licensed... have you noticed the same?

I do not test on emulator, since my games are GL based emulator is
unusable (also it's slower than actual device), but from what I read
LVL do not work on emulator, it's only stub implementation since
actual LVL relies on vending app (market) for making calls to market
server.

--
Bart Janusz (Beepstreet/Hyperbees)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Aug 2 2010, 5:51 am
From: RichardC <richard.crit...@googlemail.com>
Date: Mon, 2 Aug 2010 02:51:00 -0700 (PDT)
Subject: Re: LVL - live test
Update - tried it on my phone - same result LVL Test is ALLOWED; note:
my phone (HTC Magic) was not using my Market Account.

On Aug 2, 6:02 am, a1 <arco...@gmail.com> wrote:

> I do not test on emulator, since my games are GL based emulator is
> unusable (also it's slower than actual device), but from what I read
> LVL do not work on emulator, it's only stub implementation since
> actual LVL relies on vending app (market) for making calls to market
> server.

Incorrect - from the docs:
http://developer.android.com/guide/publishing/licensing.html#runtime-...

"Because the standard Android platforms provided in the Android SDK do
not include Android Market, you need to download the Google APIs Add-
On platform, API Level 8 (or higher), from the SDK repository. After
downloading the add-on, you need to create an AVD configuration that
uses that system image. "

...

"Several versions of the add-on are available in the SDK repository,
but only Google APIs Add-On, API 8 (release 2) or higher version of
the add-on includes the necessary Android Market services. This means
that you cannot use Google APIs Add-On API 7 or lower as a runtime
environment for developing licensing on an emulator."


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Johns  
View profile  
 More options Aug 3 2010, 10:19 pm
From: Trevor Johns <trevorjo...@google.com>
Date: Tue, 3 Aug 2010 19:19:18 -0700 (PDT)
Local: Tues, Aug 3 2010 10:19 pm
Subject: Re: LVL - live test
Richard,
Could you please let me know what email address you're using for the
test account? (Feel free to email me off-list if you'd like.) We
should be able to pull the server logs and see what's happening here.

Also, can you let me know how you've published this application? I
seem to be getting an error when I try to pull up the details for
com.apptude.android.apps.test.lvltest using the Android Market admin
tools. (I can definitely see an entry for it, but no details. Is it
saved as a draft right now?)

--
Trevor Johns
Google Developer Programs, Android
http://developer.android.com

On Aug 2, 2:51 am, RichardC <richard.crit...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Johns  
View profile  
 More options Aug 3 2010, 10:23 pm
From: Trevor Johns <trevorjo...@google.com>
Date: Tue, 3 Aug 2010 19:23:19 -0700 (PDT)
Local: Tues, Aug 3 2010 10:23 pm
Subject: Re: LVL - live test
Also, can you confirm that if you use your developer account and set
the test response in the Market publisher console to NOT_LICENSED, you
get a NOT_LICENSED response in your application?

--
Trevor Johns
Google Developer Programs, Android
http://developer.android.com

On Aug 3, 7:19 pm, Trevor Johns <trevorjo...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sblantipodi  
View profile  
 More options Aug 4 2010, 11:21 am
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Wed, 4 Aug 2010 08:21:09 -0700 (PDT)
Local: Wed, Aug 4 2010 11:21 am
Subject: Re: LVL - live test
is there some news on that problem?
I noticed that many developers got my same problem so is there any
news?

I can`t give to trevor the information he requested since I`m on
holidays and I have no access to my pc for another week.

On 4 Ago, 04:23, Trevor Johns <trevorjo...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Aug 4 2010, 11:43 am
From: RichardC <richard.crit...@googlemail.com>
Date: Wed, 4 Aug 2010 08:43:30 -0700 (PDT)
Local: Wed, Aug 4 2010 11:43 am
Subject: Re: LVL - live test
I have sent you an email with account details.

Application is saved as draft (not published) - didn't want to clutter
up the market.

When I use my market account on the emulator I get the expected result
from the test settings in my market account profile.

It is only on "live" accounts where I get the unexpected result.

On Aug 4, 3:23 am, Trevor Johns <trevorjo...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sblantipodi  
View profile  
 More options Aug 5 2010, 10:30 am
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Thu, 5 Aug 2010 07:30:40 -0700 (PDT)
Local: Thurs, Aug 5 2010 10:30 am
Subject: Re: LVL - live test
Hi, since as I told you I'm on holidays and  have no access on my pc I
can`t send the info requested from trevor, please keep me posted on
any news.
4 Ago, 17:43, RichardC <richard.crit...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Johns  
View profile  
 More options Aug 6 2010, 6:31 pm
From: Trevor Johns <tjo...@google.com>
Date: Fri, 6 Aug 2010 15:31:38 -0700
Local: Fri, Aug 6 2010 6:31 pm
Subject: Re: [android-developers] Re: LVL - live test

Hi everyone,
I think the issue that people are seeing here (and as far as I can tell, the
one Richard was experiencing) is that draft applications will always return
LICENSED. This was done to facilitate testing, since draft apps can never be
purchased. (They're in draft!)

This doesn't seem to be documented well, so I'll make sure that gets fixed.

Cheers!

--
Trevor Johns
Google Developer Programs, Android
http://developer.android.com

On Thu, Aug 5, 2010 at 7:30 AM, sblantipodi <perini.dav...@dpsoftware.org>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sblantipodi  
View profile  
 More options Aug 8 2010, 5:17 pm
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Sun, 8 Aug 2010 14:17:37 -0700 (PDT)
Local: Sun, Aug 8 2010 5:17 pm
Subject: Re: LVL - live test
Excellent, I'm hitting my head on the desk for a while,
and the answer are so simple, please fix the documentation.

On Aug 7, 12:31 am, Trevor Johns <tjo...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »