Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

J2ME Application

  • 01-11-2005 2:49pm
    #1
    Closed Accounts Posts: 1


    I am currently writing a program that will retrieve a file from a J2SE server and display the contents of the file (3 lines of text) on the J2ME toolkit phone. The file is retrieved correctly and the contents are displayed on the console but they do not display on the phone. I believe that the Program gets stuck in the following loop.
    While ((line) readUTF () !=null)
    {
    Reply = reply + line;
    System.out.In………
    }

    I think the problem lies with readUTF != null.. Can this be done or what other options are possible?


Comments

  • Registered Users, Registered Users 2 Posts: 6,315 ✭✭✭ballooba


    Had this problem in my final year project... never got it working because it was such a small issue.

    Solution was something to do with PrintWriter, never worked for me though.

    Sorry can't be of more help.

    Incidentally don't you mean J2EE server?


Advertisement