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: 79
Registered: ‎09-17-2012
My Device: Torch 9800
My Carrier: DiGi

Creating A Download Page

Hi all.


I'm trying to create a page for users to download the .jad by placing the link "http://someserver/somefolder/installerdate/app.jad" to either maybe a button or anchor links. 


Is there a way to checked if the app is installed in the device? If the app is being installed, then the download button/link won't be displayed.


Thank you.

Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Creating A Download Page

No I don't think you can.  You cannot poll the BBOS device to see if the app has been installed from a Web server.


However doesn't the JAD file tell you if the app has already been installed (i.e. when you re-load it in the browser after installing the app)?


Otherwise, the only way I can think this could work is if the devices are being used within a corporate environment and the BES (BlackBerry Enterprise Server) administrator has modified the rimpublic.property file to allow the device PIN to be transmitted as an header with any HTTP request.  More info described here:



You could modify your app to make a WebService call to your server to say "I have been installed on this PIN" and save that value to some server-side DB.


If these requirements are in place, then 1) you can identify who is trying to access the JAD by looking at the PIN HTTP header and 2) choose to display the download button based on the existance of that PIN in your server-side DB.


This may be far more work than you're looking to do, but is really the only solution I can come up with for the JAD app architecture.



Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.