You can also create a mobile RSS reader using NetBeans 4.0 (1)

Source: Internet
Author: User

Do you know how to use NetBeans4.0 to create a j2-midp RSSReader application? Here we will share with you that by using RSSReader, you can use your mobile device to read RSS feedback information. This application is designed to work with MIDP1.0, so it can be compatible with some old devices.

Create an RSS reader for a mobile phone using NetBeans 4.0

If you are a newbie to RSS, tell you it represents ReallySimpleSyndication simple information aggregation ). RSS is a lightweight XML format-designed to share titles and other information such as blogs and news.

This article includes the following content:

◆ Use NetBeans4.0 to create a new mobile application project

◆ Configure your NetBeans4.0 project to allow the use of third-party libraries such as kXML2)

◆ Use obfuscators to reduce the size of jar files released using NetBeans4.0

◆ Use NetBeans4.0 to run mobile applications on the simulator

1. Design Applications

Download the source code that is attached to this Article. Five source code files are available:

◆ RssFeed. java, which is a code file of the RSS feedback class

◆ RssItem. java, which is the code file of the RSS feedback Item class

◆ RssFeedParser. java, which is a code file of the RSS feedback analyzer class

◆ Settings. java, which is the code file for setting tool classes

◆ RssReaderMIDlet. java, which is the code file of the MIDlet class

This article does not explain the functions of each class in depth. For specific implementation, you can refer to the corresponding source code.

Ii. Requirements

You must have NetBeans IDE4.0 and have installed NetBeansMobilityPack4.0 before you start the development of j2midp. For details about how to download and install the complete environment, see the J2MEMIDP development and download page. In addition, you need to download the kXML mobile class library. The latest version of this class library is 2.1.9. You can download the latest kXML release from here. Download the kxml2-min.jar to any folder on your computer.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.