integration of BBM

Hi all

In the development SDK BBM guide, chapter register your application with BlackBerry Messenger
platform, in step 4 is the manufacturer of the app:

public MyBBMPlatformApp()
{
myPlugin = new MyBBMAppPlugin();
pushScreen (new MyBBMPlatformScreen());
invokeLater (new Runnable()
{
public void run()
{
BBMPlatformContext = platformContext
BBMPlatformManager.register (myPlugin);
MyBBMPlatformContextListener platformContextListener;
platformContextListener = new MyBBMPlatformContextListener();
platformContext.setListener (platformContextListener);
}
}
);
}

I would like to test the presence of BBM6 before pushing my screen (I manage 2 screens, with the support of BBM6 BBM6 unsupported).
I can do in the run method?
Could someone provide a code example?

Thank your for your help.
Laurent

Unfortunately, it is not as simple as that.

On devices without support BBM your application will probably not yet start because classes you code refers to no exist do not.

What is recognized by developers BBM and they have prepared a number of options to handle this.

Look at the dependency checker, you will find on this page:

http://us.BlackBerry.com/developers/blackberrymessenger/

Tags: BlackBerry Developers

Similar Questions

  • Integration of BBM Android runtime?

    Hi all. Is it possible to connect my BBM BB10 or Playbook OS runtime android app?

    As far as I know for now that there is no support for the integration of BBM in the BB Android Runtime.

  • Integration of BBM to update status when the user has not created BBM

    Hello

    We have integrated the update of the status of BBM in our application.

    When the user opens the application they are requested permission to allow the application to access the BBM.

    Then, there is an alert message which says that BBM implemented is necessary to connect to the app with options to cancel or continue.

    If a user cancels out of the aler, they can always proceed through the app, but when they get to the point where they can hit a link to update their status, that nothing is happening.

    I want to know how to do is that if somebody hits cancel rather than implementation of surveys BBM can we set a flag to hide the update status BBM feature?

    Seems a bit odd to require someone to set up BBM but let them still cancel and run the application.  Aware that this should be handled but don't know where to do

    BBM must be installed before an application can complete the BBM registration process.  If they cancelled out of this process, you will get a value of successful registration.  You must activate the features BBM of your application after a successful registration.

    We still allow the user to run the application, because they may not want to configure BBM, but continue to use the application.

  • Integration of BBM: unable to complete the installation (in the Simulator)

    Hi, I have a problem, I wanted to integrate BBM to my Apps, but I actually just Simulator test.

    When I run and I add my blackberry ID I always get to this page:

    Isn't this possible? I have the newest emulator (10_0_09-2318) and the vmware player 4.0.4 build-744019

    but now, I found the solution:

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/BBM/bbmsp_testing_bbm_app_de...

  • integrating the BBM: feel free to download the example

    Hi all, I have an app with a tabbedpane and I would like to integrate the BBM: feel free to download the example. Since I'm a n00b C++ I have absolutely no idea on how to do it. The example of application starts on the screen where one can click on the button to invite friends through BBM surveys. I want this feature in a new tab. Guidance on what I need to change so that it works?

    I managed to do work and did a writeup on how I managed to do so:

    https://forrst.com/posts/Adding_BBM_Invite_To_Download_to_your_BlackBerry-FmY

    Enjoy!

  • Need help to use BBM profileBox integration

    Good night friends

    I have my app integrating the BBM but I tried to use the examples of Profilebox on GitHub and I couldn't connect.

    Can you help me with a better guide explained?

    I can't find information on google.

    Thank you and best regards.

    Hi a few days ago, I solved the problem

    Use the example:

    Hello BBM - https://bitbucket.org/jaiaca/blackberry_samplecode/src/ba8f099c9214/HelloBBM?at=default

    And really great work

    Thank you very much

    Close this topic

  • After integrating BBM - HardwareID does not work

    Goodnight friends

    Recently integrate my application to BBM social platform

    After doing this, the information contained in my application that has to do with HardwareInfo, BatteryInfo PlatformInfo and doesn't, or rather that they are not visible.

    Delete the value:

    _registrationHandler.registerApplication ();

    Works correctly without integration of BBM.

    I watch... before integration opens the dialog box displayed, once running, all the information is no longer visible.

    Kind regards.

    Hello.. I solve this problem... the code wasn't in the PPC of parent

    Thank you very much

    Close this topic

  • RegistrationState BlockedEnterprisePerimeter BBM

    Hello

    We strive to integrate with BBM but our application will be installed as a whole in the company rather then the personal workspace workspace, and we get the RegistrationState BlockedEnterprisePerimeter error. Is there a setting on the BES (12 or more) which allows BBM in the workspace company allow the integration of BBM?

    Thank you.

    simon_hain wrote:
    I think the variant of the company's 'Protected BBM', but I don't think that there is anAPI for her (?)

    Fix.  Protected BBM is a standard Client BBM feature, which still resides in the personal area.  Check BBM is still only possible from personal perimeter.

  • Versions of OS that is guaranteed to have BBM

    I'm working on the integration of BBM in my application.

    And I wonder if it is reasonable to assume that all phones running OS6 or above BBM has installed?

    None

  • Web Application vs Webworks for performance

    I plan to move from a Java based OS5 native application by using browserfield2 to a mobile Web site that runs in the native browser.

    I have several examples of mobile websites which have much higher speeds than I was able to achieve using the Java application.

    If I want to have the speed of the mobile site AND still have access to some system resources (possible examples might be local graphics resources, or a cache local or even integration of BBM), WebWorks is a viable solution?

    Q2.  If I adjust to the speed of the only native browser (assuming that the answer to my previous question is not), so in this case, WebWorks is just as good as the native browser when rendering web content.

    Yes, WebWorks was designed precisely for this purpose. It gives you the power of HTML5 mixed with native platform API. There is one thing to consider though. WebWorks APIs are always released later than the native APIs and sometimes they are never published by RIM (but you can connect to the existing native APIs if you can write an extension).

    Regarding the speed of rendering, it is usually as good, but there's an important limitation, you have a limited amount of memory available for your application.

  • Integration of video call of BBM

    Hi all

    I need help from guru BB10, is it possible to start the video call of BBM with custom controls added to the screen? I think it would be as a video call mode of overlay and controls customized on the top layer.

    The task in general to display custom in the BBM video connection controls (buttons, labels). I don't know if this is possible or not, and where I can dig more on the integration of video of BBM.

    This is not supported.  You can call a BBM video call in your application, but you cannot customize the user interface of the calling card (screen) itself.

  • How to pack and install integrated BBM app?

    I have an application integrated BBM6.0, based on the substitute auditor of dependence, i.e. the app runs with or without BBM 6.0. However, it has 3 files of cod - inteface.cod, impl.cod, app.cod (as the example of TIC-TAC-TOE)

    I don't know how to install all of them on Simulator or device - one by one, using the jad appropriate or to create a jad joint and define each of the cod files inside?

    How it works with the installation of BB App World - is to download three files-cod well enough?

    Any tips are appreciated

    On App World you just download all 3 cod and it will work.

    The Simulator just create a new run configuration and select all the three projects for her to run.

    To test the device I use updatejad.exe to add the common.jad and the dependant.jad to the main.jad.  Then you put all the cod and the main.jad on the server to install OTA.

    I hope this helps.

  • The BBM API integration

    Hello

    I want to integrate the BBM Api in my application where I can chat with my friends without switching to BBM app.

    I know, I can initiate the cat for any contact, but is it possible to receive messages in my application and continue chatiing?

    Any input on that?

    No, there is no API for BBM chat messages in your application.

    If you open BBM Chat card from your application with a user, you already have a BBM conversation with chat history is displayed.  But you can't have the content of the actual conversation within your application.

  • How to get the chat with BBM feature after third party app integration.

    Hello

    I downloaded SDK1.3 BBM and added to my application. I used following code to integrate BBM to my request.

    Bridge of BBMBridge = BBMBridge.getInstance ();
    BBMPlatformContext platformContext = bridge.getBBMPlatformContext ();
    Configure the listeners for the context
    ContextListener MyBBMPlatformContextListener = new MyBBMPlatformContextListener();
    platformContext.setListener (contextListener);

    here how to invite chat feature, sponsored... etc, as all the features BBM. After that BBM successfully verified, if I click the same button to reopen anything open. What I have to write something more. Please help me in this regard. If could provide all related code for this process would be appreciated.

    Please give me detailed explanations.

    Screen Muncher does not actually all contacts.  It makes a request to BBM and provides data to share.  The screen select the contacts that you see does not work inside Screen Muncher it's BBM code provided.  Then Screen Muncher does not get access to contacts that appear on the screen.

    You can see the same kind of thing when test you the SDK BBM.

    "I want to get all BBM contacts available in the machine. '" But I could not contact unless the contact who has my application installed.

    What you see is correct.

  • Reset the State of the permissions for the BBM integration tests

    For the purposes of testing, I want to cancel my BBM surveys application registration and clear all permissions for this.

    Now when I remove and redeploy the application, he recorded again but do so without up permissions dialog window to ask if I want to allow it to access BBM or not.

    What should I do to get that back? If I go to the window of permissions of Applications in the settings (which is extremely buggy, incidentally) and disable the authorization of BBM, it does nothing but block the application to use BBM.

    Try to change your application id then. (The in the bar descriptor). That * has * to work, by definition. If it isn't, then you're doing something wrong, I think. If you change the id app, it's actually a different application.

Maybe you are looking for