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 returns LICENSED with anonymous accounts...
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
  Messages 1 - 25 of 27 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
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
 
sblantipodi  
View profile  
 More options Aug 1 2010, 6:46 am
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Sun, 1 Aug 2010 03:46:25 -0700 (PDT)
Local: Sun, Aug 1 2010 6:46 am
Subject: LVL returns LICENSED with anonymous accounts...
I opened a similar thread recently but I doesn't let me enter any new
post on it so I opened a new one.

I'm having problem with LVL, I'm using the MainActivity.java
from the LVL sample.

When I call the check() method from LVL it always returns LICENSED.
The strange things is that with my developer account it works well, I
got licensed, unlicensed etc
on the base of what I set on the developer console.
With dummy email settings I got always LICENSED.

It's strange, It always return LICENSED also if I log into different
GMAIL account
into the "account and sync" in the emulator.
- I deleted AVD,
- recreated a new one,
- logged into the emulator with a gmail account with no rights,
- setted NOT LICENSED form my developer console,
- installed the software on the new avd.

In this way, If I login the emulator with the developer account it
works well,
if I login with an anonimous email address it always return LICENSED.

Is this a bug? I have no idea on how to go forward.


 
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, 8:29 am
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Sun, 1 Aug 2010 05:29:23 -0700 (PDT)
Local: Sun, Aug 1 2010 8:29 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
no one noticed the same problem using LVL?
should I ask directly to google? Is this a bug with my account?

On Aug 1, 12:46 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.
ojpdev  
View profile  
 More options Aug 2 2010, 4:30 am
From: ojpdev <ojp...@gmail.com>
Date: Mon, 2 Aug 2010 01:30:59 -0700 (PDT)
Local: Mon, Aug 2 2010 4:30 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
I'm getting the same problem. It works on two phones (Nexus One and
HTC Hero). Fails on a HTC Legend. Not sure whether that's important or
not!

I don't understand how it can say it's licensed.

On Aug 1, 11:46 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.
Trevor Johns  
View profile  
 More options Aug 2 2010, 3:45 pm
From: Trevor Johns <tjo...@google.com>
Date: Mon, 2 Aug 2010 12:45:57 -0700
Local: Mon, Aug 2 2010 3:45 pm
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

It's a little hard to figure out what the initial report is describing here,
but I suspect it's this:

The test response settings in the Market publisher console only affect users
who are (a) the developer who owns the publisher account, or (b) listed as
test accounts.

Normal users are unaffected by the "test response" setting. This is so that
you can test your account without disturbing users who have already
purchased your application.

So, if your "dummy" account purchased the application, they should always be
getting LICENSED -- because they purchased the application. (Likewise, if
you sideload an application onto phone that's using a dummy account that
hasn't ever purchased the application, they'll get NOT_LICENSED.)

There's also one exception to this: free apps. While we won't allow
uploading a free APK that uses the CHECK_LICENSE permission to the Market
publisher console, *requests* for these applications currently will always
return LICENSED. However, since (again) you can't upload these APKs, this
isn't something that should happen often.

--
Trevor Johns


 
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.
OldSkoolMark  
View profile  
 More options Aug 3 2010, 2:00 pm
From: OldSkoolMark <m...@sublimeslime.com>
Date: Tue, 3 Aug 2010 11:00:10 -0700 (PDT)
Local: Tues, Aug 3 2010 2:00 pm
Subject: Re: LVL returns LICENSED with anonymous accounts...
I'm seeing the same behavior using the sample activity, using the
gmail account that is associated with my developer account. The one
thing I haven't done is upload the sample activity APK to the Market.
Is that necessary?

On Aug 2, 12:45 pm, 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.
Trevor Johns  
View profile  
 More options Aug 3 2010, 10:23 pm
From: Trevor Johns <tjo...@google.com>
Date: Tue, 3 Aug 2010 19:23:38 -0700
Local: Tues, Aug 3 2010 10:23 pm
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

Yes, it's necessary. We need the application to be listed in Android Market
so that we can actually check and see if you've purchased it. (We send the
package name and version code of the application to the licensing server --
if your app isn't published, we won't find a match for the package name.)

