Android :: Market Licensing Intermittently Fails

Oct 26, 2010

I included the Android Market licensing (LVL) in my application and is currently using it to block invalid users. However users are emailing me that they are legit and include proof that they indeed bought the application. In looking at the errors generated during authentication, I get something along the line of "failed to reach server 505 error" which basically means that the Android Market server isn't responding and authenticating the users correctly.

In my personal experience when I encountered this once in my testing (I was hoping it was unique but it's not), I had to wait 30 mins before it finally worked. My phone was using wireless and clearly had no network issues. Ultimately the Android Market server is glitch and faulty (which is nothing new) and was just not responding and authenticating for around 30 mins. This leads to an extremely crappy experience for my users.

Other than dropping using this licensing scheme, I don't know what else to do. Android market connection is just too faulty for everyday usage. Do other developers have a better experience? Others using LVL at all? Others with similar experience?

Android :: Market Licensing intermittently fails


Android :: Market Licensing Sample To Work

Sep 28, 2010

I downloaded the sdk and added the library to my workspace, then the sample for market licensing. The sample app seems to force close somewhere after/during the instantiation of LicenseChecker. I tried running on the emulator with Google API 8 and on a droid x with froyo and it force closes. The stack shows PerformLaunchActivity as the top item. Both emulator and phone had a registered gmail account. how to get this to work?

View 1 Replies View Related

Android :: Android Market Licensing Check During OnCreate Or OnResume?

Aug 21, 2010

In the included LVL sample app, the license check is triggered during onCreate. This means that when I click "Buy App" to launch the market, then immediately hit the back button to return to the app, the dialog is gone and another check isn't performed, leaving me with a perfectly usable app (at least until the activity is killed and the process starts over again).Would triggering the license check during onResume() be bad form, even though it would fix this issue? Is there a better solution?

View 2 Replies View Related

Android :: Market Update Fails

Oct 3, 2010

I want to upload an upgrade in the market. But when I upload the apk and new images and click save or publish everything is lost when I return to the listing (the old apk and images are restored). The only thing that changes is the saved versioncode of the app. Is there something broken?

View 2 Replies View Related

General :: Market Fails To Process Order

Jan 27, 2012

When I purchase something from the market, it hangs on authorising payment in the market app. In the meantime the payment is taken from my card, I get an email with receipt for the order, then the market will error with the message "You will receive email when your purchase is resolved". The app then seems to freeze in a state of permanent purchased but not delivered. 24 hours has passed and I can still hit the refund button and process a refund.

This happens both on my Xoom and SGS2 whether purchased from the market on the respective device or from the website. The entries on Google wallet appear to be the same as previous successful purchases just without the delivered/shipped detail on them, and the message this item will be automatically downloaded to your device is absent.

I'm stuck in hospital at the moment and my tablet and phone are all I have, so this really sucks.I have tried multiple payment methods with no success.

View 1 Replies View Related

2.1 Update :: Android Market Fails After 2.1 Update

Nov 12, 2010

After installing the 2.1 update onto a SE X10 mini the Android Market will not function. It opens, I can browse and select apps but when attempting to download it states 'starting Download', with a barber-pole bar, but the download goes no further. I have re-installed the update which seemed to work at first with one download working but then the same problem re-occurred. Based on info in other feedback on this blog I reviewed the app settings but there is no update to uninstall. how to get the Market to work?

View 2 Replies View Related

Android :: LVL Licensing And Versioning ?

Sep 24, 2010

Using the licensing technique described here http://developer.android.com/guide/publishing/licensing.html I'm trying to test what happens when: - I would upgrade my LVL protected app to a new version - Some user hasn't upgraded yet Will the user with the old version still be able to continue? Will the licensing server return LICENSED_OLD_KEY as I expect it to, and thus allow access?

The scenario I used to test this: - uploaded to market a signed version 1.0.0 (did not publish it) of my app which has never been published nor uploaded before - setup test account and let the test response be LICENSED - on Nexus1 tested and verified that when using the apk (so the one in <project>/bin), LICENSED is returned. - increased versionCode and versionName to 1.0.1, signed and uploaded that version to market (didn't publish) - on N1 installed the new apk (again the newly compiled one from <project>/bin). LVL returns NOT_MARKET_MANAGED so indicating that it's not available in the market. But I expected LICENSED_OLD_KEY to be returned.

Am I trying something that's not possible to test? From other posts like this one: [url] and this one: [url]is suggested that the above scenario should work...

If this is not possible to test before publishing an app, did anybody try this out in the field: will LICENSED_OLD_KEY be returned for older versions that previously got LICENSED as an answer?

View 5 Replies View Related

Android :: Predefined Licensing Models

Oct 25, 2010

As I understand, currently there exist two of them, to relieve devs from implementing their own ones, which are -strict -servermanagedpolicy However, I'm missing a predefined policy that actually is the counterpart to the soon deprecated "copy protection mode", ie one that will check once, and then keeps silent for weeks or even months, instead of harassing users to make an online connection. So, I'd like to request to please add a third predefined policy to cater to our laziness. A policy that is the counterpart to the actual old 'copy protection' thingy. Apart from this I don't really see why an app that has been correctly installed by the market with device-based signature checks and all really needs to be checked every 5 days? Wouldn't that only make sense if the app is sort of subscription-based?

View 2 Replies View Related

Android :: Licensing Application Programmatically?

Jun 3, 2009

If i wish to attach an evaluation license to my android application, how can that be achieved ? As for example, i may want to provide an evaluation license based application that expires in one of the following ways:

1. Time based (30 days etc)
2. Usage based ( 100 invocations of the application).

Once the application's license expires, i need to restrict access to it from the user.

View 16 Replies View Related

Android :: How To Implement Licensing For 30 Days Using DLL?

Nov 8, 2010

I have created an application and would like to provide a 30 days trial period for the same using licensing dll provided by android
(http://developer.android.com/guide/publishing/licensing.html#support)
But I cannot find how to restrict this licensing to 30 days from date of installation.

View 2 Replies View Related

Android :: Proguard And The Licensing Server

Sep 23, 2010

Just read the latest Android Developer blog post. http://android-developers.blogspot.com/2010/09/proguard-android-and-l... Quite the beast. And Proguard cannot even be used with confidence ("it's still possible that in edge cases you'll end up seeing something like a ClassNotFoundException").

Is it just me getting irritated where this seems to be going? In my more active days developing, pretty graphic slang was applies to efforts like this: "Turd layering". Meaning: More dependencies, more procedure, more sources of error, and it doesn't even work "right". In of itself, adding innocent looking steps to a release procedure (for some relatively obscure benefit) might be marginally worthwhile, but in the bigger picture, releasing an app increasingly becomes a burden. Dare you miss a step. Or try to teach somebody else how to go through a release and verify it. Or you want to go and rebuild a development environment. Or lose the ominous reference file (mapping.txt)...

View 1 Replies View Related

Android :: Check Licensing Permission Of Other Applications?

Aug 2, 2010

I have a free application that has a number of paid-for upgrade applications you can buy for it. The base game is free and remains the application that the user always launches, it detects the presence of the other applications and unlocks various upgrade features as appropriate.

I wanted to use the new licensing service to detect whether the bought applications were licensed, and pass the name of the package to the licensing service to verify if it is authorised (and blindly following the sample I stupidly assumed that passing in the package name to the obfuscator meant that the package name was passed to the licensing server - oops). However I've just realised how dumb that was, and in any case I have hit a brick wall: "If you already published your application as free, you won't be able to upload an updated version that includes licensing (that is, an application that uses the same package name and that includes the licensing permission)".

So, a two-part question: is there any plan to implement what I'm looking for: to check from inside a free application whether any of my other paid published applications are licensed?

If not, then what would be the best way of achieving what I'm seeking? I'm thinking of maybe sending an intent to each of the installed upgrades, getting them to perform the licensing check, and then getting the upgrades to pass the response back into my base application.

View 1 Replies View Related

Android :: How Licensing Work In Transitioning From Free App To Paid?

Feb 11, 2009

Here's the scenario: The app is on the market for free. The publisher then decides to make it a pay app and changes the status. I'm assuming you can just do that, but my questions are:
1) Will the publishing console require us to upload a new version if it is to be a pay app, or can we just change it on-the-fly? 2) If we can change it on-the-fly, how will that affect users that have downloaded the free version? Do they get the license to the paid one as well (so they can delete but reinstall the app for free, get updates, etc?) I've finished a game but I've been just waiting for the paid apps to come on line before publishing it. I'm now thinking that I wouldn't mind a 1 week free period before going paid but something felt like the users who download it for free would never have to pay even after I change it to paid and add some sort of desirable update that makes them want to download the new version (and pay then to get it if they have to).

View 5 Replies View Related

Android :: Licensing - Setting Server Response Values Per Application

Aug 5, 2010

So I've just published my first paid app to the Market and I used the new LVL with the default ServerManagedPolicy. On working through the docs and getting it set up I noted the references to the server response extras VT, GT, GR & UT, and the impression I got from quotes such as "a typical value would be 5 or more days.", "a typical value would be "10" or higher." etc., was that we would have some way of setting these server response values per app when we upload them to the Market. Either I'm missing something, or there does not seem to be a way to set these in the Developer Console that I can see? If we can't set these, it's not really a 'managed' policy at all, but a random 'whatever the server decides to respond with' policy, particularly given the vagueness of the documentation.

I really hate phone home licensing, and am only using it because it seems to be the only option to combat Android piracy. Ideally I want to just check once when the app is first launched, once a day or two later to check they didn't return it, then cache that for 6 months (forever?) to minimize disruption to my users. Is this kind of thing possible with the ServerManagedPolicy or do I have the wrong end of the stick about the 'management' features and have to roll my own? On a side note, if I can't buy my own app, how can I test my licensing is working in the wild? I got several 'NOT_LICENSED' responses in testing even when I set it to return 'LICENSED' in the console, so I'm not 100% convinced of its stability and want to actually see how well it works outside the testing environment, but apparently can't buy my own app to do so!

View 4 Replies View Related

Android :: Licensing Verification Library & Apps Solely For Unlocking/Removing Ads

Aug 31, 2010

There's a large chunk of apps on the market that are free, with ads. Users can pay for an "unlocker" app to remove ads in the "free" app, presumably by doing a check on whether or not the unlocker app package is installed.

If LVL is verified intermittently on a paid app, is it useless for these unlocker apps? Presumably a user would never run the unlocker app, so how would LVL even check the authenticity?

View 10 Replies View Related

Google Licensing API - How To Get Public Key From Keystore

Sep 4, 2012

i have finished an app and would like to publish, but all of a sudden, i spotted this Google Licensing API and thought that it would be pretty cool to incorporate it into the code.anyway, in the sample code Google put in... there's this String

Code:
private static final String BASE64_PUBLIC_KEY = "REPLACE THIS WITH YOUR PUBLIC KEY";

how do i get the public key from the keystore that i created with Eclipse?

View 1 Replies View Related

HTC Incredible :: Android 2.1 Rebooting Itself Intermittently?

May 10, 2010

Anyone else have this problem with the HTC Droid Incredible on Android 2.1 rebooting itself intermittently? In the last 2 weeks, it has rebooted it self about 5 times that I know of. NO, I am not rooted. No, I have not seen any update notifications.

View 15 Replies View Related

Android :: HttpsURLConnection Failing Intermittently To Same URL

May 15, 2010

I think I'm experiencing the same as http://groups.google.com/group/android-developers/msg/9d37d64aad0ee357

This is Android 1.5 SDK. I happen to call several times below code(which is in a method) with
the same url and it fails intermittently. When it fails, there is no exception, the stream is empty so the
readConnection fails, and getResponseCode returns -1. Global caching is disabled, setDefaultUseCaches(false);

I suppose there must be some kind of url connection object pool somewhere.

How can I workaround this?

CODE:............................

View 2 Replies View Related

Android :: App Opens Previous Activity / Only Intermittently

Jul 24, 2009

This is an intermittent bug in one of my apps. I don't expect anyone to solve it immediately, but I'd appreciate any thoughts on how to start debugging!So, my app lets users edit an item (in the EditPage activity). When they press the Back key, the desired behaviour is that it saves their edits and returns them to the home page (the HomeList activity). The code for this is below. It works fine. Except.The bug is this. Some users report that sometimes when they reopen the application after a pause, they are seeing *not* the home page, where they left the application - but the previous edit activity. Crucially, they are also seeing the edit activity without their saved edits - effectively losing their most recent edits.I've been able to reproduce this myself. It only happens after the application hasn't been opened for a while. If I save something, minimize the application and reopen it straight away, it shows the HomeList activity just fine, and the edits have all been saved. But if I save something, leave it for a couple of hours and then reopen it, it shows the previous EditPage activity, without the saved edits (i.e. in the state that the EditPage activity was previously launched).

Any ideas, anyone? I had wondered whether it was due to the Back button being used to return the user to the HomeList activity - maybe Android thinks that the Back button means that the HomeList is not the most "recent" activity, instead the EditPage is. I'd like to carry on using the Back button if possible, though. And in particular, I'm puzzled why it only happens after the app has been idle for an hour or so, and not immediately? Is it something to do with Android's memory management?

View 4 Replies View Related

Android :: Deadlocks Intermittently / Having Crashlog After A Rotation

Apr 8, 2010

Here's a crashlog. It happened on n1 after a rotation. Looks like the swap function is called with a wrong arg. Log ...

View 2 Replies View Related

General :: Seeing Wrong Time On Android 4.3 Intermittently On Nexus 4?

Aug 3, 2013

Since updating to 4.3 both my and my girlfriend's Nexus 4 clock keeps jumping back 8 hours. Then corrects itself. Then goes wrong again, a few times per hour.

We bought the phones in the UK where there is an 8 hour time difference.

When we look at clock it says UK time is actually Los Angeles and Los Angeles is UK. It swaps them, which makes no sense.

Turning auto time zone off makes no difference, it's getting it from AT&T directly.

View 3 Replies View Related

Android :: Android ProGuard Settings Use With App - Uses Licensing Server To Not Force Close

Oct 2, 2010

I've seemingly tried every setting in various articles on the internet including excluding all of my classes through -keep public class.

What settings should be used to not force close? At this point if I could get obfuscation with nothing else would be fine.

Below are sample configurations I've tried and my app still force closes.

I followed this article as well as others: http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html. Still no luck.

CODE:................

View 1 Replies View Related

General :: HTC ONE X - Won't Wake Up Intermittently

May 16, 2013

just joined up and looking for an answer to an issue I'm currently experiencing with my HTC ONE X. Phone has been fine, now suddenly the phone will not wake up. Everything works fine when initially turned on- can put it to sleep, wake it up with no problems (so the button is working fine) but if I leave the phone for 5-10 mins then try to wake it up I get nothing. So currently am having to constantly have it so the screen never goes off which is hardly ideal (especially on this phone considering the battery isn't the best to start with...!)

