I am running Eclipse pulsar with S60 SDK (Emulator) on win7 machine.
I tried using LWUIT library components i.e HtmlComponent , BrowserComponent. In BrowserComponent: as i found from sources that it works only if NativeBrowserisSupported() but it returns false and when try to instantiate fire an error.
In HtmlComponent: as i worked with it i found it doesn't load css from external sources it fires an error i posted that question Link no proper answers.
i aslo tried by using following approach with HtmlComponent
HTMLComponent htmlComp = new HTMLComponent();
htmlComp.setPreferredH(450);
htmlComp.setPreferredW(150);
htmlComp.setBodyText(" <body background='/images/profile_image.png'> Hi how r you..? <div background='/images/profile_image.png'> Hey i'm fine..!</div> </body>");
the image is in my projects images folder.but not displaying background image, from doc that it supports background img it's wrong.
I also tried this i.e. supplying DocumentRequestHnadler() interface implementation and then supply the original htmlcard string which contains link to external css, but gives error, code for DocumentRequestHandler() implementation provided in this question Link no proper answers.
I also chage my htmlCard string and give all it's css inline and in another case make it internal css but still not showing anything. Related css just download images because of DocumentRequestHandler() implementation.
Also tried using SWT Browser but it's not taking background images which are supplied in html code take a look,
Browser browser = new Browser(shell, SWT.NONE);
browser.setBounds(50, 50, 300, 400);
browser.setVisible(true);
browser.setText("<html><head></head><body background='/images/profile_image.png'> <div background='/images/profile_image.png'>Hi i'm jayesh..!</div></body></html>");
Is any buddy done this before please help..