Jerry Shiau

Greenhorn
+ Follow
since Feb 17, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jerry Shiau

It's very difficult to find information when running into trouble with the NTT Docomo api, and I thought writing to scratchpad should be as easy as using the recordStore in j2me. I did exactly as the manual says, but kept getting the same exception - ConnectionException, status=SCRATCHPAD_OVERSIZE (11). Did I miss something, like setting a default size for the scratchpad? Here is what my two lines of code looked like:
DataOutputStream outs = Connector.openDataOutputStream("scratchpad:///0");
outs.writeInt(myCount);
I also trying using OutputStream, with shifting myCount and & 0xff to write out each byte, got the same exception.
I'll appreciate any help or pointer.
Jerry
20 years ago