Also, your developer account will always return a test response or
NOT_LICSENSED (since you can't purchase your own app), so you'll need to
test with a temporary account if you want to test the behavior an end user
will see.

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


 
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.
Kirky  
View profile  
 More options Aug 4 2010, 3:30 am
From: Kirky <rob.kirkbr...@gmail.com>
Date: Wed, 4 Aug 2010 00:30:55 -0700 (PDT)
Local: Wed, Aug 4 2010 3:30 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
Trevor,

Can you clarify what the licensing server returns if the App is not in
the Android Market? In my experience (and it seems other people) it is
returning LICENSED. This does not seem sensible to me.

Thanks

Rob

On Aug 4, 3:23 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.
Mark Carter  
View profile  
 More options Aug 4 2010, 3:46 am
From: Mark Carter <mjc1...@googlemail.com>
Date: Wed, 4 Aug 2010 09:46:36 +0200
Local: Wed, Aug 4 2010 3:46 am
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

*I* only ever get LICENSED if I have set my Dev Console to return LICENSED.
If I set it to "Respond normally" I get NOT_MARKET_MANAGED.

Whatever I set it to in the dev console, other users will get
NOT_MARKET_MANAGED because the package name / version code combo is not
recognised by the Android Market.

I'm assuming that if the LVL discovers the app has not been published, it
will then look at the user and ask the license server what the "test"
response is for that user and then use that. For example, if I write a new
LVL-ified app and send it to you (but don't publish) then the LVL response
will be dictated by your setting in the dev console (not mine).

I hope Trevor can confirm!

On 4 August 2010 09:30, Kirky <rob.kirkbr...@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.
OldSkoolMark  
View profile  
 More options Aug 4 2010, 8:25 am
From: OldSkoolMark <m...@sublimeslime.com>
Date: Wed, 4 Aug 2010 05:25:28 -0700 (PDT)
Local: Wed, Aug 4 2010 8:25 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
Personal update. My problem was stupid beyond belief - Didn't see the
save button on the dev console and was expecting AJAX behavior from
the dropdown response selector. The sample app works as expected now.

On Aug 3, 11:00 am, OldSkoolMark <m...@sublimeslime.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.
OldSkoolMark  
View profile  
 More options Aug 4 2010, 8:27 am
From: OldSkoolMark <m...@sublimeslime.com>
Date: Wed, 4 Aug 2010 05:27:27 -0700 (PDT)
Local: Wed, Aug 4 2010 8:27 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
Necessary for final deployment. The sample program can be used for
testing by developers without uploading to the market.

On Aug 3, 7:23 pm, 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.
Trevor Johns  
View profile  
 More options Aug 5 2010, 5:04 am
From: Trevor Johns <tjo...@google.com>
Date: Thu, 5 Aug 2010 02:04:44 -0700
Local: Thurs, Aug 5 2010 5:04 am
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

Yes, this is correct behavior. Just to confirm: This is for an application
that hasn't been published yet, correct?

(You shouldn't get NOT_MARKET_MANAGED, provided that the application has
been uploaded to the publisher console and, for existing apps, you've revved
the version code for your application.)

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


 
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 5 2010, 5:03 am
From: Trevor Johns <tjo...@google.com>
Date: Thu, 5 Aug 2010 02:03:11 -0700
Local: Thurs, Aug 5 2010 5:03 am
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

If the app isn't in Android Market, the license server will return
ERROR_NOT_MARKET_MANAGED. LicenseValidator considers that to be a fatal
error due to programmer error, and should invoke the applicationError()
callback method.

My understanding from the server team is that uploading a draft version is
supposed to be sufficient to avoid getting ERROR_NOT_MARKET_MANAGED. (In the
case of existing applications, you'll also need to increment your version
code.)

The other way you'll avoid this is precisely as Mark mentioned. If we don't
find the application, we check to see if the current user has a developer
account, and will send a test response (if one is set) using the user's RSA
keypair.

--
Trevor Johns


 
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.
Mark Carter  
View profile  
 More options Aug 5 2010, 7:18 am
From: Mark Carter <mjc1...@googlemail.com>
Date: Thu, 5 Aug 2010 13:18:53 +0200
Local: Thurs, Aug 5 2010 7:18 am
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

So to confirm. If an app is not published (nor draft) then the response is
dictated by the user's (i.e. the user running the app, not the one who
developed the app) setting in the Dev Console. If the user does not have a
Dev account (like many beta testers) then the response will be like "Respond
normally"?

If the app is published (or draft) then the response is driven primarily by
the dev's console settings and secondarily by the Market license server
(storing who has paid for what).

I think the first part could catch a lot of people out...

On 5 August 2010 11:03, 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.
Trevor Johns  
View profile  
 More options Aug 6 2010, 7:26 pm
From: Trevor Johns <tjo...@google.com>
Date: Fri, 6 Aug 2010 16:26:28 -0700
Local: Fri, Aug 6 2010 7:26 pm
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

If an app is not published AND not draft, then you'll get
ERROR_NOT_MARKET_MANAGED.

If an app is in draft (never published), then we send LICENSED for all
requests for that app.

If an app is published (or has been published then unpublished), then
the response
is driven by the dev console settings for the developer/testers, and purely
by purchase history for everyone else.

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


 
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:11 pm
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Sun, 8 Aug 2010 14:11:10 -0700 (PDT)
Local: Sun, Aug 8 2010 5:11 pm
Subject: Re: LVL returns LICENSED with anonymous accounts...
this answered all my questions,
"If an app is in draft (never published), then we send LICENSED for
all
requests for that app."

On Aug 7, 1:26 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.
Mark Carter  
View profile  
 More options Aug 8 2010, 5:40 pm
From: Mark Carter <mjc1...@googlemail.com>
Date: Sun, 8 Aug 2010 14:40:31 -0700 (PDT)
Local: Sun, Aug 8 2010 5:40 pm
Subject: Re: LVL returns LICENSED with anonymous accounts...
I'm wondering if it would be better for all draft (never published)
apps to follow the rules set up in the Dev Console (rather than just
returning LICENSED)?

Because:

1. Its more intuitive to the dev (as can be seen from this thread)
2. It gives the dev more control - he can test an app fully (the
different license scenarios) before publishing. At the moment, I
regress the version code in my local project just so that I can test
the different license scenarios. This is a hack IMHO :(

So, testing the licensing aspect of an app would involve saving the
app as draft and then setting the various licensing states in the dev
console. At this point, the apk could also be manually distributed to
beta testers. When all this has been completed, the app would be ready
for publishing.

On Aug 7, 1:26 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.
sblantipodi  
View profile  
 More options Aug 8 2010, 6:22 pm
From: sblantipodi <perini.dav...@dpsoftware.org>
Date: Sun, 8 Aug 2010 15:22:12 -0700 (PDT)
Local: Sun, Aug 8 2010 6:22 pm
Subject: Re: LVL returns LICENSED with anonymous accounts...
Mark you are obviously right, returning always licensed has no sense,
is no useful and doesn't give any help to developers.
I think that this behaviour is just lazyness from the google developer
side.

On Aug 8, 11:40 pm, Mark Carter <mjc1...@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.
Mark Carter  
View profile  
 More options Aug 20 2010, 5:27 am
From: Mark Carter <mjc1...@googlemail.com>
Date: Fri, 20 Aug 2010 02:27:35 -0700 (PDT)
Local: Fri, Aug 20 2010 5:27 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
This is not what I'm seeing.

I'm writing a new app which has never been published or in draft.

I have two devices. One (N1, running 2.2), I'm logged into my main
Google account (which has the Developer account). The other (Hero
running 2.1-update1) is a test account I use (no developer account).

When I use the N1, I always get the response specifed in my Dev
Console settings.
When I use the Hero, I always get ERROR_NOT_MARKET_MANAGED.

It appears the logic goes something like this for non-Market
(published or draft) apps:

Check the user has a Dev account.
If so, use the response set there.
If not, return ERROR_NOT_MARKET_MANAGED.

Notice, its the setting for the user, not the dev (because the Market
does not know who the dev is), that is used.

Anyone confirm this?

On Aug 7, 1:26 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.
Mark Carter  
View profile  
 More options Aug 27 2010, 5:21 am
From: Mark Carter <mjc1...@googlemail.com>
Date: Fri, 27 Aug 2010 02:21:35 -0700 (PDT)
Local: Fri, Aug 27 2010 5:21 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
Can anyone else confirm this please?

On Aug 20, 11:27 am, Mark Carter <mjc1...@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.
MarcoAndroid  
View profile  
 More options Sep 22 2010, 8:43 am
From: MarcoAndroid <marco...@gmail.com>
Date: Wed, 22 Sep 2010 05:43:31 -0700 (PDT)
Local: Wed, Sep 22 2010 8:43 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
I do see this behaviour too (though dev account on emulator and test
account on N1). My next thing to try would be uploading my app (but
not publishing it) to see if that then gives back what I set in the
dev console... Though from previous answers I probably get back
LICENSED which as you say is not very handy for real device testing...

On 27 aug, 11:21, Mark Carter <mjc1...@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.
Bret Foreman  
View profile  
 More options Sep 22 2010, 11:18 am
From: Bret Foreman <bret.fore...@gmail.com>
Date: Wed, 22 Sep 2010 08:18:39 -0700 (PDT)
Local: Wed, Sep 22 2010 11:18 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
I would love to see this information set out in tabular form. I'm
always suspicious of a missing case until I see a truth table of the
logic.

On Aug 6, 4:26 pm, 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.
MarcoAndroid  
View profile   Translate to Translated (View Original)
 More options Sep 24 2010, 7:17 am
From: MarcoAndroid <marco...@gmail.com>
Date: Fri, 24 Sep 2010 04:17:17 -0700 (PDT)
Local: Fri, Sep 24 2010 7:17 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
Update: I uploaded and saved my exported signed app via the dev-
console but did not publish it.
With my test account on N1 I am now able to get returned from LVL what
I set in the dev console. So I'm not always getting LICENSED back, but
what I set the test response to, so it is configurable, so that's
great :)

On 22 sep, 14:43, MarcoAndroid <marco...@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.
Mark Carter  
View profile  
 More options Sep 24 2010, 3:01 pm
From: Mark Carter <mjc1...@googlemail.com>
Date: Fri, 24 Sep 2010 21:01:32 +0200
Local: Fri, Sep 24 2010 3:01 pm
Subject: Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

Yes, the problem is for apps which have neither been published nor are in
draft.

In this scenario, it really does not make sense that the response is based
on the user's developer console settings. It would be much better if it
always returned ERROR_NOT_MARKET_MANAGED.

On 24 September 2010 13:17, MarcoAndroid <marco...@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.
swinefeaster  
View profile  
 More options Oct 24 2010, 12:21 pm
From: swinefeaster <swinefeas...@gmail.com>
Date: Sun, 24 Oct 2010 09:21:54 -0700 (PDT)
Local: Sun, Oct 24 2010 12:21 pm
Subject: Re: LVL returns LICENSED with anonymous accounts...
I have to say the google market is a really terrible implementation.
Ok fine I finally jumped through the hoops of LVL and I realized that
I need to have my latest app *uploaded* but not *published* in order
for the license check to work for my test accounts for the new
version.

BUT

Little did I realize that while I have a draft version uploaded, MY
LISTING DISAPPEARS FROM THE MARKET! I was wondering why I didn't get
any sales yesterday.

Cmon guys, you can do better that this!

Oh and you're a searching company - why does a search on the market
for "language" come up with a totally different result that
"languages"? Isn't this Search Engine 101?


 
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.
gcstang  
View profile  
 More options Oct 25 2010, 8:34 am
From: gcstang <gcst...@gmail.com>
Date: Mon, 25 Oct 2010 05:34:08 -0700 (PDT)
Local: Mon, Oct 25 2010 8:34 am
Subject: Re: LVL returns LICENSED with anonymous accounts...
You can have the one your testing use the same "android:versionCode"
as one you already uploaded and it will allow you to test, without
having to upload a newer version.

This is what I did and it worked.

On Oct 24, 11:21 am, swinefeaster <swinefeas...@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.
Messages 1 - 25 of 27   Newer >
« Back to Discussions « Newer topic     Older topic »