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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment