I have made a nokia wrt widget, which connects to the server at startup.
The app works on most of the devices, but not on E63 and E71.
At start-up i call sendRequest() method which has http connection like below:
loginReq = new XMLHttpRequest();
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
}
catch (e) {
alert('exception: ' + e); // i get exception here... }
loginReq.onreadystatechange = function(){
if (loginReq.readyState == 4) {
if (loginReq.status == 200) {
loginResponseString = loginReq.responseText;
}
}
}
The exception is: ReferenceError - Can't find variable: netscape.
Please help.
Regards, Namit.