----- Original Message -----
From: "Sam Joseph" <gaijin_at_yha.att.ne.jp>
Sent: Tuesday, October 09, 2001 3:13 PM
Subject: (keitai-l) Re: Onboard memory question
> Aha. So this scratchpad then, if my applet writes 10kb of data to it, no
> applet can write data to it? I'm presuming that the scratchpad area is
> erased inbetween running different applets, if this area is supposed to be
> to store highscores, user names etc.
> So does each applet get a permanent 10Kb to use as a scratchpad, or do all
> applets have to share the same 10Kb?
Each i-appli gets up to 10kb (you have to specify how much in the jam file)
to use. i-applis cannot share the information in the Scratchpad, so data
an i-appli is only accessible by that i-appli. Midlets (programs that use
Sun's MIDP profile)
if they are in the same Midlet suite can share storage, remember NTT
DoCoMo's i-appli is not a Midlet.
> And how stable is the scratchpad? If I write something there, can I rely
> being there when the user restarts the same applet a month later?
Well stability wise, they are pretty stable. Granted I have not left a
phone without power for a month, nor have I violently dropped my phone on
the ground or stuck it into a power plug.
For normal usage and situations you can consider the data permanent until
delete it or if the user deletes you application ( then the storage bound
with the application is deleted too)
I hope that helps,
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Oct 9 09:30:06 2001