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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Developer
john.clyma
Posts: 1
Registered: ‎04-16-2009

Icon for link to web application

I am looking to do something similar to ESPN for my client.  I have developed some mobile friendly content and would like to provide an icon that can be loaded to the BB.  When the user clicks on it, I want it to link to the mobile site.  It gives the look of it being an application but really is a linked icon.  As I mentioned ESPN does this.  Any thoughts?  I may add that 1) I know as a BB user I can add an icon and link it myself, however, I want the users to be able to download this. 2) This orginazation is member based and their devices vary in type and provider.  So doing this through an enterprise solution is/may not be an option.  Does this make sense?
Please use plain text.
Developer
jwargo
Posts: 394
Registered: ‎12-18-2008
My Carrier: AT&T

Re: Icon for link to web application

It's a Java application that just launches the browser (default or specific, the code is different) to open the URL. There are several knowledge base articles on this.  The application uses the Invoke API to launch the browser. If you don't want to use the default browser, then the application will need to search the service books to locate the one you want then launch the URL. This is all shown in the knowledge base articles.
Please use plain text.
New Developer
rksii
Posts: 1
Registered: ‎09-21-2009

Re: Icon for link to web application

Forgive me for asking what will probably be a very dumb question but I am a complete BB noob. The original post in this thread makes it sound easy for a user to add an icon for a browser link but, for the life of me, I can't figure out how to do it. I would appreciate if you could point me in the right direction.
Please use plain text.
Developer
jwargo
Posts: 394
Registered: ‎12-18-2008
My Carrier: AT&T

Re: Icon for link to web application

The answer you seek can be found in the document (and source code) attached here.
Please use plain text.