×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Accessing stored data

    Is it possible to access existing MMS/SMS messages within a java enabled phone from a midlet? What about the gallery?

    Thanks!
    Adam

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Helsinki, Finland
    Posts
    176

    RE: Accessing stored data

    Hi,

    As you guessed, the answer is no.

    Due to the CLDC specificatoin Java Native Interface (JNI) is not supported. So,you can't call natve methods from a midlet.

    Specification says:
    "Support for JNI was eliminated mainly because of two reasons:
    1) the limited security model provided by CLDC assumes that the set of native functions must be closed.
    2) the full implementation of JNI was considered too expensive given the strict memory constraints of CLDC target devices"

    Best Regards,
    JP / Forum Nokia

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    382

    RE: Accessing stored data

    Hello

    If we are talking about Wireless Messaging API enabled mobile phone,
    then, if the SMS is sent to the certain specified port number received by this mobile.
    Then Java MIDlet can get the SMS message from the inbox,
    if this MIDlet is registered this port number of its use.

Posting Permissions

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