Hi All,
I am developing a browser for my application.
I am retrieving data from my server in the form of html which contains
links for css and .js files.
But webView is not able to load these datas.

code snipet:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Service Management</title>
<link rel="stylesheet" type="text/css" href="../resources/css/ext-
all.css"/>
<link rel="stylesheet" type="text/css" href="../resources/css/xtheme-
gray.css"/>

<script type="text/javascript" >
var LAZY_LOADING=true;
</script>
<script type="text/javascript" src="../adapter/ext/ext-base.js"></
script>
<script type="text/javascript" src="../ext-all.js"></script>

<script type="text/javascript" src="radiogroup.js"></script>
<script type="text/javascript" src="servicemanagement.js"></script>
</head>
<body>
<div id='hiddendiv' style="visibility:hidden"/>
<div id='visiblediv' style="visibility:visible"/>
</body>
</html>



I have done :
mybrowser.getSettings().setJavaScriptEnabled(true);
and
mybrowser.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);

Do i need to enable anything else to load .css and .js files?



Thanks,
Avinash

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to