Skip to content
This repository

FrameAnimator is a simple application that shows a list that can be scrolled up and down. It uses the FrameAnimator and Gesture APIs available on Series 40 and Asha software platform.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .settings
Octocat-spinner-32 dist
Octocat-spinner-32 nbproject
Octocat-spinner-32 res
Octocat-spinner-32 src
Octocat-spinner-32 .classpath
Octocat-spinner-32 .mtj
Octocat-spinner-32 .project
Octocat-spinner-32 Application Descriptor
Octocat-spinner-32 LICENCE.TXT
Octocat-spinner-32 README.md
Octocat-spinner-32 build.properties
Octocat-spinner-32 build.xml
README.md

FrameAnimator

This simple Java ME application demonstrates the usage of the FrameAnimator class together with the Gesture API introduced in the Series 40 6th Edition, Feature Pack 1. The example has a list that can be scrolled up and down by swiping or dragging up or down.

This example demonstrates:

  • Implementing a custom canvas list
  • Using the of FrameAnimator API
  • Using the Gesture API

The application is hosted in GitHub: https://github.com/nokia-developer/frameanimator-demo

For more information on the implementation, visit Java Developer's Library: http://developer.nokia.com/Resources/Library/Java/#!code-examples/touch-ui-frameanimatordemo.html

1. Project structure and implementation

As a prerequisite, basic Java ME knowledge is required.

1.1 Important files and classes

  • src\..\ScrollableView.java

1.2 Used J2ME classes

FrameAnimator, FrameAnimatorListener, GestureEvent.

2. Compatibility

Series 40 6th Edition FP1 device or newer

Tested on:

  • Nokia Asha 305 (Java Runtime 2.0.0 for Series 40)
  • Nokia Asha 311 (Java Runtime 2.0.0 for Series 40)
  • Nokia X3-02 (Series 40 6th Edition FP1)

Developed with:

  • NetBeans 6.9.1
  • Nokia SDK 2.0 for Java
  • KNOWN ISSUES

No known issues.

3. Building, installing, and running the application

The project is created with NetBeans IDE and S40 6th Edition, FP1 SDK. You can easily open the project by doing a mercurial clone of the project and opening it in Netbeans IDE by selecting File -> Open project.

3.1 Running the application

The application has a view with a list that can be scrolled up or down by dragging or swiping on the screen. The application can be closed by pressing the call termination key.

4.1 Version history

  • 1.1 Code cleanup and new icon, tested with Series 40 full touch devices.
  • 1.0 First release
Something went wrong with that request. Please try again.