How can i play swf-files (flash) in my program? Webview?

by Xtreme » Fri, 10 Sep 2010 00:24:25 GMT


Sponsored Links
 How can I play swf-files (flash) in my program? I have tried webview
(that is working) with this html-code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml" ;>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Flash</title>
</head>

<body>
<object width="550" height="400">
<param name="movie" value="flashfile.swf">
<embed src="flashfile.swf" width="550" height="400">
</embed>
</object>

</body>
</html>


But I just get cryptic character in the emulator with this html code
in webview. What is wrong? What can I do/try? Some code would be
nice ;)

Thanks

--



Other Threads

1. Target Java module does not define any source or resource files.

Hello everyone,

I am building SDK under windows, as instructed, I run the script at ./
development/build/tools/make_windows_sdk.sh.

This gives me much troubles, each time I built, the error message
showed up
"Target Java module does not define any source or resource files.".
Does anyone have an idea why this is happening and how to eliminate
it?

Thanks
Jimmy

-- 

2. brand new to Android

Just brand new to android, have strong knowledge of Java,XML,MySQL.
Where do I need to start from, any books or materials to read first?

-- 

3. Orientation and Webview

4. Phone Unlocked Notification

5. Top 10 iPhone apps

6. Building Android for Nexus One

7. appWidgetId not valid