Loading Image from external sd card

All your problems with Audio, Video and Images.

Loading Image from external sd card

Postby jayesh.thadani » Wed Feb 04, 2009 3:51 pm

Hi all..

I want to load an image from external sdcard, in emulator i have created it by mksdcard tool and also pushed few images into it.

Now in further step i want to load/view that images from sdcard into my application.

Can any one help me out ?

Thanks,
Jayesh
jayesh.thadani
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Jan 13, 2009 2:50 pm
Location: India

Top

Postby MrSnowflake » Wed Feb 04, 2009 7:08 pm

It works the same as with files, just use the correct uri on /sdcard/...
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby jayesh.thadani » Thu Feb 05, 2009 6:29 am

Hello SnowFlake,

I have detected sdcard injected into emulator with android.os.Environment.getExternalStorageDirectory() method, and also can get names of all image files present there, but couldnt fetch that image files into my application..

Can u just send me some code for that, it would be really helpful for me

Thanks,
Jayesh
jayesh.thadani
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Jan 13, 2009 2:50 pm
Location: India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 13 guests