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