Bharathi Dhas Krishnasamy

Greenhorn
+ Follow
since Jun 20, 2009
TamilNadu, India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bharathi Dhas Krishnasamy

Bharathi Dhas Krishnasamy wrote:How to read a huge file from memory card?

If I try to read mobile getting hanged.

What ll I do?



Any one tell the answer?
7 years ago


Exception in thread "main" java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:180)
at java.io.DataInputStream.readUTF(DataInputStream.java:592)
at java.io.DataInputStream.readUTF(DataInputStream.java:547)
at javatestrun.Main.main(Main.java:17)

Any can tell reason?
7 years ago

Tim Holloway wrote:Depending on your platform, you may have a database system built into the profile. You can then create a database file on the memory card and use its functions to read, write, and search.



Hi Tim I'm new to J2ME. Can you explain
1) How to built databse system for profile?
2) How can create database file on memory card?

Thank You :-)
7 years ago
How to read a huge file from memory card?

If I try to read mobile getting hanged.

What ll I do?
7 years ago
I have to retrieve data from memory card like Category name and respective Items.

Example:



How do I maintain my file and tell the flow of code it?
7 years ago
Still I didn't get solution....!

Ranch help me soon...!
7 years ago
MCReadDemoMidlet


MCTest



I got this Exception


Starting emulator in execution mode
Installing suite from: http://127.0.0.1:1993/MCReadDemo-2.jad
java.lang.IllegalArgumentException
at javax.microedition.io.Connector.openPrim(), bci=51
at javax.microedition.io.Connector.open(), bci=3
at javax.microedition.io.Connector.open(), bci=3
at javax.microedition.io.Connector.open(), bci=2
at hello.MCTest.readfile(MCTest.java:31)
at hello.MCTest.<init>(MCTest.java:18)
at hello.MCReadDemoMidlet.<init>(MCReadDemoMidlet.java:17)
at java.lang.Class.newInstance(), bci=0
at com.sun.midp.main.CldcMIDletLoader.newInstance(), bci=46
at com.sun.midp.midlet.MIDletStateHandler.createMIDlet(), bci=66
at com.sun.midp.midlet.MIDletStateHandler.createAndRegisterMIDlet(), bci=17
at com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=27
at com.sun.midp.main.AbstractMIDletSuiteLoader.startSuite(), bci=52
at com.sun.midp.main.CldcMIDletSuiteLoader.startSuite(), bci=8
at com.sun.midp.main.AbstractMIDletSuiteLoader.runMIDletSuite(), bci=161
at com.sun.midp.main.AppIsolateMIDletSuiteLoader.main(), bci=26

Anyone can help?
7 years ago

Swastik Dey wrote:What is the error message? And what value are you getting in file variable?



MCTest.java



MCReadDemo.java


I got this output in my Mobile

Your file location:
file:///E:/download/MyFile.txt

Your file Data:
Your Data:

My Track:
1 2 3 5 6 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 9 11 14
7 years ago
Hi Gobinath actually I have to retrieve data from file in memory card and show in display.
Iā€™m still struggle with that.
I got a error in ā€œ FileConnection fileConnection = (FileConnection) Connector.open(file);ā€ line.
But I could get memory card path.
7 years ago
Can we store "Record Store" into Memory Card?
7 years ago

Swastik Dey wrote:Its the record store, sort of a database.




Whether RMS store in phone memory or memory card?
7 years ago
RMS is mobile internal memory?
7 years ago
I think JAD profile mismatched with your jar file size and all.
7 years ago
If anyone knows reply soon..!
7 years ago

Swastik Dey wrote:http://developers.sun.com/mobility/midp/ttips/sharedrms/index.html



I don't want use rms and share data between MIDlets. I need solution's without rms and it's sharing.
7 years ago