<embed> in HTML loaded by Webview Broken in Sense UI?

by Justin Grammens » Wed, 26 May 2010 23:10:54 GMT


Sponsored Links
 I have a WebView that loads HTML that contains an <embed>. When
loading in stock android (G1, NexusOne, Ion, etc) it looks fine and
can be clicked on to watch it in the YouTube app. But when loading it
using either the HTC EVO or Incredible (both Sense UI phones) the
space where the content should be is completely blank.

Try this code below... Any ideas? I'm stumped. Certainly looks like an
HTC Sense bug?

WebView wv = (WebView) findViewById(R.id.wv1);
wv.getSettings().setJavaScriptEnabled(true);
wv.getSettings().setBuiltInZoomControls(true);
wv.getSettings().setPluginsEnabled(true);
wv.loadData("
<html>
<body>
    Here is the test embed:
    <embed src=\" http://www.youtube.com/v/-ptYTGTNiyQ \"
        type=\"application/x-shockwave-flash\" width=\"280\"
        height=\"170\"></embed>
</body>
</html>",
"text/html", "UTF-8");

In my testing, this will run fine on all Android versions, without
SenseUI, but it shows blank for what looks like any SenseUI phone, so
the user can't click on it.

--



Other Threads

1. Takes too long to build libwebcore.so.

If I just change one line in WebView.cpp and do a

   mmm external/webkit

It takes almost 3 minutes on a fast quad-core Xeon. Most of the time
is spent linking libwebcore.so

Is there a way to speed up the linking process. This is just for
development so I am willing to give up optimization.

Thanks

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Introducing AppsMarketing.mobi

Hey there

Oren here, Co-Founder of http://www.appsmarketing.mobi and fresh in
the group!
I wanted to quickly introduce myself and our service to you all. Hope
that's cool? :)

We specialize in managing Mobile App Marketing campaigns and helping
up-and-coming mobile app developers as well as established brands
promote their apps within the social media landscape. We work directly
with industry leading bloggers in order to increase awareness and
branding for our clients.

There are 3 main areas which we specialize in.

Consulting: From the concept to usability phase through
implementation.

Optimization: Both through the App store descriptions and reviews and
on your website to increase visibility via user searches.

Promotional: by working with a network of targeted bloggers from
various industries "kids, tech, business, sports, etc.." in order to
promote your app to the web's most active audiences. We spark the
conversations that get people talking and sharing your app.

We'd love to get to know you and the apps you're working on and find
out how we can get involved!
Reach out to us. We're also on http://www.twitter.com/AppsMktg

-- 

3. how to integrate a mjpeg decoder into open core framework

4. Activities and ListActivities with button and lists

5. Is IPv6 over the wifi interface supported in the SDK?

6. Dex cache issue

7. RTSP cache/buffer