Motorola C450 ユーザーズマニュアル
//process the IOException
}
Tips
It is much faster to read and write in big chunks than it is to do so in small chunks.
Whenever you close a
Whenever you close a
RecordStore
,
the close command will not return until all the
pending writes have been written. A successful call to close a
RecordStore
guarantees that the data got written. It is then safe to power off the phone; a side effect to
this is that the close command may take a while to return. Therefore, if a
this is that the close command may take a while to return. Therefore, if a
RecordStore
is opened and closed for every write performance will be greatly affected.
Caveats
The maximum number of
RecordStores
that the Motorola C370, C450, and C550
series of handsets supports depends on the number of files installed. Once the phone has
500 RecordStores (that includes resource files, wall papers, ring tones, and other files),
then it will not be able to make more.
Therefore, if a MIDlet is to have many images, such as sprites used in animations, it may
be advantageous to have them all in one image file and use clipping to display only what
500 RecordStores (that includes resource files, wall papers, ring tones, and other files),
then it will not be able to make more.
Therefore, if a MIDlet is to have many images, such as sprites used in animations, it may
be advantageous to have them all in one image file and use clipping to display only what
you need.
RecordStore
can be of any size as long as there is file space available. A zero byte
RecordStore
is also allowed.