Does someone find any solution to this?
Thanks,
Fernando Moreno Ruiz.
Does someone find any solution to this?
Thanks,
Fernando Moreno Ruiz.
I had a similar problem in my Instagram client for S40 (under development). I would like to share my story while I can not share any code at this moment.
First I tried LWUIT, with its better browser. However, the page was not rendered properly and I had a high memory utilization.
I tried the S40 browser as well and its hooks for HTTP, ignoring css files. Again, it was not rendering as expected.
Thus I decided to sniffer the https connection from my phone using fiddle (http://www.fiddler2.com/fiddler2/) and I understood all steps necessary.
Instead presenting a page for the users, I just collected its username and password and I used this information in several crafted HTTPConnection frames.
Now I can successfully authenticate with very low memory usage and without additional components.
Marcelo Barros
Hi kahonmlg,
Currently, the Facebook mobile site can be embedded in the LWUIT application. The application developer need to use the LWUIT browser code available here: https://projects.developer.nokia.com.../lwuit/browser
I tested with the following code and works fine.
the advantage of using this instead of platform browser is that the application developer will have control over the browser.HttpRequestHandler handler = new HttpRequestHandler();
HTMLComponent htmlC = new HTMLComponent(handler);
htmlC.setPage("http://m.facebook.com");
form.addComponent(htmlC);
if the application developer wants to use OAuth2, currently it’s not possible and its a future task for LWUIT.
Sources now available at https://github.com/marcelobarrosalmeida/instantme
Marcelo