10-26-2012 07:21 AM - edited 10-26-2012 07:41 AM
I need to show local html file which is included in my project.
BrowserSession session = Browser.getDefaultSession();
I am able to open local html file in OS 5.0, but its not working in BB OS 6.0 and 7.0.
In OS 6.0 and 7.0 address bar of native browser, automatically http:// is added before "cod://MyProjectCodeFileName/HTMLFileName.html" and cod// is there instead of cod:// and final url is like this-
A prompt is being shown that "Unable to find the requested server". Is it the OS issue or something else?
I tried in Os 5.0 browser and in this "cod://MyProjectCodeFileName/HTMLFileName.html" is opened.
Can anyone please look into this and help.
Thank in advance.