dcsimg
File System on java card
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, July 5, 2002 01:24 AM

There is no file system API in the java card API 2.1.

There is no file system in the cyberflex access 32K.

So how do you manage storing data on this type of card ?

How do you store a picture for example ?



Thank you for the answers.

Re: File System on java card

Posted By:   Joseph_Smith  
Posted On:   Friday, July 5, 2002 08:34 AM

File systems aren't needed !
Read the specs again and read how to persist objects. ( HINT: byte arrays )

Since there is a 255 limit on CData, send the picture in chuncks. Of course, this requires that the persistant object is large enough to store the picture, and that there is memory available to create the large persistant object.

Look at the examples provided with the kit and you'll see how to persist objects.
About | Sitemap | Contact