android-lvl

Android LVL (Licensing service) is incredibly slow! — solutions? Async?

て烟熏妆下的殇ゞ 提交于 2019-12-07 15:48:21
问题 I looked around online and saw some other posts complaining about how the Android licensing (LVL) library is slow, but no solutions. On an HTC Thunderbolt (brand new phone) it delays the startup time of a test app by 3-5+ seconds. Does anyone have any experience or ideas on calling this library asynchronously? Other solutions? I am just using the sample code provided basically. The really annoying part is that the whole app is frozen while this simple license check occurs, it's really bad.

Application Licensing and android unique id

二次信任 提交于 2019-12-06 11:58:42
问题 I am about to publish the paid app to the android market. The app uses LVL (Application Licensing). In order to validate the licence I have to provide the device's unique id. The problem is that some android devices (due to known issue) have the same 'unique' ids, when calling: Secure.getString(getContentResolver(), Secure.ANDROID_ID); I could also use TelephonyManager class but the app also targets the tablet devices so I can not rely on that. If anyone of you guys has used LVL please let me

android LVL reasonable?

我怕爱的太早我们不能终老 提交于 2019-12-06 08:48:14
问题 I am about to release my first firsion of an android app. I was thinking about using android's licensing service (LVL) for my app. But now I am not sure if it wouldn't be better just not to use any licensing service. a) LVL can be cracked anyhow b) LVL causes some delay of my app What do you guys think ?! Do you have any experience with using / not using LVL ? Do I have any alternatives ?! Thanks 回答1: a) LVL can be cracked anyhow LVL is definitely a piece of crap in front of sophisticated

Google Android LVL CheckLicense service timeout

你离开我真会死。 提交于 2019-12-06 07:19:09
I have an app that use Google license protection service. I have tested successfully this app(that currently is on Google Play since a couple of weeks) and the license checking. Some days ago I have published another app with the same protection and another private static final byte[] SALT = new byte[] {....} And the license checking works fine also with this app. Today I have updated a single layout of the first app published. I have tested the app and with my surprise fails the license checking with a timeout problem (and my Internet connection works fine) 10-25 01:04:16.689: I

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

落爺英雄遲暮 提交于 2019-12-06 06:24:55
问题 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 gives a warning the Implicit intents with startService are not safe: Intent { act=com.android.vending.licensing.ILicensingService } android.content.ContextWrapper.bindService:538 com.google.android.vending.licensing.LicenseChecker.checkAccess:150

Android license check going straight to applicationError(…)

不想你离开。 提交于 2019-12-06 05:59:16
问题 I just implemented the android server check in my app. I am using the StrictPolicy method because I may be just a little bitter from the pirated version have 5X the amount of downloads as the version in the market... Anyway, I coded the method basically verbatim into my source code. However, when I toggle the License Test Response on the developer console to Licensed, I get the unlicensed dialog. However, in the applicationError method, dontAllow() is called and when i comment this line out,

LVL Library Google Play licensing response code always NOT LICENSED for test accounts

大憨熊 提交于 2019-12-06 05:32:51
I've added licensing to my android application using LVL Library. Licensing works properly for normal users which buys it in Google Play (I think so - I don't have any feedback about problems). It worked also when I primarily tested it on second device with some test account. Currently I have problem that server always return NOT_LICENSED response code (1) on devices with test account whatever I set in "license test answer" in developer console. When I test on device with publisher account answer is correct (server returns what I set in "license test answer"). I've tested on signed release

Android LVL (Licensing service) is incredibly slow! — solutions? Async?

▼魔方 西西 提交于 2019-12-05 22:24:37
I looked around online and saw some other posts complaining about how the Android licensing (LVL) library is slow, but no solutions. On an HTC Thunderbolt (brand new phone) it delays the startup time of a test app by 3-5+ seconds. Does anyone have any experience or ideas on calling this library asynchronously? Other solutions? I am just using the sample code provided basically. The really annoying part is that the whole app is frozen while this simple license check occurs, it's really bad. Thanks! Nitwit figured it out: the licenseCheck is asynchronous. So just fire it, then open the app with

How can I make a time-limited trial application?

微笑、不失礼 提交于 2019-12-05 11:19:39
I'd like be able to make a time-limited trial version of my application, but I'm not sure how I can reliably determine whether or not the user attempted to reinstall the application after the expiration date. I could likely store the initial installation date in a storage location that wouldn't get erased upon uninstall, but this doesn't seem like an ideal method. Does Google Play's Application Licensing support this feature, or is there another acceptable way to accomplish this? you786 To echo what was written in the comments: Have the device create a UUID, then send the UUID to a server like

Android License Test Response - Never works

房东的猫 提交于 2019-12-05 05:35:30
I've been working on an Android App that has already been published to Google Play. For the next update (versionCode = 3) my client wants to include the LVL licensing scheme. The first thing I did was set up a static test response from the licensing server. I set the test response to LICENSED . After reading this in the documentation: This License Test Response will be sent to devices using [my email address] or the Test Accounts listed above for applications you have uploaded to Google Play. >Additionally, this account (but not the Test Accounts) will receive this response for >applications