Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User aparna_bhure's Avatar
    Join Date
    Nov 2008
    Posts
    17
    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

  2. #2
    Registered User bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    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.

  3. #3
    Registered User aparna_bhure's Avatar
    Join Date
    Nov 2008
    Posts
    17
    Hi Bhanu,

    Thanks.

    I have solve it.

    Regards,
    Aparna

Similar Threads

  1. Data exchange format: AMF, SWX or something else?
    By MForceOne in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2009-05-26, 22:36
  2. SMS Data Coding Sceem
    By erdnamit in forum Mobile Java General
    Replies: 0
    Last Post: 2003-07-15, 13:59
  3. Backup J2ME data
    By ocarlvik in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2002-11-26, 06:07
  4. i have a PDU user data coding converted problem......
    By torto in forum Smart Messaging
    Replies: 1
    Last Post: 2002-10-07, 09:10
  5. ending a Data call from J2ME
    By bjdw in forum Mobile Java General
    Replies: 1
    Last Post: 2002-09-22, 15:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved