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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NEW FITS 3TF5022 AC CONTACTOR 150A COIL AC 380V 50/60HZ
$148.0
NEW FITS 3TF5022 AC CONTACTOR 150A  COIL AC 380V 50/60HZ pictureONE NEW IN BOX DMC-32 AC CONTACTOR COIL 380V AC Replacement GMC-32
$25.8
ONE NEW IN BOX DMC-32 AC CONTACTOR COIL 380V AC Replacement GMC-32 pictureNEW FITS LC1-K0910B7 AC CONTACTOR 24V AC COIL
$12.88
NEW FITS LC1-K0910B7 AC CONTACTOR 24V AC COIL  pictureFurnas Contactor with Coil 75D73070C
$129.99
Furnas Contactor with Coil 75D73070C pictureBrady 4158-C Bradysnap-On Pipe Marker, B-915, Black On Yellow Coiled Printed Pla
$13.35
Brady 4158-C Bradysnap-On Pipe Marker, B-915, Black On Yellow Coiled Printed Pla picture






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