problem loading image on HTC Incredible

All your problems with Audio, Video and Images.

problem loading image on HTC Incredible

Postby tmschmal » Sun May 02, 2010 9:01 pm

Hi,

I got an app that loads an image from the SD card. I've been learning that on the HTC Incredible it's only showing a blank screen and not the image. I've looked at the log and no errors are given. Unfortunately I don't have an Incredible to test on. I suspect that the issue is related to how the Incredible has more internal storage. The devices still have SD cards installed, so I would expect that I could still use that. Here's what I'm doing:

Drawable image = Drawable.createFromPath(Environment.getExternalStorageDirectory() + "\\imagefile");
ImageView v.setImageDrawable(image);

The code works on every other device, so my best guess is that it has to do with the extra internal storage on the Incredible. Can anyone provide any insight as to how to access the sd card on the incredible, or how to access the internal storage?

Thanks
tmschmal
Freshman
Freshman
 
Posts: 4
Joined: Sun May 02, 2010 8:48 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 25 guests