Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Registered User kahonmlg's Avatar
    Join Date
    Nov 2012
    Posts
    2
    Does someone find any solution to this?

    Thanks,
    Fernando Moreno Ruiz.

  2. #17
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    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

  3. #18
    Nokia Developer Expert bandarap's Avatar
    Join Date
    May 2012
    Posts
    222
    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.

    HttpRequestHandler handler = new HttpRequestHandler();
    HTMLComponent htmlC = new HTMLComponent(handler);
    htmlC.setPage("http://m.facebook.com");
    form.addComponent(htmlC);
    the advantage of using this instead of platform browser is that the application developer will have control over the browser.

    if the application developer wants to use OAuth2, currently it’s not possible and its a future task for LWUIT.

  4. #19
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by marcelobarrosalmeida View Post
    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.
    Sources now available at https://github.com/marcelobarrosalmeida/instantme

    Marcelo

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 2011-08-25, 05:35
  2. Facebook, Twitter or Barcode API Support in Qt for Symbian/Maemo ?
    By narendar_discover in forum [Archived] Beginning Qt
    Replies: 14
    Last Post: 2011-05-16, 16:45
  3. Do we have Matisse Support for LWUIT??
    By rajan701v in forum Mobile Java General
    Replies: 2
    Last Post: 2011-03-09, 08:10
  4. LWUIT project not support Sony ericsson P990i
    By arvind kumar yadav in forum Mobile Java General
    Replies: 2
    Last Post: 2010-10-09, 11:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved