×

Discussion Board

Results 1 to 15 of 20

Hybrid View

  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    LWUIT 1.5 support Facebook Aunthentication

    Hello Friends,

    I'm going to make J2ME app ,. in this app i need to open web browser in midlet so can i make facebook authentication in LWUIT 1.5 .............?

    If yes then where i can find source code sample .of same...
    thanks & Regards.
    Nilesh

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: LWUIT 1.5 support Facebook Aunthentication

    Quote Originally Posted by nyerunkar View Post
    Hello Friends,

    I'm going to make J2ME app ,. in this app i need to open web browser in midlet so can i make facebook authentication in LWUIT 1.5 .............?

    If yes then where i can find source code sample .of same...
    You will require to use LWUIT 1.5 HTML Component, which supports most of the HTML 4 tags and then you manage facebook authentication within your midlet.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: LWUIT 1.5 support Facebook Aunthentication

    thnx for reply....
    i've source code but its giving error "No such class Def"

    u've any sample code for just show Browser in midlet ...
    plz give me those code which is working
    thanks & Regards.
    Nilesh

  4. #4
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: LWUIT 1.5 support Facebook Aunthentication

    Hey friends ,
    finally i'm succeed in J2ME & Facebook integrate
    if user Exist in my app so i'm able to take acccess token using LWUIT...

    Now problem with is ......,
    when i'm trying to authenticate my app with new user...using LWUIT
    ...on Allow button not working properly....so any one have solution for same........


    please help me..........
    thanks & Regards.
    Nilesh

  5. #5
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    Re: LWUIT 1.5 support Facebook Aunthentication

    [QUOTE=nyerunkar;858738]thnx for reply....
    Hi nyerunkar
    I am trying to integrate LWUIT 1.5 with facebook using LWUIT API but no success as yet. Could you please help me with some code for the same.
    Warm Regards,
    Rahul Aeran

  6. #6
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: LWUIT 1.5 support Facebook Aunthentication

    hey i'm getting access token successfully ..
    but user is new for my app then facebook permission doesn't working ...
    I think "Allow" button code is not properly render in LWUIT 1.5 .
    thanks & Regards.
    Nilesh

  7. #7
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    Re: LWUIT 1.5 support Facebook Aunthentication

    Quote Originally Posted by nyerunkar View Post
    hey i'm getting access token successfully ..
    but user is new for my app then facebook permission doesn't working ...
    I think "Allow" button code is not properly render in LWUIT 1.5 .
    Can you please help me with the code. When i am trying to run the code its not getting build. I have checked out the demo project from LWUIT svn. Help me with the code. My email address is rahul.aeran@queppelintech.com

  8. #8
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: LWUIT 1.5 support Facebook Aunthentication

    Hello nyerunkar,

    regarding
    .on Allow button not working properly....
    Could you specify more in detail why it is not working properly?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  9. #9
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: LWUIT 1.5 support Facebook Aunthentication

    i'm using LWUIT 1.5
    for facebook integration with J2ME ...1st time user need to give the permission for access his profile ....
    Using Facebook Authentication page ...we are showing permission to user which Data we want for our Application.
    On That page facebook Giving 2 buttons ..one is "Allow" & another "Don't Allow"

    Using Allow button user will give permission & using Don't allow user will denied permission ....

    My problem is ...' When i click on Allow or Don't Allow same request get send to Facebook which is contain access denied code....

    So i'm stuck here...
    plz help me if you have solve previous .........
    thanks & Regards.
    Nilesh

  10. #10
    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.

  11. #11
    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

  12. #12
    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

  13. #13
    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.

  14. #14
    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
  •  
×