BBM shareContent

Hello!

I am building a connected application of BBM with Webworks. I can't share content and I get the error:

TypeError: 'blackberry.bbm.platform.users.shareContent' [undefined] is not a function.


But I put the function "" as needed, and I was able to share an application with a contact.

Does anyone have a hypothesis about this problem?

Thank you!

Just had to upgrade 'BlackBerry WebWorks SDK 2.2.0.15' to "BlackBerry WebWorks SDK 2.3.1.5", now it's ok

Tags: BlackBerry Developers

Similar Questions

  • GPS works on the Simulator, but not on phone

    Hello

    I created a simple application that gets the location of the device's GPS. The app works perfectly on the Simulator, but I have no GPS updates on the phone. I've been in options-> device-> Location.Settings on the phone and can see the GPS updates are coming through. But the app says there is no valid received GPS.

    I tried it on BlackBerry 9800... All I get on the phone is 'pending GPS update', that my app is displayed if no valid GPS don't trouble is received.

    Thanks in advance.

    Kevin

    C criteria = newCriteria();

    c.setHorizontalAccuracy (Criteria.NO_REQUIREMENT);

    c.setVerticalAccuracy (Criteria.NO_REQUIREMENT);

    c.setCostAllowed (true);

    c.setPreferredPowerConsumption (Criteria.POWER_USAGE_HIGH);

    LocationProvider lp;

    Try

    {

    LP = LocationProvider.getInstance (c);

    if (lp! = null)

    {

    lp.getLocation (timeout);

    lp.setLocationListener (newMyLocationListener(),-1, 1, 1);

    }

    on the other

    {

    Dialog.Alert ("sorry - your phone does not support GPS");

    }

    }

    catch (Exception e)

    {

    System.

    Err.println (try ());

    }

    }

    private class MyLocationListener implementsLocationListener

    {

    public voidlocationUpdated (LocationProvider provider, a place)

    {

    if (location! = null& location.isValid ())

    {

    QualifiedCoordinates qc = location.getQualifiedCoordinates ();

    Try

    {

    Lat string = Double.toString (qc.getLatitude ());

    String long = Double.toString (qc.getLongitude ());

    UpdateScreen ('place of registration successfully');

    }

    on the other

    {

    UpdateScreen (' Failed to day location ');

    }

    }

    catch (Exception e)

    {

    }

    }

    on the other

    {

    UpdateScreen ("waiting for GPS update");

    }

    }

    public void providerStateChanged (LocationProvider provider, intnewState)

    {

    TODO: If the provider has been disabled, then disable the reporting

    }

    }

    Try the examples of programs that you can find here:

    http://supportforums.BlackBerry.com/T5/Java-development/BBM-shareContent/m-p/1796237#M203486

    or here:

    http://supportforums.BlackBerry.com/T5/Java-development/simple-location-API/Ta-p/1145951

    See if these work on the unit.  If they do, look at the code listed and compare with yours.

  • 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.

  • Beginning with BBM

    Hi guys, I am completely new to the Blackberry development and I am now trying to understand works on the last BB10 BBM. I looked through a lot of documentation (webcasts as well) and I noticed that you can do impressive things. A first attempt, I began to focus on a simple task such as the sharing of a link inside my application with peers BBM, but I ran into a couple of issues/concerns.

    My reference SDK is Webworks and, as far as I understand it, the first step is to register the app in the platform... Unfortunately, as soon as it happens, the app will slow down showing the spinner. The code that I have implemented is exactly the same, you can find in the API in Webworks documentation examples:

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.BBM.platform.html

    Another point is that I could not find a hook to the API that allows a user to share a link with his contacts, as my original design was designed...

    I am tryng to achieve something which is not provided? What is really when you call "shareContent" as described here: https://developer.blackberry.com/html5/apis/blackberry.bbm.platform.users.html#.shareContent

    ??

    Thank you very much for your time

    See you soon

    -marco

    What behavior you see when you open the customer of the BBM itself say?  Here is a link to a sample of BBM SP for WebWorks.

    Note that you don't have to register first if you use any of the API BBM SP.  However, if you use the framework of the call to call the BBM Client, import into your application as a card that you don't have to register.

    10 BlackBerry BBM SP Sample WebWorks

  • Enter the data shared via BBM inside an application

    Hello

    I need to capture data shared via BBM inside my app BB10. I need to recover the data shared via BBM and then integrate it into my application.

    Is this possible. There is an onShareContent in the BBM-BB7.  We have this method in BB10 on the receiver side.

    This will then run on the receiver side. This must be set before the call to register()
    BlackBerry.BBM.Platform.Users.onsharecontent = function (sender As Object, content, description, timestamp) {}
    try {}

    } catch (e) {}
    TODO: handle exception
    Alert ("sharecontent.init Exception" + e);
    }
    }

    Kind regards

    Annuk

    BlackBerry 10 it is not possible to intercept data shared to BlackBerry Messenger.  But, your application can be a target from any application that supports sharing.  See the link below for more information.

    Receive call

  • Subscription of a BBM Messenger

    I bought the subscription of e-mail BBM but still not been activated. I still can't use what I paid for. I paid for the service lets you send photos timed, but after more than 48 hours it still does not work. can you please help!

    You should contact the developer of the application for the service. This is not an Apple product.

  • why I can't install BBM on my Tablet?

    Hey team HP, I have a little problem with my tablet, I tried a lot to download BBM on my Tablet [HP Slate7 - 2801]

    and always say [your device is not compatible with this version] I also have this problem with instagram...

    hope you help me...

    really I need this application in my table

    Thank you...

    Hello and welcome to the HP support community!

    Your tablet doesn't have a GPS inside, and the authors of the applications you mentioned said the store Play to allow only the program go to devices with this chip.

    There is a solution called 'APK Extraction' or 'side loading' app.

    Extraction of the APK is not officially approved by HP. If an application is not available in a specific area which is a restriction that the developer has put on the application. Such a restriction could be due to the licensing of content.

    There are two main steps in order to extract the APK-

    (1) extract the application of another Android device, or download the APK file directly. If you download the APK file also, please be very confident of the Web site. Because you will be "forcing" the application to install and don't not download through Google, it is possible the application has been infected by malware or otherwise damaged.

    To perform step 1, first install the application on another Android device, and also to install an "APK Extractor" application. (there are several to choose from and available for free in the game of Google store).
    Once the application is extracted, copy the file to a MicroSD card, or use another means of transfer for example transfer or by e-mail.

    Insert the MicroSD card into your 7 Slate, or download the file.
    You may need to install a file browser to locate the file on your tab 7. These are also available in the store from game Google free.

    You must change a setting of security on your tab 7; Click settings, security and place a check in "unknown Sources allow installation of applications from unknown sources. You will get a warning about the potential of malicious software by changing this setting.

    Once the security setting has been changed, find the APK file and simply "click" on it to open it. It will install everything as it was downloading from the game store.

    I will state some things well-
    (1) this process is not approved by HP. I am a volunteer here and not an official representative of HP.
    (2) If a request is blocked in your area, then installation can cause problems or even violate certain laws or license.
    (3) download an APK on a suspicious Web site could introduce viruses/spyware/malware or other undesirable behaviors. Do not download APKs for files that are not free Google game like this would be piracy.
    (4) installation of an APK that "requires" GPS may not work fully, although in many cases, you can manually enter in your location and it will work.

    WyreNut

  • BBM BBM video call

    Hello

    I use a blackberry classic in the Germany provider (medion mobile / e-plus) and have problems that I don't see the bbm video call button.

    I tried to disable and active 'bbm-call on mobile networl '.

    and I tried to move the network and restart the device.

    also, I have reset the phone without a SIM card.

    Nothing helps! What can I do?

    Thank you

    Hello, Gregor

    You can use BBM video calls to other devices BlackBerry 10 only for the moment, no other platforms (iOS or android). You will see icon BBM of voice calls if your BBM contacts uses no 10 BlackBerry devices.

  • BBM BBM on Windows 10 polls for phones

    I'm usin BBM on my 5230 Lumia double sim.

    Yesterday, that I have updated to Windows 10 for phones (Preview).

    All my previous Apps on Windows Phone 8.1 work fine with Windows 10.

    Except BBM.

    BBM starts with the configuration and after a few seconds, there is just the blue background screen...

    Is there any help?

    Or y at - it a new version of BBM for Windows 10 for planned phones?

    Hi @sihiver

    Windows 10 for phones is still in preview, you may encounter problems unfortunately.

    The only recommendation I can make is trying to remove and reinstall BBM or consider restoring your device with Windows 8.1.

    Thank you!

  • BBM BBM Desktop Window 8.1 Client surveys?

    I am a BBM on Android newbie.  I find it useful for applications of instant messaging by using several platforms. I am quite satisfied with BBM on Android and would be very grateful if I could also access the BBM from my Office Windows 8.1.  Something along the lines of AirDroid that allows the user to access their SMS via the device Android, a dedicated application or web client that works directly on the message store (assuming that there is a message on the network store?).   I could not find recent articles on this subject and apologize if it's already answered elsewhere.

    Thank you

    David Baril

    Almone WE

    Thank you.  Practically, that answers my question.  BBM is specific to the device, unlike these IM like WhatsApp or FB Messenger apps, where the message store is linked with an ID that is device independent and probably stored "in the cloud" (or server-side as it was formerly called client-server).

    Sounds like BBM is closest to SMS the message store does not reside on the device (or at least that's the "check database" which may or may not be mirrored "in the clouds").  I guess the AirDroid and other apps Android SMS access the SMS store via an API that is intrinsic to the Android kernel.  Is there an API to the message BBM Android store that would allow an application like AirDroid to access?  If such an API does not yet exist, wouldn't relatively simple to implement (with security controls appropriate of course)?

  • BBM BBM was missing in Store

    Hello, my name is Rizal Faisal Akbar, but call me LASI.

    I'm from the Indonesia. I want to ask questions about the application of BBM surveys.

    Today at 18:00 (the Indonesia time) I heard from my friend that BBM was missing in Windows store. And after, I check in the Windows store and confirm the Windows store is missing.

    So, you know about it? Can you explain?

    My device is Microsoft Lumia 535 DS with OS Windows Mobile 10 build 14371.0 and I'm Windows Insider Fast Ring

    Thank you. Sorry for my bad English.

    Hi @rizalfatopper & @adamBOMB_ca

    BBM is available on devices running Windows Phone 8 and 8.1 of Windows Phone only

    I apologize for any inconvenience that this may cause and encourage you to share your comments with @BBM.

    Thank you

  • Consuming APIs push read and deliver the message through BBM surveys

    Hi all

    This is the problem, I really hope that you can give me help or at least a hint guys...

    I have an online store, and I have a server to run my App chatbot that I use chatbot handling some customer service taks and act as store customer assistant helps when they like to ask or order stuff from my store.

    currently my bot run using api telegram handling in and outbound message, how ever many of my clients use BBM as their main email applications.

    I want to know, if there is a way I can use push api to act as bot api telegram, im sory if I miss understand how push api works, because that I really really new in blackberry application development.

    I understand that BBM is like PIN messaging function, so first idea who come in my head is to buy a new phone, BlackBerry or android phone, then make this phone as a bot with the creation of some applications to manage incoming BBM messages inside and send back throug push API, but I think that the idea is really not effective or worse probably misslead.

    really appreciate all the help you guys

    Cherrsss...

    The Service of BlackBerry Push to push messages to BBM.  You can push messages to your own application that runs on the device.

    BBM has no API to programmatically read incoming messages.  You can programmatically create working drafts of BBM messages to send, but there is user interaction required to send the message.

    You can watch to BBM circuits.  You can use a channel of BBM to send messages to your subscribers and they could send messages to you.  There is a web interface for BBM channels, but also a plugin of Hootsuite.  It does not support the local app that you describe, but can provide what you need.

  • Framed Classic BBM blackBerry does not

    My BBM app works fine, but the sidebar function shows no contacts or the convos. I prefer to use the menu hub / side.

    I discovered the problem.  At the top of the QuickView screen, there is an arrow down which allows you to choose a subfolder BBM.  By selecting this folder, the conversations and contacts of current charges are filled in the list (which was empty).

    Thank you for giving me advice on reboot the device however gives me useful options, go ahead.

  • Polls BBM Torch 9810 BBM stuck on the implementation of surveys BBM

    Hi all

    I am fairly new here and on blackberry phones. I use bbm on my Nexus4 for a while now and bought a Blackberry Torch used to use with BBM 9810. My problem is that whenever I set up BBM it is stuck on "setting up BBM. I looked on the internet and tried everything I could to restore to the factory settings, update to the latest BBM, password changing to include letters, letters below, numbers and symbols, but nothing seems to work.

    Does anyone has this problem after doing all this (the forums more some of the thigs above seem to work, but not for me).

    Any information would be appreciated.

    Thank you

    A plan of BIS (BlackBerry Internet Service) - is a dedicaed to plan special data for legacy devices BlackBerry (Running OS 7 and earlier versions). You must have a BIS plan to be able to communicate and have access to the BlackBerry Services as Emial, BBM, BlackBerry Protect messaging Apps etc.

    Regular data plan or WiFi does not work. I suggest that you contact your network provider, they can help you with this question.

  • History of cats BBM get BBM of previous BB to new BB

    I just got my new classic BB and I was wondering if there was a way to restore historical cats BBM product of my old camera (BB Q10) to my new.

    I saved my BBQ10 on BlackBerry link - I double checked that I had chosen to save the data from BBM surveys.   I plugged the new classic and choose "restore" data to the new device.

    After restoring data on my phone, I opened the BBM and what prompted my BB ID is associated with my old camera and asked if I wanted to "BBM report."  I chose "BBM report" and the closed BBM app.  I opened again and was able to use BBM; However, none of my cats, my previous phone BBM history were restored to my new camera.   Now, because I had "spent BBM" BBM on my old phone (Q10) has is no longer a all entries, as in no contact, no history of cats... it does not work.   Even if I "switch BBM" yet once back in my old camera, all the cats stories will be wiped again.

    As I backed up my phone and my BBM data on BlackBerry link, I should in theory be able to restore the proper chat history?  If Yes, can someone help me to access it?  Or is it just gone now?

    If anyone can help that would be great...

    In addition, I would like to add that I don't remember having this problem before, when I got new features... If I remember correctly, I had my history of cats.

    Hello!

    This problem is quite annoying, I really want to use BBM, but have experienced the same thing when I had to put my device due to an exchange of the guarantee. Even though I followed the suggestion of BB Link to enter the BB ID on the 'new' device before you begin restoring data, BBM is just blank after opening for the first time. As the news stories of CAT are accumulated in the meantime, I did not still trying to recover the data, but I still have negative feelings about this sometimes.

    However, recently I came across a suggestion that is described here:

    https://bb10qnx.de/2014/11/backup-and-restore-BBM-chats/

    It basically says that you should not only enter your BB ID on the new/empty device until backup is restoerd, but also open once the BBM and enter your ID here, too--before restoring the backup.

    As you still have your backup, you can try this method if you want - it's maybe really the key to be able to transfer the history.

    Another 'workaround', which is also recommended when using multiple devices: you can create ba 'personal group", where you can add all the pins of your devices. Group discussions are always sync!

    Best regards

    Hans-Jürgen

Maybe you are looking for

  • How to eliminate a brilliant on the face effect

    I would be grateful a tips on how to eliminate this effect, shining on the face of this actor

  • Want to Phoenix 810qe: SSD cache fails on desire 810qe

    A few weeks ago I noticed a problem (probably unrelated) which led me to look at the system event logs and I was surprised to see that I was getting all them complain about a bad block on a "hard drive" I didn't know, I had three or four errors a min

  • iOS 9 rename the worksheet

    How can I rename a worksheet in numbers? No matter what I see my spreadsheet appear as "empty". How can I give it a real name?

  • cannot open the printing preferences or properties

    Hello I use LaserJet pro cm1410 color cold 64-bit Windows 7 I can't open the print properties and select some items such as "print on both sides.  I have tried uninstalling the driver for printer and re - install that update the hp website (version o

  • Open a picture sent by e-mail.

    I get emails with a picture with a small X in the upper left corner. When I click the X, nothing happens. Until a week ago, I had no difficulties to display the image. I made no changes to anything on the computer.