Skip to content
This repository

A simple Wordpress blog administration client written in Java ME. It demonstrates the use of the qwerty keyboard and a wide screen in text heavy applications.

branch: master
Octocat-spinner-32 .settings Initial commit November 26, 2013
Octocat-spinner-32 dist Initial commit November 26, 2013
Octocat-spinner-32 doc Added wiki images November 26, 2013
Octocat-spinner-32 nbproject Initial commit November 26, 2013
Octocat-spinner-32 res Initial commit November 26, 2013
Octocat-spinner-32 src Initial commit November 26, 2013
Octocat-spinner-32 .classpath Initial commit November 26, 2013
Octocat-spinner-32 .mtj Initial commit November 26, 2013
Octocat-spinner-32 .project Initial commit November 26, 2013
Octocat-spinner-32 Application Descriptor Initial commit November 26, 2013
Octocat-spinner-32 Licence.txt Initial commit November 26, 2013
Octocat-spinner-32 README.md Updated README.md November 26, 2013
Octocat-spinner-32 build.properties Initial commit November 26, 2013
README.md

WordPress

This Java ME application demonstrates the use of the QWERTY keyboard and the widescreen resolution of the Nokia C3 device. The application is a WordPress blogging client. In this kind of an application, reading and entering text is important.

The application has a custom UI to optimise screen usage. It uses the canvas based text editor API for text input. The application also contains XML-RPC networking for communicating with WordPress servers.

1. Prerequisites

Java ME basics

2. Important files and classes

  • src..\WordpressMidlet.java
  • src..\view\ViewMaster.java
  • src..\view\BaseView.java
  • src..\view\LoginView.java
  • src..\components\DataModel.java
  • src..\networking\GetRecentPostsOperation.java

3. Design considerations

This application's objective is to demonstrate the usefulness of the QWERTY keyboard.

The custom UI is based on the GameCanvas. This allows optimal screen usage and some animation effects which are not possible using the standard UI classes. The drawback of implementing a custom UI is the complexity compared to the implementation of a standard UI.

The login credentials are saved and reused the next time the application is started.

The application has been initially designed for QVGA landscape (320x240) display but it can also be run on devices with a QVGA portrait display.

4. Known issues

Only a small set of blogging and administration functionalities is supported. WordPress allows some HTML-style formatting in the text content, but the formatting is not displayed correctly in the application.

5. Build and installation instructions

The example has been made with NetBeans 6.7.1 and the Series 40 6th Edition SDK FP1. The project can be opened in NetBeans by selecting Open Project from the File menu and selecting the application directory.

Before opening the project, make sure that the Series 40 6th Edition SDK is installed and added to NetBeans. Building is done by selecting Build main project.

Installing the application on a device can be done by transfering the JAR file via Nokia Ovi Suite or via Bluetooth.

6. Running the Example

When the application is run, the user is presented with the login view. After a succesful login, blogs, posts, and comments are loaded, and the posts view is opened. Switching between the posts and comments is done with the left and right keys.

Each view has some functionalities in the options menu and in the soft keys.

In the posts view, the user can:

  • view the blog posts
  • write a new post
  • see comments related to a post
  • write a new comment to a post
  • delete a comment from a post

In the comments view, the user can:

  • view the comments related to all posts, newest ones are displayed first
  • view a single comment
  • delete a comment

7. Compatibility

Series 40 6th Edition FP1

Tested on: Nokia C3

Developed with: Netbeans 6.7.1 Series 40 6th edition SDK FP1

8. Version history

  • 1.0 First Release
  • 1.1 Uses com.nokia.mid.ui.TextEditor for text input

9. Related Documentation

  • Package javax.microedition.lcdui in the Java Developer's Library
  • Text Editor
Something went wrong with that request. Please try again.