Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
02-24-2010 02:20 PM
We've created a server side applications that pushes an icon for a specific URL to the device using BlackBerry browser channel push.
In the first step everything works fine. The read and unread icon is pushed to the device. Also launching the URL works fine.
We now noticed that the icon on the device disappears once the device is rebooted (remove battery). When the device restarts only the "default" browser channel icon appears. After a while it looks like the icon is reloaded from the backend and is then displayed again on the device.
We now have the problem that in some case the original icon is not available in the backend system anylonger. In this case the icon is gone on the device and only the default icon is displayed.
Is there a way to tell the device to just keep the icon until a new icon is pushed or the icon is removed ?
We do not understand why the icon is reloaded after reboot.
03-02-2010 03:18 PM
The icon should remain. Does this happen every time the device is reset? What BlackBerry Smartphone model and BlackBerry device software version are you testing on? You can find this under Options, About on the BlackBerry Smartphone.
03-02-2010 04:33 PM
Yes the icons disappear/change after each reset ad are then reload (if still available).
We have tested with 8310, 8800, 8520 and 9700 with device OS 4.2 to 5.0. We discovered different behavior depending on the device and the OS.
8800 with OS 4.2: Icons change to default icon after restart and are not reloaded
9700 with OS 5.0: Icons change to default icon after restart and are reloaded
8520 with OS 4.6: Icons disappear and are only reloaded when choosing the browser channel from the browser bookmarks.
03-03-2010 10:15 AM
Here is part of the JAVA code we use
URL pushURL = new URL("http", MDSAddress, Integer.parseInt(MDSPort), "/push?DESTINATION=" + sDeviceId + "&PORT=" + devicePort + "&REQUESTURI=/");
HttpURLConnection conn = (HttpURLConnection) pushURL.openConnection();
conn.setRequestProperty("X-RIM-Push-Channel-ID", "C-" + sDocID);
conn.setRequestProperty("Authorization", userNamePasswordBase64(username, password));
We are on BES 4.1.7 MR1.
Do you have any idea why the icon is always reloaded and how we can avoid reloading it ?
03-03-2010 10:37 AM
I haven't been able to reproduce this. Does it only occur when the image at the URL used in the push is no longer available? Are you able to reproduce this on demand? If so, what actions are you taking after the push has been delivered (wait X minutes, open the channel X times, etc...).?
03-03-2010 11:03 AM
We can reproduce this.
1. We push an icon (read/unread) for a specific URL
2. The icon is shown on the device. Everything looks ok so far.
3. We turn off the radio of the device
4. Pull the battery
5. Restart the device (with radio off)
6. The icon on the device is either removed or replaced with the default icon
This can always be reproduced in our environment.
When turning on the radio on the device the icon is reloaded from the source (if still available).
03-03-2010 11:27 AM
I still wasn't able to reproduce this. Is the actual page that was pushed available on your web server using the URL that was pushed?
03-04-2010 04:09 AM
We only want to push an icon to the Blackberry. The icon then refers to a web page. We do not push any browser content. And yes, the web page is available.
We've implemented the icon push within a Lotus Notes application. The application pushes out an icon with an URL that is opened when clicking on the icon.
Is it possible that you send me your sample code so we can compare it with our implementation ?
Can the behavior be a problem with the MDS service of BES 4.1.7 ?
Do you have a public icon push available where we can push an icon to our devices for testing ?
03-08-2010 02:08 PM
A Java browser channel push example is included with the BlackBerry JDE and BlackBerry Java SDK. Once installed, you can find the sample in the InstallDir\samples\com\rim\samples\server\browserp
You can download these tools from here: http://na.blackberry.com/eng/developers/javaappdev
03-08-2010 04:38 PM
Our code looks ok.
Can this be an issue with MDS from BES 4.1.7 ? With which version did you perform the tests ?
We are not quite sure but we think we never noticed the same issue with disappearing browser channel icons with earlier BES versions.
Do you have any idea what could be the problem ?