×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Registered User
    Join Date
    Nov 2012
    Posts
    2

    Re: LWUIT 1.5 support Facebook Aunthentication

    Does someone find any solution to this?

    Thanks,
    Fernando Moreno Ruiz.

  2. #17
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: LWUIT 1.5 support Facebook Aunthentication

    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
    Join Date
    May 2012
    Location
    Espoo
    Posts
    224

    Re: LWUIT 1.5 support Facebook Aunthentication

    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
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: LWUIT 1.5 support Facebook Aunthentication

    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

  5. #20
    Registered User
    Join Date
    Nov 2013
    Posts
    1

    Re: LWUIT 1.5 support Facebook Aunthentication

    Hi,
    I am having a very weird problem with Facebook connect, everything works fine except when I load the form for Facebook connect the text field is limited to 12 characters. The Facebook login page won't allow me to enter more than 12 characters in the login text field. Any quick help would be awesome. Have been stuck on it for weeks now.

Similar Threads

  1. 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
  2. Do we have Matisse Support for LWUIT??
    By rajan701v in forum Mobile Java General
    Replies: 2
    Last Post: 2011-03-09, 08:10
  3. 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
  •  
×