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

Application Deep Linking from the BlackBerry Browser

by Retired on ‎10-29-2010 11:13 AM - edited on ‎11-15-2012 11:43 AM by Retired (6,307 Views)

This article demonstrates how a web page rendered by the BlackBerry® Browser can link to other applications within the BlackBerry® Device Software.

 

Applications created using the BlackBerry® WebWorks™ App Platform share the same rendering engine as the native BlackBerry Browser application.  As such, the following features are supported within a BlackBerry WebWorks application as well.

 

Attached at the end is a sample HTML page that demonstrates all of the snippets shown below.

 

 

 

Supported? BlackBerry OS 5.0, 6, 7 BlackBerry® Tablet OS BlackBerry® 10
mailto: Yes Yes Yes
tel: Yes No Yes
wtai: Yes No No
sms: Yes No Yes
pin: Yes No  No

 

 

 

 

 

 

 

 

 

 

 


 

Email

 

The BlackBerry Browser supports the "mailto:" scheme when used within a hyperlink:

 

 

<a href="mailto:test@test.com?subject=test&body=Hello%20World">
mailto:test@test.com
</a>

 

 

Phone

 

The BlackBerry Browser supports the "tel:" and "wtai:" schemes used within a hyperlink:

 

 

<a href="tel:5198887465">tel:5198887465</a>
<a href="wtai://wp/mc;5198887465">
wtai://wp/mc;5198887465
</a>

 

 

SMS / Text Message

 

The BlackBerry Browser supports the "sms:" scheme used within a hyperlink.  SMS integration is supported in the BlackBerry® 6 browser only:

 

 

<a href="sms:5195551234?body=Hello%20World">
sms:5195551234
</a>

 

 

BlackBerry PIN

 

The BlackBerry Browser supports the "pin:" scheme when used within a hyperlink:

 

 

<a href="pin:1234a567">pin:1234a567</a>

 

 

 


 

 

BlackBerry Maps

 

The BlackBerry Browser can recognize *.xloc files that have a MIME type of text/vnd.rim.location as location files.  When users click on hyperlinks referencing these file types, it will send the location information contained in the *.xloc file to the BlackBerry® Maps application:

 

 

<a href="location.xloc">Open Map - Waterloo, ON</a>

 

 

Contents of location.xloc :

 

 

<lbs>
<location lon='-8052237' lat='4346518' label='Waterloo, ON' description='Waterloo' zoom='10'/>
</lbs>

 

 

BlackBerry App World

 

The BlackBerry Browser can recognize *.bbaw files that have a MIME type of application/x-bb-appworld as BlackBerry® World™ storefront files.  When users click on hyperlinks referencing these file types, it will send the application information contained in the *.bbaw file to the BlackBerry World application.

How to - Invoke BlackBerry App World from a Web page

 

 


 

Links:

 

Users Online
Currently online: 53 members 1,924 guests
Please welcome our newest community members: