BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-15-2005, 01:05 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Mumbai, India
Model: 8100
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question After getting SMS, MIDlet is not launches

Please Login to Remove!

Im developing an application which is based on SMS using MIDP2.0. First I send a request, then got a responce in form of SMS. I allready defined a SMS port. But after getting SMS my MIDlet is not activated/launches. I made same application for NOKIA & is working fine. I used pushRegistry() API for that. And in JAD file, the property is defined in following format :

MIDlet-Push-1: sms://:portnumber, midlet_class_path, *
The problem occuring only in Balckberry.

Can anyone tell me what is the probable problem?
Offline  
Old 09-22-2005, 01:13 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: Lots
Carrier: Rogers
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have a look at these links:

http://www.blackberry.com/knowledgec...17209&vernum=2

http://www.blackberry.com/knowledgec...17112&vernum=2

DaHunter
Offline  
Old 10-03-2005, 05:32 AM   #3 (permalink)
New Member
 
Join Date: Sep 2005
Model: 7290
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much DaHunter.
The links gave by you are really very useful.

Chetan Sawant
Offline  
Old 12-09-2005, 02:44 PM   #4 (permalink)
New Member
 
Join Date: Aug 2005
Model: 7230
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Help?

Hey Chetan

I'm having lots of trouble getting my SMS listener to work. Can you post any code or tell me what's wrong with this?

Code:
            // in my constructor
            ...
            makeInterface();
            pushScreen(screen);
            messconn = (MessageConnection) Connector.open("sms://:6222");
            
            // At this point the debugger halts with the message:
            // Uncaught exception thrown - Cannot determine Object class.  
            // Missing debug information

Any help appreciated.
Offline  
Old 12-19-2005, 05:27 AM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Mumbai, India
Model: 8100
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Duncanidaho,

the code written by you is right. Same way I implemented.
But, I think, may be u forgot to add Listener.
Otherwise code is right.
Just add a listener & try it.

Hope this will helpful for you..

messconn = (MessageConnection) Connector.open("sms://:6222");

messconn.setMessageListener(this);

--
Chetan
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.