×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2012
    Location
    India
    Posts
    103

    How to Run LWUIT RssReader Example App in j2me

    Hi
    i found one example App for creating Rss Reader using lwuit,the example app url is

    "https://projects.developer.nokia.com/LWUIT_for_Series_40/browser/IO/src/com/sun/lwuit/io/ui/RSSReader.java"

    i have gone through the code ,but in this Example there is no Midlet creation and somme of the classess below classes are not found in lwuit jar file

    import com.sun.lwuit.io.NetworkEvent;
    import com.sun.lwuit.io.NetworkManager;
    importcom.sun.lwuit.io.services.RSSService;
    import com.sun.lwuit.layouts.BoxLayout;
    import com.sun.lwuit.list.DefaultListModel;
    Can any one guide me to execute this example app successfully on my device?

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: How to Run LWUIT RssReader Example App in j2me

    Hi pavanragi.

    This is not a MIDlet example. This is the code for the standard LWUIT class that provides methods to interact with an RSS channel. You would need to create your own MIDlet that make use of these methods. Please find a more detailed description of the class here:
    http://lwuit.java.net/nonav/iodocs/c...RSSReader.html

  3. #3
    Nokia Developer Expert
    Join Date
    May 2012
    Posts
    224

    Re: How to Run LWUIT RssReader Example App in j2me

    Hi pavanragi,

    To compile LWUIT RSS reader APIs in your application, include IO-MIDP.jar in the project.

    com.sun.lwuit.io.NetworkEvent;
    com.sun.lwuit.io.NetworkManager;
    com.sun.lwuit.io.services.RSSService;
    Above classes should be in IO-MIDP.jar

    and
    com.sun.lwuit.layouts.BoxLayout;
    com.sun.lwuit.list.DefaultListModel;
    Above two classes can be found in S40-with-themes.jar/S40-no.themes.jar

    You can find LWUIT rss reader example application (download Tantalum2_source_examples_and_javadoc.zip) here https://projects.developer.nokia.com/Tantalum/files
    After downloading, see RSSReader.java in folder structure Tantalum\src\com\futurice\lwuitrssreader

  4. #4
    Registered User
    Join Date
    Jul 2012
    Location
    India
    Posts
    103

    Re: How to Run LWUIT RssReader Example App in j2me

    Hi Bandarap,
    Thanks for reply


    Quote Originally Posted by bandarap View Post
    Hi pavanragi,

    To compile LWUIT RSS reader APIs in your application, include IO-MIDP.jar in the project.


    Above classes should be in IO-MIDP.jar

    and

    Above two classes can be found in S40-with-themes.jar/S40-no.themes.jar

    You can find LWUIT rss reader example application (download Tantalum2_source_examples_and_javadoc.zip) here https://projects.developer.nokia.com/Tantalum/files
    After downloading, see RSSReader.java in folder structure Tantalum\src\com\futurice\lwuitrssreader

Similar Threads

  1. lwuit in j2me
    By babu7575 in forum Mobile Java General
    Replies: 2
    Last Post: 2011-03-02, 09:44
  2. J2ME Polish or LWUIT or what for commercial J2ME software?
    By SebastianM in forum Mobile Java General
    Replies: 10
    Last Post: 2010-08-18, 13:04
  3. Replies: 5
    Last Post: 2005-09-20, 13:50
  4. Replies: 2
    Last Post: 2005-02-25, 02:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •