title: Html Audio in Android Webview
body: <p>I am a beginner in HTML and Java and I am attempting to play audio files in a simple web app on the android through the Web view using HTML and Java. I have succeeded in getting this to work on Android 4.0. It however will not work on 2.3.3 or 2.2. I've done a lot of researching and so far all I have found is that it is not supported. Can anyone confirm or deny this and possibly point me in the right direction? Here is what I have working on 4.0 but nothing else. </p>
  
  <pre class="lang-java prettyprint-override"><code>WebView engine = (WebView) findViewById(R.id.web_engine);
  
  String audioTest =  "&lt; html &gt;" + &lt;br/&gt;
                  "&lt; body &gt;" + &lt;br/&gt;
                  "&lt; audio id='egSound' preload='auto'  autoplay ='autoplay'&gt;" + &lt;br/&gt;
                  "&lt; source src=' www.egSoundUrl.com '&gt;" +                    
                  "&lt; /audio&gt;" + &lt;br/&gt;
                  "&lt; /body&gt;"  +  
                  "&lt; /html&gt;";
  
  engine.loadData(audioTest, "text/html", null);
  </code></pre>
  
  <p>How can I get the same code to work for 2.3.3? In my research I came across someone who was able to play the audio file using the video tag, but I was unable to get that working. Any shared knowledge will be greatly appreciated.</p>