Difference between EXTERNAL_CONTENT_URI and INTERNAL_CONTENT_URI?

by kingkung » Fri, 27 Jun 2008 05:42:37 GMT


Sponsored Links
 Trying to store an image to the Image content provider.  Which of the
above should I use to insert an image?  Also, I heard people had
problems with the image content provider... is it (still) broken/non-
functional?

                ContentValues imageValues = new ContentValues();
                imageValues.put(Images.ImageColumns.TITLE, "A Large, Brown
Armadillo");
                Uri uri = _resolver.insert(Images.Media.EXTERNAL_CONTENT_URI,
imageValues);
                OutputStream outStream = _resolver.openOutputStream(uri);
                bitmap.compress(Bitmap.CompressFormat.JPEG, 50, outStream);
                outStream.close();

Thanks,

James



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Get application ID of my app on the market

Hi:

I hope to figure out the direct URL link to my application on the
market like http://market:blahblah

I was able to find the application ID previously by going to the UI
interface to upload application, and looking at the URL link that can
edit the app.

However, this method doesn't seem to work any more because the now the
edit URL link contains only the package name and not the app ID.

Any idea how to get the application ID?

Wah
--~--~---------~--~----~------------~-------~--~----~

2. Is there a standard list of android icons for our apps?

Download the Android source code and search for *.png. You will find tons of
images.





--~--~---------~--~----~------------~-------~--~----~

3. what is the file framework/opt/com.google.android/Framework.jar

4. Google checkout / Android Developer processing fee questions

5. Stuck with getting package name

6. Building apps for Java supported mobiles

7. Download of Android Eclipse plugin: 404 Not Found