BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 07-18-2008, 08:24 AM   #1 (permalink)
New Member
Join Date: Jul 2008
Model: 7100T
Carrier: NS
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Programmatically detect a push browser channel

Please Login to Remove!

when a server makes a push browser channel, an icon shows up in blackberry home screen. Is there any way to detect that push programmatically?
Old 07-18-2008, 09:27 PM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

I wouldn't think so. The semantics of the push on the Blackberry side are similar to a TCP server socket accept. You would probably have to listen to the browser channel push port. I haven't tried it but normally only one thread is allowed to get a particular connection. On the Blackberry I would think only one thread at a time could listen to a particular port. Since the OS/Browser listens to the browser channel push port I doubt it could be done.

You can, if you have access to the MDS server of a paired BES or Unite server, push data to an otherwise unused port, and write an app for the blackberry to listen to that port.

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