Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2006

    What is the Maximum number of thread MIDP/CDLC can support?


    I developed a simple chat application in J2ME, the receiver MIDlet successfully receive 4 message afterward it won't receive further message. i am using Thread to handle incoming message. so i wants to know whats the Maximum number of thread MIDP/CDLC can support?

    Note: I tested my application in J2ME Wireless Toolkit Emulator.


  2. #2
    Registered User
    Join Date
    Dec 2005

    Re: What is the Maximum number of thread MIDP/CDLC can support?

    Hi malikguna,

    I do not know what's the maximum # of threads but the minimum as specified by JTWI (JSR-185) is 10 threads at least. Check section 3.2 Minimum Application Thread Count:

    Requirement Text
    A compliant implementation must allow a MIDlet suite to create a minimum of 10
    simultaneously running threads.

    Although many implementations can support more threads, MIDlet developers are
    encouraged to stay within these bounds. This requirement is not intended to
    require implementations guarantee at all times that 10 threads be possible, but that
    implementations not artificially limit thread creation to less than 10 threads.
    Application developers must still manage resource usage within the physical
    constraints of the device.

    JSR 185: JavaTM Technology for the Wireless Industry


    Juarez Junior

Similar Threads

  1. Will Nokia support 100% MIDP 2.0???
    By gicio in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2003-08-18, 11:23
  2. Personal
    By JSmith77 in forum PersonalJava
    Replies: 4
    Last Post: 2003-07-30, 12:52
  3. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50
  4. Do J2ME support decimal number and cosine function?
    By henryting in forum Mobile Java General
    Replies: 1
    Last Post: 2002-11-21, 09:42

Posting Permissions

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