Hi everyone, To open a input stream i am writing InputStream is = this.getClass().getResourceAsStream("/xyz.txt"); "xyz.txt" is a file which is into my jar file. and i am able to read from this. I have got one more file in jar "abc.txt" I want to write in this. how can ido this pls tell me.
Hi, i am not satisfied with the answer. ok pls. tell me i am developing a application for NOKIA-6610 which not support RMS. so what are the alternative for persistent storage. pls tell me thanx!
posted 15 years ago
Nokia 6610 does not support javax.microedition.rms? My interpretation of chapter 7 of the MIDP 1.0 specification is that the RMS API is not optional, and as Nokia claims (in forum.nokia.com) 6610 to implement both CLDC 1.0 and MIDP 1.0 (no mention about "partially implementing" etc.), I'd be interested to learn where you got the info that Nokia 6610 doesn't support RMS?
Lasse is right. Every MIDP phone must support RMS but not necessary the file system. So, you cannot write plain files unless your phone provides a proprietary file API (BlackBerry phones have such APIs, if my memory is correct). Nor can you change the JAR file.
Hi everyone, ya! I was too surprised when i saw this. First i tried my program with 40 series Emulator according to emoulator my program was able to read and wite into RMS. After that i implemented this on my noka 6610 and i was amazed it is not able to read and wite. It is not giving any Error and even not throwing any exception.Then i write a single program with very few line which wirte a single record and to RMS and read that from RMS and just show on the screen. It is perfectly working with my 40 series Emulator but not on real phone. Then i read this PDF. http://www.forum.nokia.com/main/1,,040,00.html?fsrParam=1-3&fileID=2459. which has got detail feature discription of java enabled phone. Please download this and see in the MEMORY AVAILABLE section 40 series phone (6610 and 7210) blansk column of persistent sorage. Now say should i do. Thanx
posted 15 years ago
I have three Nokia series 40 devices: 7210, 6800 and 6310i. All of them support RMS based apps just fine. I do not have a 6610 though. I think the 6610 is supposed to support the full MIDP spec. If I were you, I would contact Nokia support to find out what's wrong.
Oh It was so silly mistake from my side. what i am doing while checking on Emulator before adding recodes to RecorStore i am deleting old one. like this. RecordStore.deleteRecordStore("ttt"); rs = RecordStore.openRecordStore("ttt",true); it is not working what i have done. but after removing from first line. it is working fine. Thanx for all of u for ur support.
Acetylsalicylic acid is aspirin. This could be handy too:
global solutions you can do in your home or backyard