Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎01-25-2011
My Device: Not Specified
Accepted Solution

Favicon

Hey all!

 

I wish to create an favicon that will be displayed on the browser of version 5 and 6 of BlackBerry's. I have tried each of the 4 statements below.

 

<link rel="icon" href="./favicon.png" type="image/x-icon" />
<link rel="icon" type="image/png" href="./favicon.png" />
<link rel="shortcut icon" href="favicon.png">
<link rel="shortcut icon" type="image/gif" href="http://find.mobi/favicon.gif" />

All these work in Firefox. I have a favicon.png and a favicon.ico and a favicon.gif located in the root directory. However, this isn't working on the BlackBerry...

 

I am using a BlackBerry 9700 v5.0.0.423 (Platform 5.1.0.116)

 

Does anyone have any ideas in how to create a favicon for a website for the blackberry?! I have been at it for the best part of today!

I checked the source code for http://m.cnn.com and I can't see how they created there favicon!

 

I have done a search of the forum and these two links below were my best results, but they didn't solve my problem.

 

WebApp Icon on Homescreen

 

Making a blackberry web shortcut icon for my website? I GIVE UP

 

Thanks,

Paul

New Contributor
Posts: 3
Registered: ‎01-25-2011
My Device: Not Specified

Re: Favicon

So does anyone have any idea about putting a favicon on a BlackBerry website designed for BlackBerry os 5 and 6 using html and/or Javascript?

Developer
Posts: 37
Registered: ‎01-18-2011
My Device: Huron 8800
My Carrier: IM3

Re: Favicon

Recently, i've found that my local xampp index page is having its favicon shows up in bb os6 simulator.

If you have xampp installed, you might try to browse your.host.ip/xampp/ and replicate what they did.
Developer
Posts: 164
Registered: ‎08-26-2010
My Device: Not Specified

Re: Favicon

According to your question, i expected that it's not about Blackberry Widget / Webworks Development (correct me if i'am wrong).

 

Now, using http://m.cnn.com as example, did you mean this??

 

favico.jpg

 

If so, just try to access this : http://m.cnn.com/favicon.ico

 

There is the answer, just put an favicon.ico image file in the root of the web path.

New Contributor
Posts: 3
Registered: ‎01-25-2011
My Device: Not Specified

Re: Favicon

Thank you for all your replies! The favicon finally worked when we moved to an Apache HTTP server from Tomcat. I am still not sure why this worked, but I am just glad it finally works! Smiley Happy

 

@agungeddy: We had the favicon in the root webpath of our project. Without changing anything, once we moved to Apache HTTP webserver the favicon started to work! Thanks for getting that favicon from cnn!