[Last Call] Learn how to a build a cloud-first strategyRegister Now


How to receive a SMS with J2ME on a nokia phone?

Posted on 2009-12-17
Medium Priority
Last Modified: 2013-11-24
Hello Experts,

I'm writting a J2ME app that is supouse to read SMSs as soon as the cellphone receives them. Anyboy knows how to do that?
Question by:Dermofit
1 Comment

Accepted Solution

CodeFish earned 2000 total points
ID: 26328799
This cannot be done with j2me cldc.

You can specify a port to listen on and to send from when dealing with sms messages. If you send to port 0 the sms message will arrive in the inbox of the phone. But you cannot intercept sms messages before they get to the inbox. This is primarily a limitation of j2me. J2me cannot perform native operations. It may also be a limitation of the phone. If your Nokia is an S40 series then there is no chance of doing what you would like to do. If it is a smartphone (s60 or s80) you *might* be able to do something using JNI or Symbian C++.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm Dumb-phoned(ed) Last week, I noticed this message when adding events to my Google Calendar: On June 27th (2015), Google is removing SMS as a notification option for Google Calendar events.  Their assumption is that enough people have smart p…
There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month17 days, 16 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question