Questions tagged [android-lvl]

Android licensing verification library

android-lvl stands for android license verification library, a system introduced by Google for developers to check if an application has been bought through the Android market. See more information here: Android Licensing

308 questions
3
votes
2 answers

Licence check for a pro key

So I would like to make a free app with full functionality loaded in. The pro functionality will be disabled until the app detects a licensed pro key. And of course I would like to have the pro key check it's licence using LVL. While I know how to…
Iiro Krankka
  • 4,959
  • 5
  • 38
  • 42
3
votes
2 answers

Android Subscription And Payment

In my application i want to implement Subscription service. Subscription will be mostly yearly. After subscription expiration application should ask for subscription renewal and go for payment and checkout process. I checked for Android Licensing…
MaheshValu
  • 101
  • 2
  • 10
3
votes
3 answers

Android Licensing - check once or every time?

I'm installing Android Licensing in my app, and I would like to know what is considered good form for checking the license - each and every time, or just once and saving the fact that it's been licensed to shared preferences for example? My concern…
Jack BeNimble
  • 35,733
  • 41
  • 130
  • 213
3
votes
1 answer

Application using LVL installs TWO icons

The dual-icon saga continues... It turns out that while this answer may be true for the debug version (yes, I still manage to display only one icon when installing the APK via Eclipse when debugging), it doesn't seem to work for the exported…
an00b
  • 11,338
  • 13
  • 64
  • 101
3
votes
1 answer

Google Play Licencing for an Android app in Android Studio

I am trying to set up Google Play Licencing for an app in Android studio for an app written in Kotlin. My goal is to avoid users sharing APK files without purchasing my app through the store. What I've tried: I've tried following through their…
Aykhan Hagverdili
  • 28,141
  • 6
  • 41
  • 93
3
votes
0 answers

Signature verification failed in Expansion Files & In-App Purchase

I have implemented expansion files and In-App Purchase in my app. And app published on beta channel. While testing when i am downloading expansion files manually for testing below code giving me the error. E/LicenseValidator: Signature verification…
3
votes
1 answer

Can I query the Android Market License server from application A in order to see if application B was bought legitimately from the market?

I have app A which is free. I have app B which is a donation app. I know people rather pay 4 bucks for coffee and get my app for free via other channels but oh well. I want to enable more features in app A if app B is legit and from the market and…
Anthony Graglia
  • 5,355
  • 5
  • 46
  • 75
3
votes
2 answers

android Copy protection Forward-locking - should I not bother?

Should i abandon Copy protection for my android apps? It will be deprecated soon and I recently noticed that some devices will not show these apps due to this copy protection. Generally, with the SDK you can easily extract these apks anyway, so…
3
votes
1 answer

ContextCompat.checkSelfPermission(Context, Manifest.permission.CAMERA) alway return granted

I use Android API lvl 23 in my application. When I check Camera permission, the ContextCompat.checkSelfPermission always return 0 (== PackageManager.PERMISSION_GRANTED) I managed to change it from ContextCompat to ActivityCompat. Here is my…
Trần Đức Tâm
  • 4,037
  • 3
  • 30
  • 58
3
votes
1 answer

Include LVL Google Licensing in Android Studio App

I followed the instructions here http://developer.android.com/google/play/licensing/setting-up.html#add-library Specifically the part that says "As an alternative to adding the LVL as a library project, you can copy the library sources directly into…
user1091524
  • 865
  • 1
  • 15
  • 28
3
votes
2 answers

Lollipop 5.0 Sample License Checker App crashes on Emulator (AVD)

When running the the sample license check app provided by Google in sdk/extras/google/play_licensing it crashes on the Emulator(AVD) running Lollipop (5.0) (I don't have a phone running 5.0). It works fine on Phone running Kitkat. On 4.4 Kitkat it…
pt123
  • 2,146
  • 1
  • 32
  • 57
3
votes
2 answers

How to store in app billing activation to make tampering more difficult

I'm trying to use the in app billing v3 and I have seen in the sample before the save() nethod this warning /* * WARNING: on a real application, we recommend you save data in a secure way to * prevent tampering. For simplicity in this sample, we…
AndreaF
  • 11,975
  • 27
  • 102
  • 168
3
votes
1 answer

How to programmatically see if user has paid for my app when changing from paid to free

I'm having two versions of my app. Free and Pro. I'm going to remove the free version and change status of the Pro version from paid to free and use in app billing to unlock advanced features instead of having two different apps. Users already paid…
Jakob Eriksson
  • 18,597
  • 1
  • 25
  • 34
3
votes
2 answers

Using Android license verification serverside

I've been thinking about implementing of Google Play licence check on my Java server. Is that even possible? I haven't been able to find anything on this matter. I know Android LVL is written in Java, but I'm not sure if it can run outside of dalvik…
3
votes
3 answers

Contacting licensing server

I'm trying to publish my app for 3 hours now, but I can't get the license check to work. In my onCreate method I got this code: // Try to use more data here. ANDROID_ID is a single point of attack. String deviceId =…
Daniel
  • 753
  • 9
  • 15