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.

Posts: 12
Registered: ‎06-04-2013
My Device: Z10
My Carrier: Vodafone

How to launch the app from a URL and then navigate to a certain section



We have a responsive website built on Backbone.js, Zepto and HTML/CSS.


We are using WebWorks to build the app for deployment to the app store.


Our app has account sign up and confirmation etc.  Emails are sent out to the user from the server but when a user requests them from a mobile app we would like to be able to open the aforementioned app and then navigate to the correct section as dictated by the URL.


Is there an easy way to do this?  I would have thought the best way would be to detect if any email request was initiated by an app and then serve different URLs in the emails to the user that can somehow fire up the correct application.

Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: How to launch the app from a URL and then navigate to a certain section

Hmm - it sounds unlikely


The thing is that if your app has already registered the user once validated there should be no reason to use the method you describe


When resistering via the app also send the UUID of the device or some similar unique identifier


When you send the email activate that specific UUID (it's in blackberry.identity somewhere depending on OS and needs permissions)


As a result the user registers via the app - from which you got the UUID, they get an email they click on and that device is authorised to use the system


They then open the app and the login knows they are OK to use it


There are other methods I can thing of but this one seems easiest

Click the like button if you find my posts useful!
Posts: 35
Registered: ‎09-15-2012
My Device: AT&T Torch 9810
My Carrier: AT&T

Re: How to launch the app from a URL and then navigate to a certain section

If I'm understanding your problem correctly, I believe blackberry invoke API might be able to solve your problem. You can specify a custom uri scheme in your config.xml that will be recognized by the blackberry OS when your application is installed on the user's device. The browser is the gateway to launch your app using the custom uri.
i.e. if you register a uri of "launchmyapp;//specificlocationvariableshere", when that url is put the browser address bar(or clicked via anchor), the user will get a dialog asking to open your app.