Play Sound in ImagView using JavaScript

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Play Sound in ImagView using JavaScript

Postby shishir » Sun Jul 05, 2009 9:20 pm


I have a local index.html file which consist of some images,
javascript alerts and code to play sound.

When i called this index.html trough assets folder in ImageView then
all the things are working fine except sound.

Following is the brief code of javascript sound part

<h1>Test javascript code to play mp3 file on the web server</h1>
<div onclick="PlaySound('')" style="text-
decoration:underline;">Click here to play Sound</div>

<hr />

When i run this index.html through internet explore then it works fine
and i am able to hear the sound as well but how can i run this through
ImageView. Is there any way to run this through ChromeWebClient etc

Please reply urgent.
Posts: 2
Joined: Sun Jul 05, 2009 9:16 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests