10-29-2012 02:15 AM
Hi all,
I have some html content and i want to show in my application along with other ui components. I'm using below code for that but it is not working.
BrowserField myBrowserField;
myBrowserField = new BrowserField();
scrollContainer.add(myBrowserField);
String content ="<html><head></head><body>"+storyParser.storyData
myBrowserField.displayContent(content,"http://loca
add(scrollContainer);
Solved! Go to Solution.
10-29-2012 02:28 AM
10-29-2012 03:36 AM
I'm able to resolve this. But i have another issue now, app not able to focus on other ui component after reaching browserfield. This happens in 5.0 devices, its working perfectly in 6.0 and 7.0 devices.
10-29-2012 03:36 AM
Hi @SumiGhosh
Try calling displayContent Before adding the browserField to the manger.
Hope that helps,
E.
10-29-2012 03:40 AM
It's a navigation mode limitation.
You can try and override the navigation mode and handle it yourself (check the BrowserFieldConfig API).
From personal experience, avoid adding additional UI objects to the screen when using browserField. BrowserField which does not cover the whole screen does not behaves as expected...
E.
10-29-2012 05:00 AM