How to use API BBM? The BBM SDK or the 'other' BBM API

Hello

There seems to be 2 ways to access the BBM. There are api BBM in documentations of BB you can see here:
http://www.BlackBerry.com/developers/docs/5.0.0api/index.html net.rim.blackberry.api.blackberrymessenger of the package. However, there are also the BBM SDK APIs, which seems to be quite different.

I searched the hi and low for a comparison of these 2 ways to access the BBM. I'll appreciate your help.

BTW: I built an application with the BBM API in the documentation of BB (not the BBM SDK docs), but I get nothing when I try to access the session, i.e. MessagerContact.getSession (where MessengerContact is a MessengerContact object). I don't understand the reason for the null value. I run the tests from the emulator.

Thanks for your help.

Welcome to the forum.

BBM API documented in the Javadocs is for the old BBM, which was replaced.  The SDK is so the way forward.

Good luck

Tags: BlackBerry Developers

Similar Questions

  • How to use paper in the latest version of Windows Live Mail?

    How to use paper in the latest version of Windows Live Mail?

    Version 2011

    Short answer: the stationery support has been removed from Windows Live Mail with the upgrade of v.2009 v.2011 back in 2010.

    Long answer: there are two solutions of workaround that you can try.

    • If you have a stationery .htm file, open it in Internet Explorer, and then select file > Send > Page by email (Alt - F E P). Save the message as a result as a .eml file and use it as a model for messages.
    • You can get in shape, for example a background color, to a HTML signature, then apply this signature to an e-mail message. Here's the one I use when sending pictures:


      Hello!

      Love
      Noel


      Here is the result:

  • JavaFX how to use WebView load the local HTML page?

    JavaFX how to use WebView load the local HTML page?

    If the HTML code of the files in the class path, which is in the package, the load using one of the following ways:

    String url = Main.class.getResource("/html/index.html").toExternalForm();
    engine.load(url);
    

    The above methods can only load files outside the class path!

  • I need to do to copy a model of title on a USB key, so I can use it in the other computer. How can I do?

    I need to copy a model of title on a USB key, so I can use it in the other computer.

    How can I do?

    On 1 PC export to the USB key as title and move the usb to PC 2. Import the track recorded for the first as a title, open and add styles.

  • How to use PS to judge the existence of a file in the directory specified and how to use PS to the directory specified for create to create the file? (javascript)

    1, how to use PS to judge of the existence of a file in the specified directory? (using javascript)

    2, how to use PS to the directory specified for create to create the folder? (using javascript)


    Thank you!

    If (Folder(/*_insert_the_path_here_*/).exists == false) {Folder(/*_insert_the_path_here_*/).create()}

  • How to use photoshop with the same account on more than one laptop?

    How to use photoshop with the same account on more than one laptop?

    a single user license entitles you to two facilities simultaneous/activations.  so, what's the problem?

  • whenever I tried to open a program, a window opens asking me programs that should be used to open the other program

    I was remove some unnecessary programs and sudennly the computer ask me which program to use to open the other program. I turned off the computer and then I used safe mode to see if I could restore my computer to a quick setup. but the very thing. I don't know if I erased by mistake som program. This never happened to me before. I use windows XP. I use internet explore to open a program and send me just for internet explorer, but not programs to opt I want you use. Any help o help to solve this problem? I'll apreciate any help thanks.

    Hello

    I suggest you to related changes by default by using Set Program Access and computer defaults:

    Method 1:

    How to change your default programs and enable or remove access to Microsoft Windows programs and non-Microsoft: http://support.microsoft.com/kb/332003

    Method 2:

    How to change or choose the program that starts when you double-click a file in Windows XP.

    http://support.Microsoft.com/kb/307859

    Method 3: If the problem persists, then try to create a new user account and check if it helps.

    How to create and configure user accounts in Windows XP

    http://support.Microsoft.com/kb/279783

    Hope this information is useful.

  • I use FrostWire and the other asked me to update, so I did and came up with this message, 'FrostWire can damage your computer. You must eject the disk image.

    Hello...

    I wonder if you can help me with a problem with my desktop OS X El Capitan 10.11.4 various...

    I use FrostWire and the other asked me to update, so I did and came up with this message, 'FrostWire can damage your computer. You must eject the disk image. There is no disk in my hard drive... I try to download again, but still the same message...

    Help, please...

    Much thanks

    Lisa

    < re-titled by host >

    The actual message means you need to move the mounted image - the small icon that is displayed after you double-click the .dmg - and put it in the trash.

    Where do you see the message your computer?

  • I want to connect two monitors, but there is only a single port VGA on my PC. How do I plug in the other?

    Only a single port VGA on my PC

    I want to connect two monitors, but there is only a single port VGA on my PC. How do I plug in the other?

    Friday, June 22, 2012 14:19:44 + 0000, CSAChi wrote:

    I want to connect two monitors, but there is only a single port VGA on my PC. How do I plug in the other?

    You must buy a second video card or replace the one you have
    with a card that takes in charge of two monitors.

    Ken Blake, Microsoft MVP

  • I have seen the user that one of my menu apps start how do I see on the other?

    I installed Microsoft office on my pc but I got 2 users. I have seen the user that one of my menu apps start how do I see on the other?

    Former title: need help please

    Soumya, salvation

    Thanks for posting the query on Microsoft Community.

    If I understand correctly, you want to access the applications in the two accounts on your system.

    When you say "I could see menu start of the user as a single of my apps", are you talking about office applications or other applications?

    For the office, if you are installing Office into the administrator account, it will be copied to all user accounts on its own.

    For other applications, you can consult the links below and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows8_1-security/sharing-apps-on-the-same-Windows-81-computer/11102ceb-4C99-4BB1-81fb-6c9e91b4066d

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-windows_store/can-different-local-users-on-a-Windows-8-PC-share/a3d40be6-3504-4e61-8b13-d8f8e5c7bc3b

    I hope this helps to solve the issue. If the problem persists, get back to us. We will be happy to help you.

  • How to use and control the tabs?

    Sorry for such a general question, but I use Firefox with older versions of Mac OS x for years and have just been struck by this brand new and I have no idea on your tabs, "new tab page" etc. Can you just send me some documents so I can understand what they are and how to use them?

    All I see on my headers Ff are all sorts of legs that have no relevance to me, like 'how to stop Firefox from... '. "(twice), a few other symbols Ff and other"tabs"I don't know everything." All the do is filling up a bar line.

    Thank you-

    You are welcome.

    If you have any other questions feel free to ask them.

  • How to use notes during the writing of my book with pages?

    How are used to write a book with pages of notes?

    You need the Apple EndNote plug-in for Pages v2.0and the EndNote 7.3.4 application (or later version) installed for compatibility El Capitan. With the plug-in installed and EndNote works, then you start Pages v5.6.1 and the Insert menu: reference EndNote is available for use. Launch Pages v5.6.1 prior to 7.3.4 EndNote and endnote reference entry in the Insert menu is not active.

  • How to use PersistentBitmap in the version 5.0 or any other method?

    I am completely unaware of an example of use of PersistentBitmap and am also not sure if it can be used in 5.0 but anyway, I extract the code next, I received, could someone advise me on how to use it?

    I have several images I want to stay put on the BB, even after a hard reboot. Links or advice is welcome! Thank you

    {classPersistableBitmapimplementsPersistable}
    int width;
    int height;
    int [] argbData;

    publicPersistableBitmap (Bitmap image) {}
    width = image.getWidth ();
    height = image.getHeight ();
    argbData newint = [width * height];
    image.getARGB (argbData, width, 0, 0, 0, width, height);
    }

    publicBitmap getBitmapImage() {}
    Bitmap image = newBitmap (width, height);
    image.setARGB (argbData, width, 0, 0, 0, width, height);
    return image;
    }

    The link below points to the documentation on the use of persistent store.  Take a look and let me know if you get stuck.

    https://bdsc.webapps.BlackBerry.com/Java/documentation/ww_java_datastorage/PersistentStore_intro_198...

  • How REGEXP_REPLACE used to replace the part of the string?

    Hello

    How can I replace the portion of string as follows, I want to replace the space as by ' - '.

    SELECT
    REGEXP_REPLACE (superior ("' Laura bought stuff from 2000 USD on 12 September 2012 to KL and kl left on September 20, 2012"),)
    ' [0-9] {1,2} [^ 0-9](JAN|) FEB | MAR | APR | JUN | JUL | AUG | MS | OCT | NOV | DEC) [^ 0-9] [0-9] {4}',
    (','-') "REGEXP_REPLACE.
    FROM DUAL;

    the output will be like this

    Laura bought of the stuff of 2000 USD on 12-Sep-2012 of KL and kl left on 20-Sep-2012

    concerning

    Something like that?

    SELECT
    REGEXP_REPLACE('Daivd bought stuff by 2000 USD on 12 Sep 2012 from KL and left kl on 20 Sep 2012',
    '([0-9]{1,2}) (JAN|FEB|MAR|APR|JUN|JUL|AUG|SEP|OCT|NOV|DEC) ([0-9]{4})',
    '\1-\2-\3',1,0,'i') "REGEXP_REPLACE"
    FROM DUAL;
    

    Explanation:

    You group the parts of the date de-construct with (additional).
    You can use expressions, backreference \1 \2 \3 and add '-' between \1-\2-\3 signs.

    You should not user upper ('...') in the first parameter. If you cannot recover the original state of the letters.
    If you want to case-insensitive matching you should use 'I' in the last parameter of regexp_replace.

    http://docs.Oracle.com/CD/B19306_01/server.102/b14200/functions130.htm

    Published by: hm on 25.09.2012 00:38

  • How to use setFireActionForSubmit with the settings and capture the parameter

    Hello

    Can someone explain how to use setFireActionForSubmit.

    I extend the ShoppingCartPG controller. In the extended controller processRequest method I am adding a button to the table and implementation of the setFireActionForSubmit, so when the button is pressed it triggers the setFireActionForSubmit event.
    I need to pass the RequisitionLineId as a parameter which is present in the t associated with the ShoppingCartPG.

    I used the following code in the processRequest
    =================================
    ' public void processRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processRequest (paramOAPageContext, paramOAWebBean);
    OATableBean otbRN = (OATableBean) paramOAWebBean.findIndexedChildRecursive ("ItemTableRN");
    OASB OASubmitButtonBean = (OASubmitButtonBean) paramOAPageContext.getWebBeanFactory () .createWebBean (paramOAPageContext, "BUTTON_SUBMIT");

    oasb.setID ("addnInfo");
    oasb.setUINodeName ("addnInfo");
    oasb.setText ("additional information");

    String pageName = paramOAPageContext.getRootRegionCode ();
    Hashtable params = new Hashtable (1);
    params.put ("param1", pageName);

    Hashtable paramsWithBinds = new Hashtable (1);
    paramsWithBinds.put ("param2", new OADataBoundValueFireActionURL (OASB, "${oa.encrypt.current.RequisitionLineId}"));
    oasb.setFireActionForSubmit ("addnInfoEvent", params, paramsWithBinds, false, false);

    otbRN.addIndexedChild (oasb);
    }
    =================================

    And I capture the event "addnInfoEvent" in processFormRequest method and trying to capture the RequisitionLineId I the past as a parameter.
    This is the code that I used in processFormRequest.
    =================================
    ' Public Sub processFormRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processFormRequest (paramOAPageContext, paramOAWebBean);
    OAApplicationModule localOAApplicationModule = (paramOAWebBean) paramOAPageContext.getApplicationModule;

    String strEvent = paramOAPageContext.getParameter (EVENT_PARAM);

    If ("addnInfoEvent".equals (strEvent))
    {
    Number format = 0;
    try {}
    Format = new Integer (ClientUtil.getDecryptedParameter (paramOAPageContext, "param2"));
    }
    catch (System.Exception e) {e.printStackTrace () ;}

    String outmsg = "line ID:" + size + ":" + strEvent;
    throw new OAException (outmsg, OAException.INFORMATION);
    }
    }
    =================================

    But I'm not able to capture the RequisitionLineId I sent as a parameter.
    Can someone let me know what I am doing wrong.

    Hello

    Because your table is not a tip so table using a submit button approach will not work because it won't give you rank of reference and you will not be able to enter the id of the corresponding command line, instead you use an icon of the image, which can be created through customization. Let me know if you need help in the code.

    Thank you
    Pratap

  • How to use profiles for the metadata tab in window of Contribution

    Hi Experts,

    Is it possible to use profiles in metadata tab Contribution. ??

    I want each payable region must have its own profile. For, for example, if the user will pay company information, then the metadata tab should show only metadata related company, not other meta data that are not relevant here.



    Help, please

    I thought you said you knew how to use/create profiles in your previous post...

    It's the quick rundown: like the regular profiles, you will first need to make sure your content has the metadata field to trigger profile assigned when it is created. This is done in designer under the definition of "Changing the content of the region" in your area of contribution. Assign the "value of trigger to profile" under "Default metadata" and then as idoc to the activation of your profile content rule condition.

Maybe you are looking for

  • Calendar month view

    Have not found a way to do it, but if there has made me know. In day and week view, you can swipe left or right to decrease or increase the day or the week. I can't seem to do this in months to go next month, is this possible?

  • Just a simple question

    Dear customer support, I have HP Pavilion g6-1325sx Notebook PC with 2 graphics drivers AMD HD graphics driver and High definition (HD) of Intel Graphics Driver Use both, or enough to use only one?     Just a troubled life

  • PC Windows 7 after authentication of login take longer startup time for show desktop

    My PC takes longer to show desktop. It's really annoying. I want ot fast to the top of my PC. According to me, it's a starter problem or due to a lot of useless data. Below more details on my PC Configuration: ------------------ Information System --

  • Display of product key OEM Dell Win7 as not authentic

    I recently gave a member of the family one of my old Dell laptops that had Win7 Pro is installed. Suddenly, they receive messages about the product is not authentic not.  They have not reinstalled Windows, and the key is visible as an OEM key.  Why t

  • U3011 no driver available? -Help!

    I have moved my U3011 to another system and can't find the original CD that came with the monitor. On the original system, I installed "U3011" driver from the disk, and the computer recognizes it as a "Dell Ultrasharp U3011". On the new system, it is