Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First, you need to decide whether your app <strong>must have</strong> BBM, or if it can still run without BBM, in some <em>degraded</em> mode (fewer features). It sounds like your app <em>can</em> run without BBM, so I'll address that scenario:</p> <p>Take a look <a href="http://supportforums.blackberry.com/t5/Java-Development/Alternative-BBM-Dependency-checker/ta-p/1491425" rel="nofollow">a this documentation and sample code from R. Masroor on BlackBerry.com</a>.</p> <p>From the description (<strong>bold</strong> is mine):</p> <blockquote> <p>The RIM supplied BBM dependency checker samples, provide two approaches to integrating with BBM. </p> <p>a) The <strong>proxy</strong> method which is appropriate when the application will not run without BBM – it directs the user to download BBM. </p> <p>b) By contrast, the <strong>interface</strong> method provides a way for an application to isolate itself from the BBM, so that the application can still run even if BBM is not installed.</p> <p>Why is this isolation needed? Because if a cod (project) references any BBM methods, then BBM must on the device and at a suitable level before that cod can be loaded. So if an application directly references BBM and there is no BBM (or no suitable level of BBM) on the device, the application will not run. </p> <p>Of the two approaches, <strong>the interface approach is probably the most useful</strong>, as most applications have functionality without BBM. But this approach has two disadvantages:</p> <p>• It requires a start up process to register the <code>RuntimeStore</code> Object </p> <p>• The layered approach and the use of call-backs makes this quite complicated for me.</p> <p>The attached project demonstrates a variation on the interface method, that creates the interface object at Application start-up, using <code>class.forName()</code>. Aside from this change, the sample provided is similar to the interface method, and is explained below. After the explanation of the attached project, this document explains how to create a different structure which you may find easier to work with.</p> </blockquote> <p>Also, for reference, you can take a look at the <code>BBMSDKDemoProxy</code> sample project that comes with the <a href="http://developer.blackberry.com/java/documentation/system_requirements_1396916_11.html" rel="nofollow">BBM SDK download</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload