Persistent data even when app uninstalled

by Marco Nelissen » Sat, 03 Oct 2009 00:47:12 GMT

Sponsored Links
 The other side of that of course is that persistent storage like you
describe would allow the phone to be filled with data that the user
has no visibility in to and no way to remove.


Other Threads

1. Download a file from a URL extremely slow, am I doing it right?

Try switching to HttpClient. You can use this as a basis:

package org.apache.http.examples.client;

import org.apache.http.client.ResponseHandler;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;

 * This example demonstrates the use of the {...@link ResponseHandler} to
 * the process of processing the HTTP response and releasing associated
public class ClientWithResponseHandler {

    public final static void main(String[] args) throws Exception {

        HttpClient httpclient = new DefaultHttpClient();

        HttpGet httpget = new HttpGet("");

        System.out.println("executing request " + httpget.getURI());

        // Create a response handler
        ResponseHandler<String> responseHandler = new
        String responseBody = httpclient.execute(httpget, responseHandler);


        // When HttpClient instance is no longer needed,
        // shut down the connection manager to ensure
        // immediate deallocation of all system resources

You'd need to create a BinaryResponseHandler class that gave you a
byte[] of data. I did this once for a consulting client -- it was an
extremely short class IIRC. Or, skip the ResponseHandler pattern, call
httpclient.execute() and use the resulting HttpResponse object.

Mark Murphy (a Commons Guy) |

_Android Programming Tutorials_ Version 2.0 Available!


2. SERIOUS problem w/ uninstalled apps and update notifications

I have now gotten two 1-star reviews and {*filter*} comments from idiot-
users who blame me for the fact that after uninstalling my app they
still receive update notifications from the market.

It seems obvious from my point of view that I have absolutely no
control over this but I am open the suggestion that I have done
something wrong.

Does someone from Google want to pipe in and tell me how I can avoid
this situation?  I'm taking a lot of flack for it.  What could I have
possibly done in the implementation of my app that causes the market
to send people update notifications after they uninstall it?  What can
I change to avoid this?

Thank you.


3. Installing an app offline using usb

4. Download a file from a URL extremely slow, am I doing it right?

5. Applying round corners to image in a image view

6. Is Google Evil?

7. Learn how to develop android apps