Hi,
I want to write some data (like int, double, class object) into CSV file format through J2ME coding.
Please let me know how I can do that?
Please provide a sample code if possible.
Thank you,
Regards,
Aparna
Hi,
I want to write some data (like int, double, class object) into CSV file format through J2ME coding.
Please let me know how I can do that?
Please provide a sample code if possible.
Thank you,
Regards,
Aparna
Hi Aparna,
Can you explain clearly what is your requirement is?
And writing csv file is verry simple if you write the data with the tab seperation (i.e \t) then that file becomes a csv file . You need to write the data like this:
Data1+"\t"+Data2+"\t"+Data3+"\n"
Data1+"\t"+Data2+"\t"+Data3+"\n"
Data1+"\t"+Data2+"\t"+Data3+"\n"
If you want read/write data in j2me you need to use the JSR75 API for that . In the forum nokia wiki you can find the examples for writing the file in j2me.