BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-24-2008, 01:44 AM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default PushRegistry disconnected after first auto-launch

Please Login to Remove!

We are porting our J2ME application to BlackBerries and are having a problem with the PushRegistry. We have registered our (signed) application to listen on an SMS port in the JAD file (i.e., sms://:<port>), and once installed, runs correctly. After we install, our application can be auto-launched via an incoming SMS to our registered port. However, after the first auto-launch, the application seems to get unregistered and all subsequent SMS messages go directly to the standard SMS inbox. We've tried reinstalling the app, but all messages still end up in the SMS inbox and our app won't auto-start anymore (not even once after a reinstall unless the port is changed). We've been testing on the BlackBerry 8800 - any help would be appreciated.
Offline  
Old 07-26-2008, 12:47 PM   #2 (permalink)
New Member
 
Join Date: Jul 2008
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think I have figured out the problem. If you read the list of connections via PushRegistry.listConnections(false) and try to open and read from a connection that has no data available (i.e., listConnections(true) would have not returned the connection), the application seems to unregister from the AMS. We had to use this approach due to bugs in other phones.
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

Electro Scientific ESI 253 Impedance Meter +Crystal Set
$1499.99
Electro Scientific ESI 253 Impedance Meter +Crystal Set picture 200 PCS GEYER CRYSTAL OSCILLATOR KX-3H 3.68640 MHZ 16PF
$40.0
 200 PCS GEYER CRYSTAL OSCILLATOR KX-3H  3.68640 MHZ 16PF pictureGE Light bulbs Crystal Clear 40 Watts Relaxing Light Decorative (2) Pack 4 Bulbs
$4.99
GE Light bulbs Crystal Clear 40 Watts Relaxing Light Decorative (2) Pack 4 Bulbs pictureTTL Serial 16x2 Liquid Crystal Display LCD for PICAXE, Arduino, PIC, AVR, etc.
$30.0
TTL Serial 16x2 Liquid Crystal Display LCD for PICAXE, Arduino, PIC, AVR, etc.   pictureAUSTRON DUAL OUT CRYSTAL OSCILLATOR Model 1150 Freq. 5/10 MHz Part No. 25299983
$145.0
AUSTRON DUAL OUT CRYSTAL OSCILLATOR Model 1150 Freq. 5/10 MHz Part No. 25299983 picture






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