(keitai-l) Re: Onboard memory question

From: Jim Munro <jmunro_at_teralogic-inc.com>
Date: 10/10/01
Message-ID: <93CBF9C89A88D31196000008C7EBB287DC0027@tlexmail.teralogic-inc.com>
Apart from the fixed space for the applet and the scratchpad, how much
memory is available for data structures, variables, etc...?

Thanks,

-jim munro

-----Original Message-----
From: Zev Blut [mailto:zev@atc.yamatake.co.jp]
Sent: Monday, October 08, 2001 11:47 PM
To: keitai-l@appelsiini.net
Subject: (keitai-l) Re: Onboard memory question


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/ ]

[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Wed Oct 10 02:33:29 2001