Monday, February 21, 2011

Put A Face On It

majimob, long known for its music related apps as well as some other LWUIT based endeavors has just released a facebook application written entirely in LWUIT and using LWUIT4IO. The application was written in the new LWUIT GUI builder in record time and features direct access to the facebook API.
The application supports both touch and feature phone interaction, it was designed to work on all mobile phones including blackberries and Android devices (although since Android has a pretty good facebook app there are no current plans for such a version).

10 comments:

  1. I downloaded the app on my E-72 phone, but I could not login, it always pop up dialog "check your connection.".

    I wonder who can run it successfully.

    ReplyDelete
  2. Hi,shai.
    I have some question,but cant get help from the forum at java.net.

    here's my problem.

    I am working on a list which has 50 elements at the fisrt time.
    When the list has scrolled to the last it will get another 50 elements from server and display some loading effect.
    Now the list has 100 elements.
    Is there any event can determine whether the list has scrolled to the last.
    thanks a lot.
    ---------------------------
    vprise replys as follow:

    Use the selection listener and check the location you reached.

    I can get the index.
    But I dont know how to listen the position change of the index.

    I'm appreciate for your help.

    ReplyDelete
  3. @Steve: this works for me, there are some issues with the facebook ssl certificate on some phones though.

    @Jin: I don't understand the problem. You should probably follow up with a concrete question/pseudo code in the forum.

    ReplyDelete
  4. thanks for shai's reply.

    for example .
    I will use the list in lwuit demo which has name and email.
    The file may be ScrollDemo.java.
    Now I will run this demo on a touch device such as Nokia C7-00.
    What I want is that when the list scroll to the last it will automaticly add a new list to its behind with some loading effect.

    for example:

    Nir V. Nir.Vazana@Sun.COM
    Tidhar G. Tidhar.Gilor@Sun.COM
    Iddo A. Iddo.Arie@Sun.COM
    Ari S. Ari.Shapiro@Sun.COM
    ....
    Eran K. Eran.Katz@Sun.COM
    <--------------------------
    event = list scroll to the last
    Animation = loading............
    Now you can continue scroll the list.
    -------------------------->
    Nir V. Nir.Vazana@Sun.COM
    Tidhar G. Tidhar.Gilor@Sun.COM
    Iddo A. Iddo.Arie@Sun.COM
    Ari S. Ari.Shapiro@Sun.COM
    ....
    Eran K. Eran.Katz@Sun.COM

    I only want know how I can judge the list has scroll to the last.

    By the way ,my nokia c700 also could not login the app and the error is the same with Zhang.

    ReplyDelete
  5. Use a model to do that, you can see one approach for doing this in the makeover demo.
    When getItemAt() is called for the last element that means you reached the bottom and you can display whatever you want. You can show a dialog a button or use the list cell renderer to indicate progress.

    ReplyDelete
  6. I downloaded the make-over demo and it really help me alot.

    That's great!

    Thank you ,Shai.

    ReplyDelete
  7. Hi, Shai,
    Could you tell me on what device are you running the app, I tested on Nokia E72 and 5800, neither works.

    ReplyDelete
  8. I'm guessing you bought the devices from an operator. They are notorious for screwing around with certificates on the device.
    Facebook has a newer certificate which isn't available on many J2ME devices which is the main reason for these issues.

    ReplyDelete
  9. http://www.java.net/forum/topic/mobile-embedded/lwuit/how-stop-list-scroll-animate-make-over-demo

    ReplyDelete
  10. I am flyinse who posted it......

    Will Shai give me some advice in that thread?

    Your help will be very grateful.

    ReplyDelete