Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010

    read textfile in j2me

    I want to read column by column from text file.
    I don't know how to do that. Any suggestion.

  2. #2
    Super Contributor
    Join Date
    Mar 2003

    Re: read textfile in j2me

    Use JSR-75, FileConnection API to read the file. Examples in the wiki:

    How you parse each line/record to columns depends on how the columns are separated in the file.

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Noida, India

    Re: read textfile in j2me

    You will require to read the file, line by line i.e. row wise only*. But then you can divide the rows into columns depending on the dilimiter that you have defined while creating the file.

    PS: * if the file was writen like that.

Similar Threads

  1. how i get miscall list and read sms from inbox in j2me
    By cancer86pk in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-03-05, 21:15
  2. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  3. How to read battery level in J2ME?
    By cassioli in forum Mobile Java General
    Replies: 4
    Last Post: 2007-02-01, 20:19
  4. Read Flash Messages J2ME
    By pmramprasath in forum Mobile Java General
    Replies: 3
    Last Post: 2007-01-25, 18:17
  5. j2me phone can't able to read plain text from servlets - why?
    By mibuyt in forum Mobile Java General
    Replies: 5
    Last Post: 2003-09-29, 13:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts