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

Varian TV-301 Turbo Pump KF25, Rebuilt By Provac Sales, Inc.
$4700.0
Varian TV-301 Turbo Pump KF25, Rebuilt By Provac Sales, Inc. pictureSteris /Amsco 3/4" Vacuum Breaker. P077023-001
$11.95
Steris /Amsco 3/4BECKER 10HP VTLF 250 Vacuum Pump Dry Rotary Vane Oil-less from CNC Router 480V
$3595.0
BECKER 10HP VTLF 250 Vacuum Pump Dry Rotary Vane Oil-less from CNC Router 480V pictureNew Chrome WATTS ANTISIPHON VACUUM BREAKER 3/4" NPT 59-49-SA LF288A LF288AC
$34.99
New Chrome WATTS ANTISIPHON VACUUM BREAKER 3/4Collector Sweeper w/Vacuum Dust Suppression VCS32 9ft,Dual Motor,Poly/Wire Combo
$22500.0
Collector Sweeper w/Vacuum Dust Suppression VCS32 9ft,Dual Motor,Poly/Wire Combo picture






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