×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    32

    sending message using j2me

    hello
    i succed to write j2me algorithm to send encrypted message using real devise but the message are stored in the inbox message how can i let the receiption of my message in the phone memory for can i decrypted successfully appling my algorithm

    regards

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: sending message using j2me

    You have to send the message to a specific port that an app on the receiving side is waiting for. J2ME doesn't allow you to get to regulard inbox messages (port 0).

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: sending message using j2me

    Quote Originally Posted by souhir View Post
    hello
    i succed to write j2me algorithm to send encrypted message using real devise but the message are stored in the inbox message how can i let the receiption of my message in the phone memory for can i decrypted successfully appling my algorithm

    regards
    From the sender side you need send the SMS on the specific port and then your J2ME app must listen the same port and wait for the all incoming SMS on the same port. As soon any SMS arrives on the port you will get the notification and then you can read the SMS, do the required decryption and use that.

    You can browse the Google and you will find the multiple examples around.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Registered User
    Join Date
    Feb 2010
    Posts
    32

    Re: sending message using j2me

    hello
    thank you for your replay but please can you explain more how can i enter the port, give me example please

    regards

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: sending message using j2me

    Quote Originally Posted by souhir View Post
    hello
    thank you for your replay but please can you explain more how can i enter the port, give me example please

    regards
    You need to read the WMA API for all kind of operations related to the SMS, MMS etc. There are proper code segments available around you which can be used to send and receive the SMS using Java ME. Even inside the WTK apps folder you may find the working demo for the same and you can have a look over the same to get familiar with this API.

    On the first go on the web I found this,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. sending message from j2se socket to j2me socket
    By gizyy in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2010-05-10, 07:14
  2. Can J2ME be used for sending MMS Message ?
    By seno_ap in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-24, 14:36
  3. Replies: 0
    Last Post: 2006-09-30, 14:56
  4. Sending a message from Symbian C++ to a J2ME MIDlet on Series 60 3rd Edition
    By gaohai in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-09-25, 10:36
  5. Message Sending Failed message in Nokia 6600 when Memory In Use set to MMC
    By razas in forum General Development Questions
    Replies: 0
    Last Post: 2006-02-01, 07:06

Posting Permissions

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