Resolving the filesystem of emulator returns ‘Location not found’

Resolving the filesystem of emulator returns ‘Location not found’

BY 25 Mar 2013 Web Application Development

I’m trying to play some music which is present in the filesystem of the emulator(/opt/media/opt/media/Sounds/file.mp3). But when I try to get a handle for the directory using the resolve method, it returns an error and prints the message as ‘Location not found’. When I give the same location to the src attribute of an audio element in HTML5, it plays the music. Is the file system not accessible through the device API ? Please suggest a way to access the filesystem, if it is possible to do so.

Written by