android - iframe "File not found" error -


i don't know html there small issue , unable find solution. iframe want display on static html page:

<!doctype html>     <html>     <body>     <iframe style="width:120px;height:240px; padding-right:50px; padding-bottom:50px" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?serviceversion=20070822&onejs=1&operation=getadhtml&marketplace=us&source=ac&ref=qf_sp_asin_til&ad_type=product_link&tracking_id=qstore51214-20&marketplace=amazon&region=us&placement=0553496670&asins=0553496670&linkid=4f9912a00b832e2f8bcb5a9b187511cf&show_border=true&link_opens_in_new_window=true&price_color=333333&title_color=0066c0&bg_color=ffffff">         </iframe>     </body> </html> 

when add html , try open html page, error: "file not found". when add iframe live html editor work , show link.

actually want display iframe in webview in andriod application.

my android code is:

mwebviewtopseller = (webview) findviewbyid(r.id.webviewtopseller); mwebviewtopseller.setwebchromeclient(new webchromeclient()); mwebviewtopseller.setwebviewclient(new webviewclient()); mwebviewtopseller.getsettings().setjavascriptenabled(true); mwebviewtopseller.loadurl("file:///android_asset/topseller.html"); 

please help. thanks!

when embedding iframe, returns error:

sec7111: https security compromised https://ws-na...

so may have browser's mixed-content/same-origin policy.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -