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!

Android :: Licensing - Setting Server Response Values per Application

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 : How To Get Response Url Values.

Jun 11, 2010

Code... I want to get Session Key from here. How to get it.

View 2 Replies View Related

Android :: Application For Setting Phone Internet Proxy Server

Jan 8, 2010

Can anyone advice if there is an application which forces android phone go internet over some proxy-server? I've noticed there are no such settings on G1, like you can no set it up manually in Network Settings. Maybe there is an app which creates routes same way you can do in WinXP or something?

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 :: VM Crash When Get Server Response

Sep 30, 2009

Android VM crash in a Samsung Galaxy running a code good working with emulator. My code call facebook rest service to get my friends info. But when I get server response VM crash...........

View 5 Replies View Related

Android :: Response From Server Without Request?

Jun 30, 2009

How can i response from the server without request? I can send httpRequest but i want to server will be able to send any response whenever it want. (Server will be able to push to handset) Must i install web server to my android?

View 2 Replies View Related

Android :: Server Not Displaying Response Message

Apr 4, 2009

I am trying to establish the connection between mobile and PC.I am running server program on PC, when I run the below code server not displaying any response message.When I send the request from mobile browser server displaying response message. I am working on SDK_1.1.Please suggest me on program code. public class HTTPPostExample extends Activity { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); try{ httpPostImage(); }

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 :: MapView Disabled - Google Server Response?

Jan 30, 2009

Now, I'm developing an Android app called "Echo". But 5 hours ago, My Dev phone haven't displayed MapView. First, I supposed that my API-key have been disabled. I tried to Maps API Key signup agian. But google server response error.
> Server Error > The server encountered a temporary error and could not complete your request.
> Please try again in 30 seconds.

View 4 Replies View Related

Android :: Want To Save Data On Web Server / Send Request And Handle Response?

Aug 16, 2010

I want to save the data on the web server. I have data in XML format and I know the URL String. Please tell me how can I send the request and handle the response.

View 1 Replies View Related

General :: Server Response - Exceeded Login Limit For 15 Minute Period?

May 26, 2012

On a hTC Desire S a friend is having a problem when opening the Mail app. He can't see any mail in any folders other than trash, and gets the following message when he opens the app: Server response: exceeded the login limit for a 15 minute period. Reduce the frequency of requests to the POP3 server.

View 2 Replies View Related

Android :: How To Read Values From Server Using Http GET Method?

Aug 29, 2009

how to read values from the server using Http GET method.whenever i m passing the url to the server it returns same url in the textview.i think i commited mistake in http connection using GET method..would u tel me pls how it is?

View 2 Replies View Related

Android :: DIP Scale And Setting Values In Code

Jul 7, 2009

I have read about using a 'dip' scale rather than just px, this is straightforward to implement in XML. But how do I adjust values accordingly in the java code? For example:


will result in text of size 20 px right? What's the quickest way of making this 20 dip, other than adding a resource?

View 3 Replies View Related

Android :: How To Check Whether The Response Returned From Server Is Image Or Not In Android

Jun 23, 2010

In my Android app I am calling a URL for fetching images and that URL is also fetched dynamically. Sometimes what happened is that the server returns the path of the image but actually there is no image so can we put some kind of validation.

View 2 Replies View Related

Android : Put All Code Relating To Creating Time - Date Dialogs Setting Values

Sep 24, 2010

I'm currently learning android and java, and I am having some issues with importing a java file.

I am working with the time and date example in the android api demos, and I want to put all the code relating to creating the time and date dialogs setting the values etc into a separate java file, and in my main java file run when the application starts, just declare the buttons and onclick events.

What is the best way to do this? Do I need to put all the code inside a class(that extends activity) or method? How do I use this inside my main class. Code...

View 1 Replies View Related

Android :: How To Get Response From Https Server Using Android Sdk?

Aug 13, 2010

I have a problem of ssl exception when i upload data to a https server. It uploaded the data to the server correctly but when i get the response after uploading it throws an exception of ssl certificate is not trusted. I'm using the SAX parser for parsing xml file and i am using httppost method().

View 1 Replies View Related

Android :: How To Connect Mysql Server On External Server In J2me Application

Sep 29, 2010

I have a hosting account at godaddy ruinning Linux. Is has MySQL. I am creating a J2ME application that runs on android and I was wondering if there is any simpler way to connect from j2me application to my MySQL server?
Is it required to install anything at my server? which I cannot do because of the shared account. Any way to just open the connection, update some data in the MySQL from j2me application?

View 2 Replies View Related

Android :: Android - Avoiding Conflict Of Setting Text Field Values

Nov 17, 2010

I'm writing an Android application that allows a user to maintain a list of products. In the EnterProductData activity, the user can enter information about the product into form fields, which will then save the info to a SQLite DB. The EnterProductData activity also allows the user to initiate a barcode scan via the Barcode Scanner app in order to capture the UPC code. The problem I'm facing is trying to set the value of the UPC text field in onActivityResult() once the barcode scan activity is complete and returns the value.

