title: android 2.2 open swf in browser
body: <p>I have a swf file on the sdcard and I wrote a html file flash.html with the swf file embeded. The only way to open it now is
  1) open the browser 
  2) type in file:///sdcard/flash.html
  The swf runs fine.</p>
  
  <p>But if use the code list below:</p>
  
  <pre><code>Uri uri = Uri.parse("file:///sdcard/flash.html");   
  Intent intent = new Intent(Intent.ACTION_VIEW, uri);   
  startActivity(intent);  
  </code></pre>
  
  <p>It shows the error: 
  The application has stopped unexpectly.</p>
  
  <p>I also tried the following code using WebView:</p>
  
  <pre><code>WebView browser = (WebView) findViewById(R.id.list_web);   
  browser.loadUrl("file:///sdcard/flash.html");                                
  </code></pre>
  
  <p>The Webview showed up, but the area should start the swf is empty.</p>
  
  <p>So is there a way to open the html through code, how can I do it?   </p>
  
  <p>I also think if there is a way to open the android browser using ACTION_VIEW by a simple html then reset the URL through code?</p>