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
But I cannot find how to restrict this licensing to 30 days from date of installation.

Android :: How to Implement Licensing for 30 days Using DLL?

Android :: LVL Licensing And Versioning ?

Sep 24, 2010

Using the licensing technique described here 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 :: Proguard And The Licensing Server

Sep 23, 2010

Just read the latest Android Developer blog post. 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 :: 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 :: 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?

View 3 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

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

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: Still no luck.


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 :: Scroll Through Calendar Days

Oct 26, 2010

I am trying to find a calendar app that will allow me to scroll through calendar days. The android app looks great but makes me crazy. If I am trying to schedule something more than a week out and want to be able to see all events day by day I have to click on a day then click out and then click on the next day. Is there a way I can just scroll?

View 1 Replies View Related

Android : How To Get Last 7 Days Records In Sqlite?

Apr 30, 2010

i would need to know the past 7 days record. i want to wrote a query for that in where condition. i have very basic knowledge in sqlite. Please help me for this query.

View 2 Replies View Related

Android : Name Days Widget For Droid

Apr 10, 2010

I made my first Android application/widget - Namedays. You can add this widget to your home screen and you will remember your friends name days - celebrate!

This widget includes following countries: Austria, Finland, France, Germany, Italy, Spain, Sweden, UK and USA.

You can find it in Android Market with name Namedays. Hope you like it.

View 3 Replies View Related

Android :: Market Comments Disappearing Over Last Few Days

Jul 26, 2010

every time I have looked at the market comments for my app over the last few days some more comments have disappeared. This is whether I look on the phone or on the developer console.Unfortunately the comments that Google has chosen to 'lose' are my most favourable comments leaving several "This app suxss" type comments by the usual Neanderthals who like to be abusive. I have checked with a helpful user who left a positive comment and they have not removed them themselves or de-installed so what is going on? It is seriously hurting my downloads/sales and the impression that potential users of my app see when they look on the market. I have emailed Google but no reply yet.

View 6 Replies View Related

Android :: Calculate Days Since A Record Entry?

Aug 4, 2010

I have a database with a field for a stored date. I would like to be able calculate the days between the recorded date and today.

I ended up using:

" = (SELECT julianday('now') - julianday("+KEY_DATE+") FROM"+ DATABASE_PLANTS_TABLE+")");

View 2 Replies View Related

Android :: How To Setup Ringer Mode With Days / Time?

Oct 4, 2009

Kids, while they are at school, wish to have the phone in silent mode. All other time, would like to have the ringer on. Is it possible to program the ringer mode with days and time? Is it a challenge to Android or the device manufacturers or for Google? Anyway, my kids will be the first users, if it is available.

View 4 Replies View Related

Android : Voice Mail / Deleting Messages After 4 Days

Sep 8, 2010

Why is it that my stinkin voice mail deletes any and all messages after 4 days? This never happened to me before I got a "smart phone" Really? Is there no way to change this extremely annoying setting?

View 8 Replies View Related

HTC EVO 4G : Do Batteries Have Good - Bad Days?

Jun 29, 2010

No, this is not a thread to bash the battery for the EVO. In fact if you do some research, you will notice that i have praised the EVO's battery in the past. Recently, however, my battery died on me on my trip to florida, and a sprint store in Daytona ordered me a new one. It is not the red EVO battery i have come to know, but a mere black one with the words 'HTC Innovations', and has the appearance of it looking used (some crud on it, which i still have not removed).

So my question is do batteries have good and bad days? I have not changed any settings on my phone, and i use to get a day out of it before it reaching 20%. Now im lucky to get 6 hours. Did i get a refurbished battery?

View 3 Replies View Related

HTC Incredible :: Get Facebook B-Days In Calendar

May 1, 2010

What is the easiest way to get FB birthdays to sync onto my calendar. I've seen a few things online, but seeing that we have HTC sense, there must be an easier way. I mean...all the birthdays are in the people app.

View 4 Replies View Related

HTC EVO 4G :: 3g / 4g Speeds Suffering Within Past Few Days?

Jun 15, 2010

As of yesterday im getting like .3mb down and literally 9kb up. this is after running both extreme labs and speedtest.nets apps from the market. I have full root(both steps from toast). Ive flashed a few rooms(BB, fresh, etc) but now i am back to the stock rom with root (Supersonic_1.32.651.6_ rooted) and i am still getting the same speeds.PRL updates have been done. I even did a full data restore(##3282#->data*->data restore). Nothing is working Im pulling the battery for a while to see if that helps.

View 21 Replies View Related

Motorola Droid X : How Many Days After Launch Before

Jul 14, 2010

The QQing starts? Has it started yet?

View 3 Replies View Related

How To Repeat Alarm For Between 1 To 60 Days At A Particular Time

Sep 15, 2011

I have to repeat alarm for between 1 day to 60 days. For example, the user can be able to repeat alarm after every 5 days, 10 days or 60 days (maximum).

Option1 ( Implemented Code

alarmmanager.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()+ (durationInDays * 24 * 3600 * 1000), (durationInDays * 24 * 3600 * 1000), pIntent);

Note: But it is working fine but it supports maximum 10 days(appx) repeating only after that "(durationInDays * 24 * 3600 * 1000)" it goes into -ve value so, I am unable to set maximum 60 days alarm repeatedly. AlarmManager class only supports a long value for choosing the interval between the execution of the pending intent.

Is there any other option to set repeat alarm for the no of days ?

Option 2 ( Implemented Code:

Date futureDate = new Date(new Date().getTime() + (86400000 * durationInDays));
Date dateInterval = new Date(86400000 * durationInDays);
am.setRepeating(AlarmManager.RTC_WAKEUP, futureDate.getTime(), dateInterval.getTime(), pendingIntent);

Note: We set repeating alarm maximum every 24 days but when i give (durationInDays = 25; // in Days) then it takes -ve values.

Can I set repeating alarm with Calender?

View 1 Replies View Related

General :: How To Change Edit Days

May 6, 2014

I want to change days in my language how to edit where is located the file with days ie monday tuesday >? Whish android service cause to not recieve notification

View 1 Replies View Related

Android :: Google Calendar Widget - Doesn't Display Current Days Events Only The Upcoming Ones

Dec 8, 2009

The native calendar widget doesn't display the current days events only the upcoming ones. Is there a way to change this or a different calendar app that is better?

View 18 Replies View Related

Android :: Countdown Timer To Show Days , Hours , Sec And Millisecond Remaining For Specific Date

Sep 20, 2010

I want to run an countdown time , in which i want to show days,hours,sec and millisecond remaining for a specific date. and will be be keep changing till the end of the specific date.

View 1 Replies View Related

HTC Droid Eris :: Emails Deleting After Few Days

Feb 22, 2010

I am having a problem with my emails in the native Eris email app deleting after a few days. I have tried every setting that I can think of to get this to stop but no luck. The Gmail app does not delte the messages like the nmative app does. I have the native app set up with my work email and I need to keep messages around until I delete them. Just to stress have no problems with Gmail deleting just the native app which I have set up exclusively to my work email.

View 9 Replies View Related

Copyrights 2005-15, All rights reserved