What is ending up happening is my onResume() method is calling a function (populateFields()) that sets the values of the text fields to whatever is currently saved in the DB. And this seems to be happening after onActivityResult() is called. This means the scanned UPC is set as the text field value, only for an empty value to be set to it immediately after. The line of code to blame is commented with asterisks next to it. I imagine that if I immediately save the scanned UPC to the DB in the onActivityResult() method, I can avoid this problem, but that doesn't seem to be the best practice, in my opinion. Can someone advise me on what I should do?
public class EnterProductData extends Activity {
private Button mScanButton;
private EditText mUPC;
private Button mSaveButton;
private Long mRowId;
private DbAdapter mDbHelper;

protected void onCreate(Bundle savedInstanceState) {
mDbHelper = new DbAdapter(this);;
mUPC = (EditText) findViewById(;
mScanButton = (Button) findViewById(;
mSaveButton = (Button) findViewById(;

mRowId = (savedInstanceState == null) ? null :
(Long) savedInstanceState.getSerializable(DbAdapter.KEY_PRODUCT_ROWID);
if (mRowId == null) {
Bundle extras = getIntent().getExtras();
mRowId = extras != null ? extras.getLong(DbAdapter.KEY_PRODUCT_ROWID): null;}
mScanButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
mSaveButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
}private void populateFields() {
if (mRowId != null) {
Cursor product = mDbHelper.fetchProduct(mRowId);
product.getColumnIndexOrThrow(DbAdapter.KEY_UPC))); //******}
protected void onSaveInstanceState(Bundle outState) {
outState.putSerializable(DbAdapter.KEY_PRODUCT_ROWID, mRowId);
protected void onPause() {
protected void onResume() {
}private void saveState() {String upc= mUPC.getText().toString();
if (mRowId == null) {
long id = mDbHelper.createProduct(mRowId, UPC);
if (id > 0) mRowId = id;
}} else {mDbHelper.updateProduct(mRowId, UPC);
}}protected void onActivityResult(int requestCode, int resultCode, Intent data) {
switch(requestCode) {
case IntentIntegrator.REQUEST_CODE: {
if (resultCode != RESULT_CANCELED) {
IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, data);
if (scanResult != null) {
String upc = scanResult.getContents();

View 1 Replies View Related

Android :: Setting Values And Display Text In Android Spinner

May 31, 2010

I need help in setting up value and display text in spinner. As per now I am populating my spinner by array adapter e.g. mySpinner.setAdapter(myAdapter);

And as far as I know after doing this the display text and the value of spinner at same position is same. The other attribute that I can get from spinner is the position on the item. Now in my case I want to make spinner like the drop down box, which we have in .NET. Which holds a text and value. Where as text is displayed and value is at back end. So if I change drop down box , I can either use its selected text or value. But its not happening in android spinner case.

For Example:

Text Value
Cat 10
Mountain 5
Stone 9
Fish 14
River 13
Loin 17

So from above array I am only displaying non-living objects text, and what I want is that when user select them I get there value i.e. like when Mountain selected I get 5. I hope this example made my question a bit more clear.

View 2 Replies View Related

Samsung Captivate :: Response From ATT's Executive Response Team Over FCC GPS Complaint

Sep 8, 2010

Back when we all found out about the bad gps on this phone there was talk to file a complaint against att for false advertising of gps capabilities with the Captivate. Well, I was pissed and went ahead and filed the complaint. I received a letter in the mail a few weeks ago that the FCC had received the complaint.Today, I received a response from ATT in my inbox.

View 48 Replies View Related

Sprint HTC Hero :: Inputing Text - Get No Response Or Sluggish Response

Mar 18, 2010

anyone else having issues using the keyboard / inputing text while the hero is lying flat down on a table? i sometimes get no response or sluggish response when its on a table and i'm trying to send e-mail or texting. I tried re-calibrating and works fine when I hold it upwards/regular.

View 1 Replies View Related

Android :: Setting Up POP Server Email - Cannot Select Options

Jul 5, 2010

Seems like it should be pretty straightforward. In the main menu I chose "email" and added my pop servers URL and the next line asks for the password which I entered however it will not let me highlight either the "manual set up" or the "next" icons in a gray bar just below the password box. Tried it several times now. Certainly a Droid should be able to handle pop server mail??

View 2 Replies View Related

Android :: Setting Up A Proxy Server For Droid Emulator?

Oct 14, 2009

I want to start Android Emulator with internet support but am unable to use the brower on the emulator, it seems like it is not connected. This is the command am using to start the emulator

emulator -avd myavd -http-proxy

Please note am using an IPAddress instead of machine name on my proxy server name. Is this possible with the emulator?

Or what am i doing wrong? Am using Android SDK 1.6

View 2 Replies View Related

Android :: How To Get Values For Droid Application

Nov 22, 2010

I am developing an android application based on web services. How can I run query (server using php and MySQL) based on the item clicked and get the result from the web. I also want to show some values as list (List layout). Is there anyway to accomplish this?

View 1 Replies View Related

HTC EVO 4G :: Evo Has Bluetooth FTP Server Setting - Work

Jun 5, 2010

I was looking at the bluetooth settings on the Evo, and it has an FTP server option that can be checked. Not sure how it works, but it sure sounds like it may be possible to set it up to just easily drag and drop files to the SD card from a computer over bluetooth, but maybe I'm missing something?

View 11 Replies View Related

Android :: Way To Pass Values Strings / Bundles To Another Application

Jun 19, 2009

Is there any way to pass values(strings or bundles) to another application while calling it via intents, and also return some information (mostly string)?

View 3 Replies View Related

Android :: How To Clear Static Variable Values / When Will I Close My Application

Aug 31, 2010

I have used some static variable in my application, i want to clear static variable value when will i close my application.anybody know please give solution for that.

View 11 Replies View Related

Android :: Get Other Applications Touch Screen X - Y Values When Application Running In Background?

Aug 16, 2009

I want to use an AP running in the background, and can get the other AP touch screen x,y values. Beacause i use the View class the ontouchevent, but this seems to get current AP running touch event. Which the class or function can meet the needs of this.

View 3 Replies View Related

General :: How To Edit Default Values Of Memory Min-free Values Of Rom Reside

Apr 9, 2014

I want to ask where does the defaults values of memory min-free values of a Rom reside? I mean what file I would have to edit to edit those values?

View 1 Replies View Related

Copyrights 2005-15, All rights reserved