Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9150781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:39:25+00:00 2026-06-17T11:39:25+00:00

I am using Android Licensing as described here: http://developer.android.com/guide/market/licensing/index.html (…to verify that my customers

  • 0

I am using Android Licensing as described here:

http://developer.android.com/guide/market/licensing/index.html

(…to verify that my customers for my android app have actually payed for the app.) My app has a server component on the web, and for extra safety I’m doing the license validation on this server.

It all works okay. Now, to my problem. Since each new user ties up resources on my central server, I’m actually kind of reluctant to have non-paying users. I have seen some evidence of users continuing to use the app after having gotten a refund (per the normal 15-minute grace period).

To curb this behavior, it would be great if there was some way to map the payment of users at Google Checkout, to actual users in my system. Is this possible?

The ResponseData that I receive from the android license server contains a field called “userId”, but this doesn’t seem to correspond to any information in Google Checkout. (See http://www.androidadb.com/source/skylight1-read-only/GoogleLVL/src/com/android/vending/licensing/ResponseData.java.html for the definition of ResponseData.)

Is it possible to determine which payment in Checkout maps to which app installation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:39:26+00:00Added an answer on June 17, 2026 at 11:39 am

    As I currently understand it, the userId is obfuscated even on a per-app basis such that you can uniquely identify users per app but not figure which user it is nor whether the same user bought another app.

    But I’m not sure you really need to identify these customers based on userId. If you have a server running anyway, the best way to protect your app is to have your server check the licence.

    1. App -> Server: Give me a new nonce
    2. Server -> App: Here is a secure random nonce
    3. App -> Licence Service: Check user licence with this secure random nonce
    4. Licence Service -> App: Signed licence response including repetition of nonce
    5. App -> Server: Check licence signature with secret key (only on server)
    6. Server -> App: Reject, or provide random token for access, etc

    In this scenario, you won’t authenticate users even if they mess with your LVL checking code.

    However, you may of course introduce vulnerabilities after step 6 if you don’t watch your step. Still, if you’re currently using the standard LVL code and App-side licence check with the secret key stored in your app, changing to a mechanism as sketched above would be a huge improvement (there’s even a script to remove standard LVL checking code from apps).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading this about using google market licensing: http://developer.android.com/guide/publishing/licensing.html It says in part
I've been following the developer.android.com page http://developer.android.com/guide/publishing/licensing.html#lc-lcc for directions on using the ServerManagedPolicy type
I'm following the instructions found at http://developer.android.com/guide/publishing/licensing.html I made a copy of the <sdk>/market_licensing
I am using the LicenseChecker and ServerManagedPolicy in the com.google.android.vending.licensing library. I am quite
I have an app that uses the Android licensing. I'm using the ServerManagedPolicy which
Recently I released an app into Android Market using the licensing system with the
I'm using AESObfuscator in the ServerManagedPolicy for android licensing. Until now, I've created the
I've been using Android ProgressBar quite a lot. The only thing here is for
I'm using Android, and I've created a Webview which nicely opens my HTML page
I'm using a licensing tool (Rhino.Licensing) that uses signed XML files as licenses. Since

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.