Phone is not rooted and on Vodafone UK. Running 4.1.1

View 3 Replies View Related

Android :: Lock Layer Error Intermittently When Stopping And Starting A Opengl SurfaceView

Jul 13, 2009

I'm writing a game using the drawing method from Chris Pruett's opengl spritemethodtest demo. The Activity running my opengl view works fine on initial load, and about half the time after turning off the phone and turning it back on. However, the other half, it locks up. I'll get a "lock_layer timed out (is the CPU pegged?)" warning that keeps repeating. I tried running the debugger to find the exact line that the error is occurring on, but the strange thing is that this error won't occur if I'm running the debugger on my G1. It only happens under normal operating conditions. Any help would be appreciated, as this bug really has me stumped.

Here are my onPause and onResume activity methods:

CODE:.............

Here's a stack trace, running from the initial onCreate call to the lockup (I added some extra Log warnings to illustrate when different lifecycle methods are being called):

CODE:..................

View 2 Replies View Related

HTC EVO 4G :: Music Player Intermittently Turns On

Jun 9, 2010

Sometimes my music player (TuneWiki or MixZing)randomly turn on & even though I will pause they they will keep turning on.It normally happens when I am listening to Last.FM or FM Radio.This used to happen on my HTC Hero to.

View 6 Replies View Related

HTC EVO 4G : Gmail Has Intermittently Stopped Pushing

Sep 1, 2010

In the last day or so Gmail has intermittently stopped pushing to my EVO. I can hit refresh and the mail appears. All settings are correct, background data, auto-sync and the Gmail account are all checked.

View 4 Replies View Related

HTC Magic :: Making Calls Only Work Intermittently

Jul 9, 2009

Just got my Magic today (Rogers) and things went pretty smoothly. Phone unlocked fine, AT&T's APN entered correctly, web browsing is good, Exchange is up and running, etc. But, I am having a problem dialing outbound calls, it is only working intermittently. I'm in a known good service area (5 bars) and have strong signal. Half the time I try to make an outbound call, it fails after about 5 seconds of just sitting there and saying "dialing" - it just craps-out and I get the fast busy signal and a "called failed" message. I try again - same thing. Every once and a while it will go through - and then the cycle happens all over again. This isn't happening in any of my other devices. Could there be a setting in the "phone" area that I have to tweak or something? Obviously a phone that doesn't make calls consistently is no good to me!

View 1 Replies View Related

HTC Tattoo :: Touch Screen Not Responding Intermittently

Aug 23, 2010

Basically on Saturday it was raining hard where I live and I was out and about with my tattoo in my pocket. I used it a few times whilst out but made sure it didn't get too wet although I personally got drenched and the phone was in my wet trouser pocket! That evening the touch screen stopped responding completely, nothing would happen when I touched the screen at all! The directional buttons like home and menu worked however. I then took the battery out and put it back in, but still no luck, the touch screen was dead. Resigned to having to send it back to HTC, I left it switched off over night. The next morning I switched it on again and it started to work fine again!! No problems, so I thought the problem had passed.

