blackberry.bbm.platform.users.shareContent is not defined

I'm trying to share content via BBM with my app, but when I use the blackberry.bbm.platform.users.shareContent function, I get the following error that it has not defined:

TypeError: 'undefined' is not a function (assessment 'blackberry.bbm.platform.users.shareContent ()')

I checked the blackberry.bbm.platform.users object, and there only the inviteToDownload function. (check the attached screenshot)

How is that possible? did I miss something necessary?

My config.xml file contains:

 

<>Ermit > bbm_connectermit >

In addition, inviteToDownload works very well and I'm using the latest version of the SDK: BlackBerry 10 WebWorks SDK 1.0.4.11.

shareContent is not supported on BlackBerry 10.  The BBM SP session and channels that allow a communication device are not supported in BlackBerry 10.  These are supported in BlackBerry OS 5 to 7.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry.BBM.Platform.Register does not

    I use the Simulator with webworks.  I simply call the register method, but nothing happens:

    blackberry.event.addEventListener("onaccesschanged", _bbm.test);
    
    options = {
    uuid: "aaa90f91-ad95-4ba9-82c4-33f6ad69aaaa"
    };
    
    blackberry.bbm.platform.register(options);
    

    The callback method is never called.

    This code is:

    https://github.com/BlackBerry/BB10-WebWorks-community-samples/tree/master/BBM/complete

    In addition, it is the config file:

    
    bbm_connect
    
    
    
    
    

    The BlackBerry 10 Dev Alpha Simulator does not support BBM.  We are currently working on BBM adding support to the Simulator.  For now you will need a real device to test.

  • Blackberry blackBerry Smartphones new user... not so happy with the storm so far

    Recently, I upgraded my LG Storm for the Blackberry Storm, and he received the day after Christmas.  I spent all night on the phone with Verizon customer service trying only why my phone keeps restarting and stopping himself.  This was even after I download Blackberry Desktop and put Manager upgraded to the new software.  Verizon's CS could not understand why this has happened and shipped me another one which is schduled to arrive not later than Tuesday.  Im a bit annoyed because I originally for the curve but I knew that the curve had been out for a while and I wanted to not Verizon to go out with the curve of new and improved (8900) because I would not like that... lol... and I got the storm to an as much (149.00) I could not beat this price.  When the phone has not been rebooted itself with that I managed to play it a little bit and it is really easy to use outside the switching of the letters and numbers when text mode n landscape.  Bus, aside from that, the email and myspace for mobile installation was child's play.  I hope the next I get works or well I will return it for the curve.  If anyone has heard or have lived this restart/stop function let me know...

    sincerely for the time being not happy with user of storm

    You do not have to have an account or access to the BIS server - but if you do, you can do things like send your service books or the program installation/change on your BB email accounts without having to call your service provider (i.e. Verizon).  Account e-mail setup/changes can be done form the device but I don't know a way to return the service form books the unit itself - I think that you are only option are access via the BIS site I've provided or call the technical support of your provider.

  • Blackberry Simulator user agent is not Unique?

    I'm having a lot of trouble to customize the style sheets for Blackberry devices because I do not have before me, physically.

    When I run the Simulator BlackberryOS (using VMWare Fusion in OSX 10.9 emulation) and run a detective to a WebKit browser, I get this as the useragent:

    navigator.userAgent"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.35 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.35"
    

    That does not seem that this would be the same string that a physical Blackberry smart phone would be out... right? Below (Javascript) code that I use for devices Blackberry target.

             var ua = navigator.userAgent;
               if (ua.match(/(BlackBerry|Blackberry|blackberry|BB|bb|RIM|rim|Playbook|PlayBook|playbook)/)!=null) {
                    document.write('');
                    console.log ('Blackberry confirmed');
                }
    

    He looks at something weird happens and the userAgent comes from somewhere else. I don't know how.

    The userAgent should be

    "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.35+ (KHTML, like Gecko) Version/10.3.0.440 Mobile Safari/537.35+"
    

    which I pulled the Simulator 10.3 beta.

    If you need to match on the userAgent, add "BB10" to your list. I understand that you are probably working on software that cannot be changed easily, but if possible, I would recommend moving detection feature and no browser detection. This is one of the reasons why the userAgent changed with BB10 - it's because too many sites could detect a BlackBerry and offering users an experience tailored for phones from 7 years or more, when perceive it BB10 browser is unmatched for its performance and features HTML5.

  • BlackBerry.UI is not defined.

    I am trying to add a personalized my widget menu item. I have included the necessary feature element in the config.xml file, but it seems that things blackberry.ui.menu * is not available for the script. Here's what I see:

    alert (typeof blackberry) reports"objects «»

    alert (typeof blackberry.ui) reports "undefined".

    alert (typeof blackberry.ui.menu) throws an exception (obviously, because blackberry.ui is not defined)

    Anyone know what is happening? The same script uses the stuff blackberry.location. * without difficulty, but a difference as possible, there is stuff of localization are "native browser" and didn't need to be activated using an element. Another thing to note is that the script is remote, i.e. it is referenced by a URL http rather than coming to archive local widget.

    Very strange... There is a base case that is covered in many of our test scenarios that everything goes...

    You are positive you have the declared following feature (it is case-sensitive):

    
    

    Another question... you this task on a web page that is coming from another domain?  If Yes, then you must add the element feature as a child of the element white lists this area.

    The origin of the page is based on the domain of the page HTML itself.  So if you have a local page in the widget and you are linking to a javascript from a remote domain, the origin of the page is always local.  Simply nest elements in the element, if you have a HTML from that domain.

    I have a blog post explaining this... I'm waiting for the blog team to post

  • "Mandatory filed is not defined ' error occurred before the user enter the stage

    Hello

    After this problem to see if anyone can help.

    I use vRO 5.5. I create a workflow and add three steps for the user to enter.

    In step 1, the user will choose param_1. For step 2, param_2 is defined as entry required and predefined of items list. He'll call an Action for this list. Param_1 will be the parameter of this action. See the image below:

    Now I start this workflow, after I select param_1, Action in step 2 will be called immediately and error "required field is not defined" appeared in step 2. But I do not click even next to step 2.

    I don't think it's a user of good experiences. Does anyone have a solution for this problem?

    Thank you

    Vicky

    Hi Vicky,

    There is no solution for this problem (in the case of the vCO Java client). I couldn't be the best possible UX, but it's how we run presentations.

    On the level of the API, there is no special handling for the steps. Each operation is performed on the entire presentation. That is, consumer API specifies no such thing as 'current' step - the API takes one or more input parameters (possible from different stages) and returns the presentation all re-evaluated.

    Therefore for the API client to track the current step and decide whether to display warnings/errors for fields that do not belong to the current step. client Java vCO has decided to display all steps validation errors; other clients may decide differently and provide the best UX.

  • Planning reports &gt; user time zone is not defined.

    Hello

    It gives below error when I select the snapshot recorded under REPORTS and continue.

    The user's time zone is not defined. Please click on the link 'Préférences' in the upper right and specify you the zone to proceed further.

    In the preferences there is no option to set the time zone. Please notify.

    Kind regards
    Raj.

    There are 3 options of profile which must be equal-

    1. "allow time zone Conversions' should be set to 'Yes' at the level of the Site.
    2 ' server Timezone' must be set at the Site level for the time zone in which resides the database server.
    3. "time zone of the client" must be set for each individual user in the user level based on the location of users (not if the default user level the value "Server time zone").

    For customizations, see MOS Doc 304670.1 pl (how to remove a customization of the OA framework)

    HTH
    Srini

  • BlackBerry Smartphones Pearl user does not know password key stored

    Hello

    update my laptop, installed, Office Manager went to do my first backup on my new computer, and he asked a stored key password. I don't know what it is or how to find it out. Can you help me please?

    If you have not defined keystore password just press OK and leave the empty password field in the popup.

  • In Printer preferences group policy: printer appears but does not define itself by default

    People,

    I have my shared network printer installation group policy preferences. I have ensured that the Restrictions point and print are disabled in the parts of the user and the police computer. Each preference has a targeting rule that identifies computer names to apply this printer too and also users run in the security context is selected, both the game as default printer checkbox is checked. Mappings check only 1 printer is defined as the default value with pc.

    When a computer maps the printer on the initial user connection (IE when their roaming profile is created), it appears in the list of available printers and devices, but it is not defined by default. It gives an error when you try manually set as default: 0 x 00000709. I looked into the case of the newspapers that I see that the reason is not defined:

    The following information is part of the event: user, , printers by default {AA8B60B5-0555-45BD-9A8F-FAFA4D3DB7D8}, 0 x 80070709 the name of the printer is invalid...

    I looked at the registry of the user and NO connection string is displayed in HKCU\Printers, as I expect the error!

    If I then remove the printer from the list by right-clicking and choosing to remove the instrument and then type GPUPDATE to refresh policies, the printer is remapped and made the value by default as I expect. Once this has been done the printer seems to work for subsequent connections by the same user.

    If you don't remove this error persists.

    Anyone know what is happening because of the initial connection to fail map the printer properly?

    Thanks for any help,

    Martin Searle

    Developer of desktop platforms

    University of Kent, UK

    Hello

    The link below is better suited for your question on the preferences of the printer in a group.

    Please post your query on the printer preferences in a group by clicking on the link below:

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    I hope this helps!

  • BBM BBM for Android / iOs Vs for Blackberry BBM, BIS perspective

    Now that blackberry launched BBM for users both android & iOs, they have a distinct advantage over native blackberry users. they do not need BIS to use BBM. It's kind of unfair to blackberry as android users users & iOs can use BBM on any single data plan, while BB users have a BIS data plan. cost wise it is a significant difference between regular & blackberry data plans data plans. Blackberry users have to spend on expensive BIS for BBM data plans, while android & iOs users can run on simple data without BIS plans.

    Its something that's bothering me.

    You can. The new BlackBerry on BB10.

    Guess what? Buy you an old car of the 1970s, and it will allow gasoline STAINED GLASS.

    Things change.

    Legacy BlackBerry require BIS. Period.

  • HELP BlackBerry Messenger platform problem-"Access Violation" when registering

    Hi all

    I am trying to create the object of class BBMPlatformApplication as follows

    and try to save it:

    private class BBMAppPlugin extends BBMPlatformApplication{
            public BBMAppPlugin(){
                super("5FBAD902-0E8C-81AC-E6FF-62D17AFD9BE6");
            }
        }
    

    I create an object of this class and simply try to regisiter using:

    BBMAppPlugin bbmPlugin = new BBMAppPlugin();

    platformContext = BBMPlatformManager.register (bbmPlugin);

    But the meothod of registry, the 9800 Simulator, to 6.0.0 platform, just hangs and gives an error dialog box:

    Internal error - Simulator BlackBerry 9800
    ------------------------------------------
    "Access violation writing to 0x2A5CFD9C.

    After that I also dismiss the dialog box, the Simulator disappears from the display.

    What is going on?

    What is happening with all the codes of the sample as well as BBMSdkDemo of the RIM.

    Someone HELPPPPPPP!

    I call the method register inside another object as follows:

    As soon as the executable is called the error appears:

    /**
    * Constructor.
    */
    BBMHelper(){
    BBMAppPlugin bbmPlugin = new BBMAppPlugin();
        // register the bbmPlugin
        UiApplication.getUiApplication().invokeLater(new Runnable(){
            public void run(){
                try {
                    platformContext = BBMPlatformManager.register(bbmPlugin);
                }
                catch (ControlledAccessException e) {
                    // The BBM platform has been disabled
                }
                if (platformContext != null) {
                    platformContextListener = new TheBBMPlatformContextListener();
                    platformContext.setListener(platformContextListener);
                    screenBBMInvite = new BBMInviteScreen(platformContext);
                }
            }
        });
    }
    

    It's the debug output that I get before the Simulator crashes:

    [0,0] 11/02 19:55:05.257 BBM FutureTask run: net.rim.device.apps.internal.qm.bbm.filetransfer.BBMFileT [0.0] ransferManager@bd3f718c
    [0,0] start FileIO:fileinfo 8
    [0,0] FileIO:info by full name 8
    [0,0] start FileIO:fileinfo 9
    [0,0] FileIO:info by full name 9
    [0,0] FileIO:fileinfo start a
    [0,0] FileIO:info by name full one
    [0,0] b FileIO:fileinfo beginning
    [0,0] FileIO:info by full name b
    [0,0] FileIO:fileinfo start c
    [0,0] FileIO:info by full name c
    [0,0] FileIO:fileinfo beginning d
    [0,0] FileIO:info by full name d
    [0,0] FileIO:fileinfo e beginning
    [0,0] FileIO:info by e full name
    [0,0] f early FileIO:fileinfo
    [0,0] FileIO:info by f full name
    [0,0] FileIO:fileinfo start 10
    [0,0] FileIO:info by full name 10
    [0,0] start FileIO:fileinfo 11
    [0,0] FileIO:info by full name 11
    [0,0] FileIO:fileinfo beginning 12
    [0,0] FileIO:info by full name 12
    [0,0] 11/02 19:55:09.875 BBM FutureTask finish: net.rim.device.apps.internal.qm.bbm.filetransfer.BBMFileT [0.0] ransferManager@bd3f718c
    [0,0] from the tasks planned: Wed Nov 02 19:55:12 America/New_York 2011
    [0,0] beginning 13 FileIO:fileinfo
    [0,0] FileIO:info by 13 full name
    [0,0] start FileIO:fileinfo 14
    [0,0] FileIO:info by full name 14
    [0,0] FileIO:fileinfo start 15
    [0,0] FileIO:info by full name 15
    [0,0] beginning 16 FileIO:fileinfo
    [0,0] FileIO:info by full name 16
    [0,0] FileIO:fileinfo start 17
    [0,0] FileIO:info by full name 17
    [0,0] completing tasks planned: Wed Nov 02 19:55:12 America/New_York 2011
    [0,0] type of bridge: 7 PID: 4028 uninit

    It turns out that there is an IllegalArgumentException in another part of my code.

    But this code was not serious.

    And also I needed to upgrade from version 5.0 to 6.0 blackberry Messenger blackberry app world.

  • Synchronize an unknown error: forms failed: ReferenceError: dbConnection is not defined

    I've never had success with Firefox sync and it gets really frustrating. The synchronization log appears to fail at this line:

    Sync.ErrorHandler forms of DEBUGGING failed: ReferenceError: dbConnection is not defined (resource://gre/modules/FormHistory.jsm:407:4) JS Stack trace: [email protected]:407:5 < [email protected]:274:10 < [email protected]:781:16 < [email protected]:51:5 < [email protected]:149:19 < [email protected]:919:22 < [email protected]:1518:7 < [email protected]:148:21 < [email protected]:668:5 < [email protected]:199:7 < [email protected]:149:15 < [email protected]:1295:7 < [email protected]:148:21 < [email protected]:103:16 < [email protected]:1285:12 < sync / < @service.js:1277:14 < [email protected]:77:16) < [email protected]:1265:5

    any ideas how to fix?

    Thank you.

    Hi deeptii,
    Thank you for reporting this issue. It is a problem that we saw in a version every night and has been corrected. What means the error, it is that the database is not accessible on the local computer Firefox profile folder.

    In order to check the permissions on the Firefox profile folder, you can go to:

    1. Open a new window in Firefox and click on the Firefox Menu.
    2. Click the question mark at the bottom of the menu
    3. Then click the "Troubleshooting" information and a new tab should load subject called: support
    4. From there, there is a button next to "Profile folder", this will open the directory where the profile folder. If its does not appear: profiles - where Firefox stores your bookmarks, passwords and other user data
    5. Right-click on the folder, and then click "Properties". In this menu, make sure that it is not set to 'Read only' (maybe it's a little different in Windows 10 please seek help from Microsoft, if it is no longer in this menu)
    6. Restart Firefox, the error is again started?

    Other work around is to remove this folder in the profile of: formhistory.sqlite (this file contains the content of the form, simply disconnected from the directory will create a new profile so when you restart Firefox, if there is a concern for dataloss)

    Please also post back with these results but also to copy the information that appears in the subject: support page.

    Thank you!

  • BB10: Error 1065 SkinAssets is not defined

    Try to get a very simple application of AIR working with BB10 10.0.4 AIR SDK and I get:

    ReferenceError: Error #1065: qnx.fuse.ui.skins Variable:kinAssets is not defined.
    at::ThemeWhite/createCSS() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\theme\ThemeWhite.as:25] qnx.fuse.ui.theme
    at::ThemeWhite() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\theme\ThemeWhite.as:20] qnx.fuse.ui.theme
    at::ThemeGlobals$/getTheme() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\theme\ThemeGlobals.as:246] qnx.fuse.ui.theme
    to qnx.fuse.ui.theme::ThemeGlobals$/http://www.qnx.com/2009/qnx/internal:getCSS () [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\theme\ThemeGlobals.as:235]
    at qnx.fuse.ui.core::UIComponent/get [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\core\UIComponent.as:910] css()
    at::UIComponent/init() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\core\UIComponent.as:212] qnx.fuse.ui.core
    at::TextBase/init() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\text\TextBase.as:666] qnx.fuse.ui.text
    at::Label/init() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\text\Label.as:115] qnx.fuse.ui.text
    at::UIComponent() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\core\UIComponent.as:180] qnx.fuse.ui.core
    at::TextBase() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\text\TextBase.as:468] qnx.fuse.ui.text
    at::Label() [E:\hudson\workspace\BB10_0_04-AIR_SDK_API\src\qnxui\src\qnx\fuse\ui\text\Label.as:107] qnx.fuse.ui.text
    at bb1() [U:\workspace460\bb1\src\bb1.as:12]

    It occurs when you create a label:

    import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
    
        import qnx.fuse.ui.text.Label;
        import qnx.fuse.ui.theme.ThemeGlobals;
    
        public class bb1 extends Sprite
        {
            private var label :Label;// = new Label();
    
            ///////////////////////////////////////////////////////////////////////////
            public function bb1()
            {
                super();
    
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                ThemeGlobals.currentTheme = ThemeGlobals.BLACK;
    
                this.label = new Label();
                this.label.text = 'Hello World';
                this.label.setActualSize( 200, 50 );
                this.addChild( this.label );
            }
        }
    

    The exception is thrown when you try to run it as an AIR application on the desktop.

    For BB10.04, skins residence in a native extension, so you have to add it to your project properties.

    Unfortunately, FlashBuilder requires two steps to do:

    The project must have the QNXSkins.ane added to it (preferences-> Build Path-> Native Extensions) and marked to be included in the file as well bar (preferences-> ActionScript Build packaging-> BlackBerry-> Native Extensions). For these, you need to expand the window to really see the checkbox for the DONKEY.

    Native extensions are under frameworks/libs/qnx/donkey.

    See you soon

  • can browse same APN is not defined?

    Hello

    If the AFN is not defined then by HttpCoonection, my application survey exception IOException: AFN is not defined. At the same time I can browse a different site through browser. How is it possible? Do I have to add more parameters for this.

    My url is

    URL + "deviceside = true";

    Thank you

    To understand your question, you have reading to do:

    Start here:

    http://supportforums.BlackBerry.com/T5/Java-development/networking-transports-II/Ta-p/446742

    and then watch this:

    http://supportforums.BlackBerry.com/T5/Java-development/different-ways-to-make-an-HTTP-or-socket-con...

    Once you've experienced all this, can you please consult your quesition and maybe ask a different way.

  • Smartphones blackBerry BBM contacts are lost!

    Hello

    Actually, today was the first time I'm using Blackberry Desktop Software. After connecting my device to the port USB, the Blackberry Desktop Software was asked to make a backup. I allowed that to happen, it's a backup.

    After disconnecting my device from the PC, I tried to use the BBM, but I realized that all my contacts are lost.

    I tried to restore my mobile files by using the application. When I did, I found all my files and information on the device, I found no BBM contacts, so I tried to restore contacts BBM of Blackberry Desktop Software, but that did not work.

    Also, sorry if my language is sick. I'm trying to improve every day.

    hope you help me

    I think that you have upgraded to 7 worm that saves your BBM contacts in your BB ID.

    If you have until you lost them trying to re-download and upgrade your BBM to ver 7 of

    http://BlackBerry.com/BBM

    Select your desired language and to update and then sign with your BlackBerry ID.

Maybe you are looking for

  • Qosmio G20 - 107 frozen surfing

    HelloI had a problem yesterday while surfing the net: the machine stopped responding (frozen), then I've heard a long (for 20 sec or more) beep. Then I had to restart the machine by pressing the power button. He is arrested, but it didn't start up ag

  • Satellite Pro A100: Display Driver ATI Mobile Radeon X 1400 WinXP

    Hello there :) I have browsed the forum and could not find another thread that helps me. I have a Satellite pro A100 PSAACE laptop, equipped with a Mobile Radeon X 1400 graphics card. Now, I was informed by the games that I play that drivers are up-t

  • Apple Watch back in the range

    I would like to know if the Apple Watch returns in the range with the iPhone, is pushed and shown on the watch notification?

  • Windows cannot start. Need help

    Hi, I have a problem and I hope someone can help me out. My laptop (satellite) could not suddenly start, saying that the following file is missing or corrupt: "windows\system32\config\system.You can try to repair this file by starting windows setup u

  • Captured by e-mail, sending Spam

    My email has been captured and sends spam to my address book.  How can I stop it?  It happened last Monday, and it happened again on Monday.  How is this happen and how can I prevent it from happening in the future?