×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    17

    Logging in devices in J2ME

    Hi All,
    Im working on J2ME application development using High level (LCDUI ) API. I want to include Logging to debug the application on Phone.

    I have used Microlog by adding source files to the project.It compiled successfully ,but it is not creating any log file in the folder.

    Anyone please help me with using Microlog for debugging or suggest anyother mean for implementing Logging in J2ME..


    Regards
    Syed

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    17

    Re: Logging in devices in J2ME

    Hi All,

    Please provide some info regarding Logging in J2ME as it is vey much needed in my work.



    Regards
    Syed

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

    Re: Logging in devices in J2ME

    If you are using S40 device then you can connect it using USB cable and try telnet to get SOP's on the system by using Comm Connection API to write debug logs to comm port which can read by PC.

    On S60, you can use the utilities provided by the SDK .
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    35

    Re: Logging in devices in J2ME

    Thanks for your reply.

    But Could you please elaborate on "utilities provided by the SDK " because Im newbie to J2ME.

    Is there any provision to get logs in a text file which can be somewhere in device memory ?

    Any idea on using Microlog ?

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Logging in devices in J2ME

    Microlog is based on log4J, you can also try http://code.google.com/p/logging4me/
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Logging exception stack traces on actual devices
    By okallioi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2010-07-07, 22:31
  2. Bluetooth devices Search does not work in J2ME
    By munna2585 in forum Mobile Java General
    Replies: 4
    Last Post: 2010-02-04, 13:22
  3. [Moved] Max File Count in J2ME Devices
    By deepal_qa in forum Mobile Java General
    Replies: 4
    Last Post: 2008-08-29, 06:52
  4. problem in establishing connection between devices in j2me using bluetooth
    By vibrating_minds in forum Mobile Java General
    Replies: 3
    Last Post: 2008-01-03, 10:47
  5. What devices support rtp-protocol in J2ME?
    By nikita_unique in forum Streaming and Video
    Replies: 3
    Last Post: 2005-11-07, 14:32

Posting Permissions

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