[android-developers] Re: LVL returns always LICENSED...

2010-08-04 Thread OldSkoolMark
For the record: make sure you find the save button on the dev console
web page. It works a whole lot better if you save the desired test
response ;)

On Aug 3, 8:10 am, OldSkoolMark m...@sublimeslime.com wrote:
 I'm having the same problem on my Droid. I built the sample license
 checking activity after inserting my key. I'm signed in using my
 primary gmail identity. When I issue the license check. I see the same
 logcat messages as you. When I select NOT LICENSED as the test
 response on the market developer console web page, I expect the phone
 to report don't allow. But like you, I can't get anything other than a
 positive response. This seems so basic, I can't help but wonder what
 simple thing we're all missing ...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-03 Thread Kirky
Devesh:

Yes that's clear to me but shouldn't any phones that are not synced to
accounts listed in the portal simply just get not NOT_LICENSED back
from the service?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: LVL returns always LICENSED...

2010-08-03 Thread Trevor Johns
Hi everyone,
So far, I haven't been able to reproduce this on my end. If you're getting
LICESNED response from an paid application on a brand new test account (not
the developer of the application, and not listed as a test account) which
hasn't purchased the application, can you please send me:

1. A copy of your logcat output.

2. The name of the test account you're using, as well as your developer
account. (We can check the server logs and hopefully see what response we're
sending you.)

3. The environment you're running under. (Phone model, OS version, OS build,
etc.)

3. (Optional, but highly useful.) The source code to a simple application
which demonstrates this behavior. (A modified version of the sample app
that's published with the library would be perfect.)

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



On Tue, Aug 3, 2010 at 12:49 AM, Kirky rob.kirkbr...@gmail.com wrote:

 Devesh:

 Yes that's clear to me but shouldn't any phones that are not synced to
 accounts listed in the portal simply just get not NOT_LICENSED back
 from the service?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: LVL returns always LICENSED...

2010-08-03 Thread sblantipodi
the problem is that also unauthorized users get the allowed response
using emulator, don't know on real device

On 2 Ago, 22:02, devesh dev...@gmail.com wrote:
 This behavior is correct. Setting the test response won't change the
 response for external users. The test response is for testing how your
 application handles the response, not for changing the response your
 users get.

 --
 Devesh

 On Aug 1, 6:22 am, sblantipodi perini.dav...@dpsoftware.org wrote:



  I'm sure that the problem isn't cache related because I have just
  tryed with a fresh new google account
  on a fresh new AVD with the software just installed and I got
  LICENSED :O

  It's incredible if I set unlicensed from developer console, the only
  unlicensed account
  will be the developer account, all other accounts are getting
  LICENSED... (on the emulator)

  On Aug 1, 3:00 pm, sblantipodi perini.dav...@dpsoftware.org wrote:

   Really thanks for your answer, help is valuable today.
   I'm using serverManagedPolicy but I get into allowed() also on newer
   AVD just created,
   this should not have any cache at all, am I wrong?

   On Aug 1, 2:25 pm, RichardC richard.crit...@googlemail.com wrote:

Which license policy are you using? ServerManagedPolicy caches the
result so you might not see what you expect (you will be getting the
cached result).

For testing purposes try using StrictPolicy but keep an eye on the
info into extras for number of license checks remaining.

On Aug 1, 9:46 am, sblantipodi perini.dav...@dpsoftware.org wrote:

 No one else with this problem?

 On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:

  Hi,
  I have built in the Sample code from LVL and putted it into my main
  activity.

  I haven't understood why it always returns LICENSED also if I setted
  UNlicensed from my developer console.

  this is the adb logcat output...

  I/LicenseChecker(  496): Binding to licensing service.
  I/LicenseChecker(  496): Calling checkLicense on service for
  packageName
  I/LicenseChecker(  496): Start monitoring timeout.
  I/LicenseChecker(  496): Received response.
  I/LicenseChecker(  496): Clearing timeout.

  I have no idea on why it gives me always licensed...

  Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-03 Thread RichardC
See the tests I reported on this thread
http://groups.google.com/group/android-developers/browse_thread/thread/41d79e8849e14154

I got the same results as you from both the Emulator and Phone

On Aug 3, 8:55 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 the problem is that also unauthorized users get the allowed response
 using emulator, don't know on real device

 On 2 Ago, 22:02, devesh dev...@gmail.com wrote:

  This behavior is correct. Setting the test response won't change the
  response for external users. The test response is for testing how your
  application handles the response, not for changing the response your
  users get.

  --
  Devesh

  On Aug 1, 6:22 am, sblantipodi perini.dav...@dpsoftware.org wrote:

   I'm sure that the problem isn't cache related because I have just
   tryed with a fresh new google account
   on a fresh new AVD with the software just installed and I got
   LICENSED :O

   It's incredible if I set unlicensed from developer console, the only
   unlicensed account
   will be the developer account, all other accounts are getting
   LICENSED... (on the emulator)

   On Aug 1, 3:00 pm, sblantipodi perini.dav...@dpsoftware.org wrote:

Really thanks for your answer, help is valuable today.
I'm using serverManagedPolicy but I get into allowed() also on newer
AVD just created,
this should not have any cache at all, am I wrong?

On Aug 1, 2:25 pm, RichardC richard.crit...@googlemail.com wrote:

 Which license policy are you using? ServerManagedPolicy caches the
 result so you might not see what you expect (you will be getting the
 cached result).

 For testing purposes try using StrictPolicy but keep an eye on the
 info into extras for number of license checks remaining.

 On Aug 1, 9:46 am, sblantipodi perini.dav...@dpsoftware.org wrote:

  No one else with this problem?

  On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:

   Hi,
   I have built in the Sample code from LVL and putted it into my 
   main
   activity.

   I haven't understood why it always returns LICENSED also if I 
   setted
   UNlicensed from my developer console.

   this is the adb logcat output...

   I/LicenseChecker(  496): Binding to licensing service.
   I/LicenseChecker(  496): Calling checkLicense on service for
   packageName
   I/LicenseChecker(  496): Start monitoring timeout.
   I/LicenseChecker(  496): Received response.
   I/LicenseChecker(  496): Clearing timeout.

   I have no idea on why it gives me always licensed...

   Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-03 Thread OldSkoolMark
I'm having the same problem on my Droid. I built the sample license
checking activity after inserting my key. I'm signed in using my
primary gmail identity. When I issue the license check. I see the same
logcat messages as you. When I select NOT LICENSED as the test
response on the market developer console web page, I expect the phone
to report don't allow. But like you, I can't get anything other than a
positive response. This seems so basic, I can't help but wonder what
simple thing we're all missing ...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-02 Thread devesh
This behavior is correct. Setting the test response won't change the
response for external users. The test response is for testing how your
application handles the response, not for changing the response your
users get.

--
Devesh

On Aug 1, 6:22 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 I'm sure that the problem isn't cache related because I have just
 tryed with a fresh new google account
 on a fresh new AVD with the software just installed and I got
 LICENSED :O

 It's incredible if I set unlicensed from developer console, the only
 unlicensed account
 will be the developer account, all other accounts are getting
 LICENSED... (on the emulator)

 On Aug 1, 3:00 pm, sblantipodi perini.dav...@dpsoftware.org wrote:



  Really thanks for your answer, help is valuable today.
  I'm using serverManagedPolicy but I get into allowed() also on newer
  AVD just created,
  this should not have any cache at all, am I wrong?

  On Aug 1, 2:25 pm, RichardC richard.crit...@googlemail.com wrote:

   Which license policy are you using? ServerManagedPolicy caches the
   result so you might not see what you expect (you will be getting the
   cached result).

   For testing purposes try using StrictPolicy but keep an eye on the
   info into extras for number of license checks remaining.

   On Aug 1, 9:46 am, sblantipodi perini.dav...@dpsoftware.org wrote:

No one else with this problem?

On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:

 Hi,
 I have built in the Sample code from LVL and putted it into my main
 activity.

 I haven't understood why it always returns LICENSED also if I setted
 UNlicensed from my developer console.

 this is the adb logcat output...

 I/LicenseChecker(  496): Binding to licensing service.
 I/LicenseChecker(  496): Calling checkLicense on service for
 packageName
 I/LicenseChecker(  496): Start monitoring timeout.
 I/LicenseChecker(  496): Received response.
 I/LicenseChecker(  496): Clearing timeout.

 I have no idea on why it gives me always licensed...

 Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-01 Thread sblantipodi
Bump!

On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 Hi,
 I have built in the Sample code from LVL and putted it into my main
 activity.

 I haven't understood why it always returns LICENSED also if I setted
 UNlicensed from my developer console.

 this is the adb logcat output...

 I/LicenseChecker(  496): Binding to licensing service.
 I/LicenseChecker(  496): Calling checkLicense on service for
 packageName
 I/LicenseChecker(  496): Start monitoring timeout.
 I/LicenseChecker(  496): Received response.
 I/LicenseChecker(  496): Clearing timeout.

 I have no idea on why it gives me always licensed...

 Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-01 Thread sblantipodi
No one else with this problem?

On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 Hi,
 I have built in the Sample code from LVL and putted it into my main
 activity.

 I haven't understood why it always returns LICENSED also if I setted
 UNlicensed from my developer console.

 this is the adb logcat output...

 I/LicenseChecker(  496): Binding to licensing service.
 I/LicenseChecker(  496): Calling checkLicense on service for
 packageName
 I/LicenseChecker(  496): Start monitoring timeout.
 I/LicenseChecker(  496): Received response.
 I/LicenseChecker(  496): Clearing timeout.

 I have no idea on why it gives me always licensed...

 Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-01 Thread sblantipodi
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.

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.

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

On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 Hi,
 I have built in the Sample code from LVL and putted it into my main
 activity.

 I haven't understood why it always returns LICENSED also if I setted
 UNlicensed from my developer console.

 this is the adb logcat output...

 I/LicenseChecker(  496): Binding to licensing service.
 I/LicenseChecker(  496): Calling checkLicense on service for
 packageName
 I/LicenseChecker(  496): Start monitoring timeout.
 I/LicenseChecker(  496): Received response.
 I/LicenseChecker(  496): Clearing timeout.

 I have no idea on why it gives me always licensed...

 Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-01 Thread RichardC
Which license policy are you using? ServerManagedPolicy caches the
result so you might not see what you expect (you will be getting the
cached result).

For testing purposes try using StrictPolicy but keep an eye on the
info into extras for number of license checks remaining.

On Aug 1, 9:46 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 No one else with this problem?

 On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:

  Hi,
  I have built in the Sample code from LVL and putted it into my main
  activity.

  I haven't understood why it always returns LICENSED also if I setted
  UNlicensed from my developer console.

  this is the adb logcat output...

  I/LicenseChecker(  496): Binding to licensing service.
  I/LicenseChecker(  496): Calling checkLicense on service for
  packageName
  I/LicenseChecker(  496): Start monitoring timeout.
  I/LicenseChecker(  496): Received response.
  I/LicenseChecker(  496): Clearing timeout.

  I have no idea on why it gives me always licensed...

  Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-01 Thread sblantipodi
Really thanks for your answer, help is valuable today.
I'm using serverManagedPolicy but I get into allowed() also on newer
AVD just created,
this should not have any cache at all, am I wrong?

On Aug 1, 2:25 pm, RichardC richard.crit...@googlemail.com wrote:
 Which license policy are you using? ServerManagedPolicy caches the
 result so you might not see what you expect (you will be getting the
 cached result).

 For testing purposes try using StrictPolicy but keep an eye on the
 info into extras for number of license checks remaining.

 On Aug 1, 9:46 am, sblantipodi perini.dav...@dpsoftware.org wrote:

  No one else with this problem?

  On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:

   Hi,
   I have built in the Sample code from LVL and putted it into my main
   activity.

   I haven't understood why it always returns LICENSED also if I setted
   UNlicensed from my developer console.

   this is the adb logcat output...

   I/LicenseChecker(  496): Binding to licensing service.
   I/LicenseChecker(  496): Calling checkLicense on service for
   packageName
   I/LicenseChecker(  496): Start monitoring timeout.
   I/LicenseChecker(  496): Received response.
   I/LicenseChecker(  496): Clearing timeout.

   I have no idea on why it gives me always licensed...

   Thanks.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: LVL returns always LICENSED...

2010-08-01 Thread sblantipodi
I'm sure that the problem isn't cache related because I have just
tryed with a fresh new google account
on a fresh new AVD with the software just installed and I got
LICENSED :O

It's incredible if I set unlicensed from developer console, the only
unlicensed account
will be the developer account, all other accounts are getting
LICENSED... (on the emulator)



On Aug 1, 3:00 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
 Really thanks for your answer, help is valuable today.
 I'm using serverManagedPolicy but I get into allowed() also on newer
 AVD just created,
 this should not have any cache at all, am I wrong?

 On Aug 1, 2:25 pm, RichardC richard.crit...@googlemail.com wrote:

  Which license policy are you using? ServerManagedPolicy caches the
  result so you might not see what you expect (you will be getting the
  cached result).

  For testing purposes try using StrictPolicy but keep an eye on the
  info into extras for number of license checks remaining.

  On Aug 1, 9:46 am, sblantipodi perini.dav...@dpsoftware.org wrote:

   No one else with this problem?

   On Aug 1, 2:20 am, sblantipodi perini.dav...@dpsoftware.org wrote:

Hi,
I have built in the Sample code from LVL and putted it into my main
activity.

I haven't understood why it always returns LICENSED also if I setted
UNlicensed from my developer console.

this is the adb logcat output...

I/LicenseChecker(  496): Binding to licensing service.
I/LicenseChecker(  496): Calling checkLicense on service for
packageName
I/LicenseChecker(  496): Start monitoring timeout.
I/LicenseChecker(  496): Received response.
I/LicenseChecker(  496): Clearing timeout.

I have no idea on why it gives me always licensed...

Thanks.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en