How to use SharePreference to save a URI, or any Storage?
<pre><code>    URI imageUri = null;

            //Setting the Uri of aURL to imageUri.
            try {
            imageUri = aURL.toURI();


            } catch (URISyntaxException e1) {
            // TODO Auto-generated catch block
                e1.printStackTrace();
                        }
</code></pre>

<p>I am using this code to translate a URL to a URI. how could i save the imageUri to a SharePreference, or a memory where it wouldnt be deleted onDestroy()?</p>

<p>I dont want to do SQLite database because the URI will change when the URL's change.I dont want to use up memory for unused URI's</p>
