Read the Inbox,Drafts, And Sent Items SMS in J2ME

Login to reply to this topic.
Thu, 2005-08-18 10:43
Joined: 2005-08-17
Forum posts: 6
Hello Friends,
  i want to read read inbox using j2me if any one has idea please reply me
Regards
Sachin

Thu, 2005-08-18 15:18
Joined: 2005-03-06
Forum posts: 183
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Sorry,

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
Sat, 2005-08-20 05:23
Joined: 2005-08-17
Forum posts: 6
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Thanks a lot for your help.
   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
Sat, 2005-08-20 07:11
Joined: 2005-03-06
Forum posts: 183
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Not that Im aware of, however I think its possible (but not easy or reliable) for J2ME to call symbian code to access the inbox

Regards,
Isseyp


Mon, 2005-08-22 11:33
Joined: 2005-08-17
Forum posts: 6
how to receive the SMS in j2me
Hello friends,
   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
Tue, 2005-08-23 03:08
Joined: 2005-03-06
Forum posts: 183
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Port 0 is the default inbox, so if you just send to port zero it should arrive in the normal inbox.
i.e you dont need an appication running on the target to receive your SMS.

Regards,
isseyp
Tue, 2005-08-23 05:53
Joined: 2005-08-17
Forum posts: 6
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Hello isseyp,
  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
Tue, 2005-08-23 12:02
Joined: 2005-03-06
Forum posts: 183
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Yes, thats possible.
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 Smiley

Regards,
Isseyp
Sat, 2005-09-03 06:02
Joined: 2005-08-17
Forum posts: 6
RMS database problem
hello all
     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
Thu, 2005-10-13 12:59
Joined: 2005-10-13
Forum posts: 1
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Hello,
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)Huh

Has anyone tested thi approach?

Thanks in advance!!
Fri, 2005-10-14 03:18
Joined: 2004-09-06
Forum posts: 235
Re: Read the Inbox,Drafts, And Sent Items SMS in J2ME
Yes, I have tested it...

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.
  • Login to reply to this topic.