How we can write in a file t开发者_开发知识库hrough a j2me code ?
Does your J2ME support JSR-75? If so, see here
http://developers.sun.com/mobility/apis/articles/fileconnection/
this is he JSR75 spec, basically it just means to create a connector (FileConnectoion) and open a stream, once you hve it you can do various operation with hte file like chance to hidden, delete, create open etc..
If JSR-75 does not exists on the device (rare these days) your ownly options for storage is RMS, and if you want just to read files you have in your application you can use class.OpenResourceasStream(resname);
精彩评论