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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

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

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 6
Registered: ‎08-04-2010
My Device: Not Specified

Adding WebSite to Home Screen Icon

Is there a blackberry equivalent to apple's "apple-touch-icon"; I'm just looking to make that icon that shows up on the home screen look nicer.

 

Thanks!

New Contributor
Posts: 6
Registered: ‎08-04-2010
My Device: Not Specified

Re: Adding WebSite to Home Screen Icon

Anyone?  The blackberry blog is somehow doing this, but I can't figure out how.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Adding WebSite to Home Screen Icon

Are you referring to BlackBerry 6?  On 5.0 you could not bookmark a page to the desktop.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 6
Registered: ‎08-04-2010
My Device: Not Specified

Re: Adding WebSite to Home Screen Icon

I'm referencing BB6.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Adding WebSite to Home Screen Icon

At the moment it doesn't support the apple markup.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 6
Registered: ‎08-04-2010
My Device: Not Specified

Re: Adding WebSite to Home Screen Icon

Ok, that's not what I'm asking.  i was asking what the equivalent to the apple-touch icon on BB is?  I know it must exists because if you place the BB  blog on the home screen, they are somehow specifying the icon. 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Adding WebSite to Home Screen Icon

I believe it is done the same way as setting an icon in the address bar of a browser... here is an example:

 

http://www.chami.com/tips/internet/110599i.html

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 6
Registered: ‎08-04-2010
My Device: Not Specified

Re: Adding WebSite to Home Screen Icon

Uh, no it's not.  The short cut icon or whatever you want to call it, is 16x16 and the blackberry browser uses it to create a merged icon of a screenshot with the icon in the lower corner.  However, the blackberry blog is overriding this behavior with a high quality image that then appears on the home screen (same behavior is iOS and Android).

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Adding WebSite to Home Screen Icon

You're right.. I was mistaken..

 

You can either put an icon file named apple-touch-icon.png in the root of your webserver domain, or add <link rel="apple-touch-icon" href="/custom_icon.png"/> to your page.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Highlighted
New Contributor
Posts: 6
Registered: ‎08-04-2010
My Device: Not Specified

Re: Adding WebSite to Home Screen Icon

Thanks! Note for others looking at this thread, the reason I ran into trouble is that apple supports a couple of different touch icons (so does android).  If you don't want apple to "gloss" the icon you use  rel="apple-touch-icon-precomposed".  However, after you posted this info it appears that BlackBerry does support apple's touch icon, it just doesn't support apple's precompose icon.  So you can do this:

 

<link rel="apple-touch-icon" href="apple-touch-icon-precomposed.png" /> 
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png" /> 

 

This seems to do the proper thing on each platform.  Having the link second for the iPhone/iPad seems to tell it to follow the precomposed directive and not gloss; and now BB is grabbing the "apple-touch-icon" (which it doesn't gloss anyway).