|
|
User login
Feeds |
Read the Inbox,Drafts, And Sent Items SMS in J2ME
|
|||||
| Thu, 2005-08-18 10:43 | |
Forum posts: 183
You are not currently able to access the system mailbox using J2ME.
There is a request to include mailbox access in the next major release but that wont be till sometime next year , if it happens at all.
At the moment , you will have to create your own message box within the application and the best you can do to alert the user to is play a sound (vibrate is not even supported even on phone that have it).
If you wanna access the inbox , drafts, etc, you will need to write a symbian application but this has the disadvantage of running on less phone models, however J2ME applications have lots of issues because of bugs in the Java Virual Machine on each different model, so far more testing is required that with symbian applications. Also J2ME apps are very slow.
Regards,
Isseyp
Forum posts: 6
And one more question: please can you tell me about "Is there any other alternative way to read the Inbox, OutBox, SentItems by using low level api or using dll.... " in J2ME
Sachin Kapse
Forum posts: 183
Regards,
Isseyp
Forum posts: 6
i want to receive SMS in j2me. It is possible to receive SMS i Know but i want to receive SMS receive without giving the port number at the time of Connection.
smsconn = (MessageConnection) Connector.open("sms://: PORT NUMBER");
In above code line their require port number at the time of connection for receive SMS. without using port number i send sms but without using port number i don't receive the SMS. If any one has idea please reply me.
Sachin Kapse
Forum posts: 183
i.e you dont need an appication running on the target to receive your SMS.
Regards,
isseyp
Forum posts: 6
Thanks for help. But i want to activate my application when i receive the sms and show that sms in my application. is it possible? What is normal inbox?
Regards
Sachin
Forum posts: 183
You can do that using the "Push Registry", do a search on the j2ME forums and you can find out more info on how to do it.
Basically the applicaiton will be registered to be launched when an SMS arrives at a specified port.
The "normal inbox" is where your normal SMSs will normally go
Regards,
Isseyp
Forum posts: 6
when i run the application of RMS database it will working properly on the emulator first time it show the preloaded database but when i installl this application on the device it no showing the preloaded data in RMS database. only message no data. i want to show the preloaded database when i install my application on device what is the problem. What is problem i don't get? I want this imediately so please reply who have idea about this?
Sachin
Forum posts: 1
just a question....
port 0 identifies (in sending sms), the default inbox;
so if a J2ME application waits for arriving sms on that port 0, it should be possible to read sms arriving in the default inbox folder (that is sms sent in the normal "way" by a phone not using a J2ME app)
Has anyone tested thi approach?
Thanks in advance!!
Forum posts: 235
The J2ME Midlet gets installed and registers itself with the push registry for port 0.
But it does not get invoked when a SMS arrives on default port or on port 0.