[android-developers] Flash issue

2012-03-29 Thread bob
I attempted to do some Flash on an Android device like so:

String html = html\nhead\nstyle\n +
body {margin: 0px;}\n/style\n +
/head\nbody\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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Flash issue

2012-03-29 Thread Mark Murphy
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 b...@coolfone.comze.com wrote:
 I attempted to do some Flash on an Android device like so:

 String html = html\nhead\nstyle\n +
     body {margin: 0px;}\n/style\n +
     /head\nbody\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+unsubscr...@googlegroups.com
 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en