If the same HTML works with an http:// URL, then perhaps the Flash Player plugin cannot handle local files.
On Thu, Mar 29, 2012 at 10:28 AM, bob <[email protected]> wrote: > I attempted to do some Flash on an Android device like so: > > String html = "<html>\n<head>\n<style>\n" + > "body {margin: 0px;}\n</style>\n" + > "</head>\n<body>\n" + > "<object width="+width+" height="+height+ > " data='file:///mnt/sdcard/test.swf'>\n" + > "<param name=scale value=exactfit>\n</object>\n</body>\n</html>"; > > wv.loadDataWithBaseURL("file:///mnt/sdcard/", html, "text/html", > "UTF-8", "about:blank"); > > > It didn't work, and this is what the failure looked like: > > http://s17.postimage.org/hamd9b0sf/flash_fail.png > > The device definitely has Flash Player installed, so I don't know what went > wrong. Any ideas? > > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

