Another Palm MIDP Question

OK, I've compiled and run the stock db example from the article:

MIDP Database Programming using RMS: a Persistent Storage for MIDlets

This example creates a record on the device, and works fine on the generic phone simulator included with Forte for Java. However, when I run the same code on the Palm simulator I get:

Neb.lib interface error: 0x0000120C

when trying to save a stock record.

[437 byte] By [cdegrasse] at [2007-9-26 15:51:21]
# 1

[cdegrasse],

The error message is indicating that the network application failed. I am not sure how this is connected to the stock db example which is centered around the usage of the RMS persistent storage API.

The MIDP for Palm 1.0 - User Guide states that if a developer encounters this problem, probably the network connection preference of a 2Mb Palm device is not manually setup yet.

Tap on the 'Preferences' icon on the device's home screen.

Choose the 'Network' from the dropdown list of preferences.

HTH.

Allen Lai

Developer Technical Support

SUN Microsystems

http://www.sun.com/developers/support/

allenlai at 2007-7-2 18:56:18 > top of Java-index,Java Mobility Forums,Java ME Technologies...