[android-developers] MediaStore messing with images?

2012-07-11 Thread Latimerius
I've got a PNG image stored in a file on the SD card that I want to make available through MediaStore. I tried to use MediaStore.Images.Media.insertImage() for that. While it basically seems to work, the image appears renamed and transcoded to JPEG in MediaStore. I don't know what I did to

[android-developers] MediaStore

2011-06-29 Thread Yang Zhang
What exactly is the MediaStore? How do users interact with the MediaStore? It's woefully under-documented. My most nagging question at the moment is: what are its playlists and how are they used? Do these correspond to playlists in the Music app? Some background: I have a simple TTS app that

[android-developers] MediaStore insertImage quality

2011-02-03 Thread Koji Ohno
Hi I have been trying to save some image to a camera directory. code like: MediaStore.Images.Media.insertImage(mContext.getContentResolver(), someJpegFilePath, SomeImage,SomeImage); An image saved successfully but quality of saved jpeg file is very low. How can I save an image with original

[android-developers] MediaStore -- how to add a video

2010-02-10 Thread ber4444
Anything like MediaStore.Images.Media.insertImage() for videos? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] mediastore thumbnails

2009-12-10 Thread vorcigernix
Hello, I want to display gallery of videos with thumbnails in my app. Is this what MediaStore.Video.Thumbnails.getThumbnail() do? I didn't found way to use it. Other properties of video files are easily accessible (MediaStore.Video.Media.DISPLAY_NAME for example), but there is probably different

[android-developers] MediaStore returning loop of images and not entire directory

2009-11-22 Thread JasonMP
Hello, I'm testing some code from a demo found in a forum and I'm getting some strange results. My goal is to be able to allow users to access the pictures on their device to choose an avatar/logo. This code run flawlessly except that I only get a handful of images on the phone. And its not

[android-developers] Mediastore Thumbnails not generated until Gallery app is launched ?

2009-09-29 Thread Nivek
Is that normal that Images indexed in the MediaStore do not have thumbnails generated until the Gallery app is launched and the user actively navigates to the bucket where the image is stored ? I think it's quite odd as I thought thulbnails generation was part of media indexing.

[android-developers] Mediastore thumbnail refresh

2009-09-09 Thread Christine
I use the image_capture intent to take a picture. But when I subsequently access the gallery from within my app, the picture doesn't show up. Apparently the thumbnails aren't refreshed in the mean time? How can I force a refresh of the gallery thumbnails? I couldn't find a method to do so -

[android-developers] Mediastore get image from thumbnails

2009-03-16 Thread vir
Hello people, I am having a problem regarding mediastore.media.Images. I am trying to populate a gallery with thumbnails from y sdcard, this works fine, now i want to get the real image in an imageview onclick event. Here is my code , private View loadGallery() { // thumbnails