Hi,

I got this excerpt in the OmapZoom.org site, where they have explained how the 
media files on the SD card can be detected. Hope its useful!

----------------------------------------------------------------------------
SD media Support Option
Note: This only applies to releases L25.9 and lower

All media files (mp3, mp4, aac, etc...) should be loaded onto the boot 
partition of the SD card. The fix below allows Android to detect the media 
files that are located on the boot section of the SD. Without this fix Android 
will not be able to detect media files and will give an error "unable to find 
media content".

Edit the following file: mydroid/system/core/mountd/ AutoMount.c

--- a/system/core/mountd/ AutoMount.c
+++ b/system/core/mountd/ AutoMount.c

    if (mp->state != kMounted && mp->state != kMounting &&
           access(mp->device, R_OK) == 0) {

-        if (DoMountDevice(mp->device, mp->mountPoint) == 0 ||
-            MountPartition(mp->device, mp->mountPoint) == 0)
+        if (MountPartition(mp->device, mp->mountPoint) == 0)
            {
             SetState(mp, kMounted);
            }
----------------------------------------------------------------------------
Regards,
Priya

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of sany
Sent: Tuesday, October 06, 2009 5:25 PM
To: android-porting
Subject: [android-porting] Where to put the images?


I have created an application which is a Digital Photo frame.It takes
images from the SD card.It runs fine on the emulator.But where should
i put my images for the Android system which is ported on the beagle?
My apk file i put in /system/apps
Similarly i want to know in which folder location I need to put my
images!

Plz help!


http://www.mindtree.com/email/disclaimer.html

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to