01-04-2005, 01:45 PM
Knows Where the Search Button Is
Join Date: Dec 2004
Location: Columbus, NM, USA
Post Thanks: 0
Thanked 0 Times in 0 Posts
Actually, after taking some time to look at their example code, using a DataOutputStream layered over a ByteArrayOutputStream might be a better way to go, using writeFloat() rather than writeInt() as the example shows in addScore().
(added later)... sure enough, the docs for RecordStore show its addRecord() and getRecord() as dealing with byte arrays. Maybe you were using an older version of the documentation? You have to use the one in the 4.0 JDE, the one on their website is outdated. And the link inside the JDE is broken, so you have to use the one on the start menu Start -> Research in Motion -> Blackberry JDE 4.0 -> API Reference.
Have you googled yourself lately?