But then a bit later in the day the same thing happened again, touch screen not responding but this time as well although I wasn't touching the screen the tattoo was pressing the touch screen button in the bottom left hand corner of the screen on its own!? So that made me think that the touch screen was indeed broken! I then performed a complete factory reset last night, and yet again after that the phone was working fine again. But then again when my alarm went off this morning, the touch screen was not responding again and the tattoo was pressing that same button again on its own, on and off. So I took the battery out again, left for a few hours, just turned it back on now and the tattoo is working fine again!

View 3 Replies View Related

HTC Incredible :: Screen Brightens And Dims Intermittently

Aug 8, 2010

Loving the phone, the auto-dim works great when I pull the phone closer or away from my face. My issue is when I'm playing a ROM on my phone for an extended period of time (maybe 15 minutes), I notice that the screen either gets brighter for a few moments, or will get dimmer. The seems to happen without any warning or prompting maybe it occurs because I accidentally hit the home button, then return to the ROM and once the phone knows I'm just playing the ROM it dims to conserve battery? And when I say dim, I mean ever-so-slightly. It doesn't turn black or anything.

View 1 Replies View Related

Motorola Droid X :: Bluetooth Intermittently Disconnecting

Aug 20, 2010

Just got my Droid X and love it so far. However, I'm having an odd bluetooth issue. I paired my DX with my Jawbone Icon, and everything worked fine, at first. However, now it seems to disconnect the jawbone arbitrarily. Strangely, the blue bluetooth indicator at the top of the DX display stays lit as though it's connected, but the earpiece becomes unable to initiate or answer calls. To resurrect the earpiece I have to turn it off, wait for the bluetooth indicator to go white, and then turn my earpiece back on. At that point, it connects and works fine for a while until it happens again. I guess it's possible there's a problem with the earpiece, but it always worked fine with my iPhone 3G.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved