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

Flourescent Fixture Ballast 2-F40T10 T12 Rapid Start Advance R-2S40-TP NOS
$19.5
Flourescent Fixture Ballast 2-F40T10 T12 Rapid Start Advance R-2S40-TP NOS pictureUniversal Lighting Technologies S400ML5ADC4M-500K High pressure Sodium Ballast
$74.99
Universal Lighting Technologies S400ML5ADC4M-500K High pressure Sodium Ballast picturePHILIPS ADVANCE IOP-2S32-SC 120V TO 277V ELECTRONIC BALLAST
$17.0
PHILIPS ADVANCE IOP-2S32-SC 120V TO 277V ELECTRONIC BALLAST  picture10-Philips Advance Centium ICN-3P32-N Ballast-3 LAMP
$40.0
10-Philips Advance Centium ICN-3P32-N Ballast-3 LAMP pictureAdvance 72C6082NP001 400 Watt F-can Metal Halide Ballast 120/277
$65.0
Advance 72C6082NP001 400 Watt F-can Metal Halide Ballast 120/277 picture






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