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

SAUNDERS & ASSOCIATES CRYSTAL IMPEDANCE METER 110HF
$135.0
SAUNDERS & ASSOCIATES CRYSTAL IMPEDANCE METER 110HF  picture680-PCS HIGH IMPEDENCE FERRITE BEAD HZ0805E601R-00 0805E601R00 HZ0805E601R00
$24.68
680-PCS HIGH IMPEDENCE FERRITE BEAD HZ0805E601R-00 0805E601R00 HZ0805E601R00 pictureQTY (50) 220uf 25V 105' LOW IMPEDANCE ELECTROLYTIC ECA1EFZ221 PANASONIC
$9.99
QTY (50) 220uf 25V 105' LOW IMPEDANCE ELECTROLYTIC ECA1EFZ221 PANASONIC   pictureNEW SOFASCO TAC9225115MT 110V AC FAN .1/.08A IMPEDENCE PROTECTED ~190MM
$22.99
NEW SOFASCO TAC9225115MT 110V AC FAN .1/.08A IMPEDENCE PROTECTED ~190MM picture++ EI-16 Multi-Impedance Audio Transformer 120K:600 ohm 30K:600 ohm FSe
$8.98
++ EI-16 Multi-Impedance Audio Transformer 120K:600 ohm 30K:600 ohm FSe picture






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