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.
> 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.
> 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.
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.
On Mon, Aug 2, 2010 at 1:30 AM, ojpdev <ojp...@gmail.com> wrote: > 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: > > 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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:
> 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
> On Mon, Aug 2, 2010 at 1:30 AM, ojpdev <ojp...@gmail.com> wrote:
> > 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:
> > > 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
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.
On Tue, Aug 3, 2010 at 11:00 AM, OldSkoolMark <m...@sublimeslime.com> wrote: > 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: > > 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
> > On Mon, Aug 2, 2010 at 1:30 AM, ojpdev <ojp...@gmail.com> wrote: > > > 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: > > > > 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > <android-developers%2Bunsubscribe@googlegroups.com<android-developers%252Bu nsubscribe@googlegroups.com>
> -- > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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:
*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:
> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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:
> 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:
> > 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
> > On Mon, Aug 2, 2010 at 1:30 AM, ojpdev <ojp...@gmail.com> wrote:
> > > 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:
> > > > 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> 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.
> On Tue, Aug 3, 2010 at 11:00 AM, OldSkoolMark <m...@sublimeslime.com> wrote:
> > 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:
> > > 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
> > > On Mon, Aug 2, 2010 at 1:30 AM, ojpdev <ojp...@gmail.com> wrote:
> > > > 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:
> > > > > 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > <android-developers%2Bunsubscribe@googlegroups.com<android-developers%252Bu nsubscribe@googlegroups.com>
> > --
> > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
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.)
On Wed, Aug 4, 2010 at 12:46 AM, Mark Carter <mjc1...@googlemail.com> wrote: > *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:
>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en
> -- > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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.
On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote: > 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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:
> 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
> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en
> -- > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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.
On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote: > 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:
>> 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
>> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
>>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en
>> -- >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en
> -- > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
> 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.
> On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > 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:
> >> 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
> >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> >>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/android-developers?hl=en
> >> --
> >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
> > --
> > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
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:
> 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.
> On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > 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:
> >> 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
> >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> >>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/android-developers?hl=en
> >> --
> >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
> > --
> > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
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:
> 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:
> > 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.
> > On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > > 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:
> > >> 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
> > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> > >>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/android-developers?hl=en
> > >> --
> > >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-developers?hl=en
> > > --
> > > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
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:
> 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.
> On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > 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:
> >> 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
> >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> >>> 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 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/android-developers?hl=en
> >> --
> >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
> > --
> > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
> 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 theMarket
> 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:
> > 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 sendLICENSEDfor 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.
> > On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > > 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 theMarketlicense 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:
> > >> If the app isn't in AndroidMarket, 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
> > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> > >>> Trevor,
> > >>> Can you clarify what the licensing server returns if the App is not in
> > >>> the AndroidMarket? In my experience (and it seems other people) it is
> > >>> returningLICENSED. This does not seem sensible to me.
> > >>> Thanks
> > >>> Rob
> > >>> On Aug 4, 3:23 am, Trevor Johns <tjo...@google.com> wrote:
> > >>> --
> > >>> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/android-developers?hl=en
> > >> --
> > >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-developers?hl=en
> > > --
> > > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
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:
> On Aug 20, 11:27 am, Mark Carter <mjc1...@googlemail.com> wrote:
> > 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 theMarket
> > 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:
> > > 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 sendLICENSEDfor 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.
> > > On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > > > 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 theMarketlicense 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:
> > > >> If the app isn't in AndroidMarket, 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
> > > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> > > >>> Trevor,
> > > >>> Can you clarify what the licensing server returns if the App is not in
> > > >>> the AndroidMarket? In my experience (and it seems other people) it is
> > > >>> returningLICENSED. This does not seem sensible to me.
> > > >>> Thanks
> > > >>> Rob
> > > >>> On Aug 4, 3:23 am, Trevor Johns <tjo...@google.com> wrote:
> > > >>> --
> > > >>> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > >>> For more options, visit this group at
> > > >>>http://groups.google.com/group/android-developers?hl=en
> > > >> --
> > > >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/android-developers?hl=en
> > > > --
> > > > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> 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.
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:
> 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:
> > Can anyone else confirm this please?
> > On Aug 20, 11:27 am, Mark Carter <mjc1...@googlemail.com> wrote:
> > > 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 theMarket
> > > 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:
> > > > 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 sendLICENSEDfor 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.
> > > > On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter <mjc1...@googlemail.com> wrote:
> > > > > 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 theMarketlicense 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:
> > > > >> If the app isn't in AndroidMarket, 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
> > > > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> wrote:
> > > > >>> Trevor,
> > > > >>> Can you clarify what the licensing server returns if the App is not in
> > > > >>> the AndroidMarket? In my experience (and it seems other people) it is
> > > > >>> returningLICENSED. This does not seem sensible to me.
> > > > >>> Thanks
> > > > >>> Rob
> > > > >>> On Aug 4, 3:23 am, Trevor Johns <tjo...@google.com> wrote:
> > > > >>> --
> > > > >>> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > > >>> For more options, visit this group at
> > > > >>>http://groups.google.com/group/android-developers?hl=en
> > > > >> --
> > > > >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > > >> For more options, visit this group at
> > > > >>http://groups.google.com/group/android-developers?hl=en
> > > > > --
> > > > > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
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:
> 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: > > 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:
> > > Can anyone else confirm this please?
> > > On Aug 20, 11:27 am, Mark Carter <mjc1...@googlemail.com> wrote:
> > > > 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 theMarket > > > > 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:
> > > > > 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 sendLICENSEDfor > 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.
> > > > > On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter < > mjc1...@googlemail.com> wrote: > > > > > > 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 theMarketlicense > 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:
> > > > > >> If the app isn't in AndroidMarket, 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
> > > > > >> On Wed, Aug 4, 2010 at 12:30 AM, Kirky <rob.kirkbr...@gmail.com> > wrote:
> > > > > >>> Trevor,
> > > > > >>> Can you clarify what the licensing server returns if the App is > not in > > > > > >>> the AndroidMarket? In my experience (and it seems other people) > it is > > > > > >>> returningLICENSED. This does not seem sensible to me.
> > > > > >>> Thanks
> > > > > >>> Rob
> > > > > >>> On Aug 4, 3:23 am, Trevor Johns <tjo...@google.com> wrote:
> > > > > >>> -- > > > > > >>> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com><android-developers%2Bunsubs > cribe@googlegroups.com> > > > > > >>> For more options, visit this group at > > > > > >>>http://groups.google.com/group/android-developers?hl=en
> > > > > >> -- > > > > > >> 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com><android-developers%2Bunsubs > cribe@googlegroups.com> > > > > > >> For more options, visit this group at > > > > > >>http://groups.google.com/group/android-developers?hl=en
> > > > > > -- > > > > > > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com><android-developers%2Bunsubs > cribe@googlegroups.com> > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/android-developers?hl=en
> -- > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
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 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:
> 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?