(keitai-l) Re: Onboard memory question

From: Zev Blut <zev_at_atc.yamatake.co.jp>
Date: 10/09/01
Message-ID: <00c101c1508e$291d9ff0$da1414ac@taishakurhq>
Hello,

----- Original Message -----
From: "Sam Joseph" <gaijin@yha.att.ne.jp>
To: <keitai-l@appelsiini.net>
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
other
> applet can write data to it?  I'm presuming that the scratchpad area is
not
> erased inbetween running different applets, if this area is supposed to be
used
> to store highscores, user names etc.
>
> So does each applet get a permanent 10Kb to use as a scratchpad, or do all
the
> applets have to share the same 10Kb?

Each i-appli gets up to 10kb (you have to specify how much in the jam file)
of storage
to use.  i-applis cannot share the information in the Scratchpad, so data
stored by
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
on it
> 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
you programmatically
delete it or if the user deletes you application ( then the storage bound
with the application is deleted too)

I hope that helps,
Zev


[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Oct 9 09:30:06 2001