share text via BBM surveys

So I connected my app to the BBM. So much easier that BB7 incidentally.

In any case this is the usecase I want to solve.

We have static text we want a user to be able to share with one of their friends BBM.

The user clicks on the 'Share on BBM' button in my application, and the user is presented with his BBM contacts list. They then click the desired friend and the message box is pre-filled with the text we quote.

The main problem I encounter is that I can't find the appropriate documentation.

Looks like that the day I ask THAT RIM decides to write a good blog post discussing this EXACT thing.

http://devBlog.BlackBerry.com/2012/11/BBM-invocation-framework/?CPID=E10C020

Tags: BlackBerry Developers

Similar Questions

  • Share data using BBM surveys between my request on the two BlackBerry Z10

    Hello

    I want to share data between my request on the two Z10 BlackBerry using BBM surveys. The data being sent from one end via BBM must reach the other end inside my application. How can I get it?

    Yes, this can also be done using WebWorks.  The same characteristics of the invocation are available at WebWorks applications. You can read about the invocation and WebWorks here:

    Invocation framework

    The sample of waterfalls has only provided as an example to demonstrate the workflow.  Take a look and let me know if you have more questions.

  • How to share the text on BBM group

    Hi I want to share text on the BBM group. How to do this?

    If during polls BBM (specific contact), I use:

    InvokeActionItem {
                title: "Share Text Over BBM"
                query {
                    mimeType: "text/plain"
                    invokeTargetId: "sys.bbm.sharehandler"
                    invokeActionId: "bb.action.SHARE"
                    data: "This is some text to share."
                }
            }
    

    And it works, but how to share on BBM group?

    And is there a documentation on the complete list of possible value for:

    -InvokeTargetId

    -InvokeActionId

    -MIME type

    Thank you

    sys.bbgroups.sharehandler is the id of the target for the BBM groups.  Here are some examples on how to share text or an image with a group BBM.  The user will be asked to select the group to share with.

    InvokeActionItem {
        title: "Share Text Over BBM Group"
        query {
            mimeType: "text/plain"
            invokeTargetId: "sys.bbgroups.sharehandler"
            invokeActionId: "bb.action.SHARE"
            data: "This is some text to share in a group."
        }
    },
    InvokeActionItem {
        title: "Share Image Over BBM Group"
        query {
            invokeTargetId: "sys.bbgroups.sharehandler"
            invokeActionId: "bb.action.SHARE"
            uri: "file:///accounts/1000/shared/photos/avatar.png"
        }
    }
    
  • BlackBerry Twitter App - can't share tweet at BBM or text

    Execution of Twitter version 10.0.0.36. Cannot share the tweet together, only the tweeter username and name of SMS or BBM surveys.  Could share the tweet together with the previous version of Twitter for Blackberry 10.

    New version of Twitter (10.0.0.45) has been released and has solved the problem.

  • Share text and photo to the same call?

    Hello

    I can call him to share text or photo separately by defining the type MIME "text/plain" or "image/jpg". My data has some text and a photo and I want to share the text and photo to the same call (e.g., email, facebook, BBM...). How can I achieve this? Thanks in advance.

    This is not currently supported.

  • Shared via BBM

    I'm trying to share a file via BBM, which is called from my application.

    The file is stored under my assets in my application.

    It works fine when I store assets in file:///accounts/1000/shared/misc/, but I have problems when the file is stored inside the app.

    I tried the following:

    request.setUri(QUrl(QDir::currentPath() +"/app/native/assets/myfile.txt"));
    
    request.setUri("asset:///myfile.txt");
    

    Anyone know the path to the current folder which will work with BBM?

    Ah, this works:

    "file:"+QDir::currentPath()+"/app/native/assets/myfile.txt"
    
  • Problem with sharing of data specific to the application via BBM 10.2

    Hello - I am having a problem of data sharing applications with BBM 10.2-specific. I take the advice of some comments here, and it seems to work on 10.1. I can receive the file on 10.2, but when I try to share on the same device that I get this:

    InvocationWrapper::onQueryFinished: no matching result from Menu Service for query
       mimeType=""
       uri=QUrl("file:///accounts/1000/shared/misc/My App Data.myapp")
       data= ""
       metadata= QMap()
       perimeter= 0
       action= "bb.action.SHARE"
       target= "sys.bbm.sharehandler"
       invokerIncluded= false
    InvocationPrivate::onQueryResolved: no result matching query, no armed signal sent.
    

    It is the call that I use, which works on 10.1 but not 10.2:

    Invocation {
       id: invokeBBM
       query {
          InvokeQuery {
             id: invokeBBMQuery
             uri: "file:///accounts/1000/shared/misc/My App Data.myapp"
             invokeTargetId: "sys.bbm.sharehandler"
             invokeActionId: "bb.action.SHARE"
          }
       }
    }
    

    I also tried it with a "text/plain" MIME type and a few other variations, same result. If something has changed in point 10.2?

    (And while I'm asking, any reason why I can't use the data instead of a file uri? I need to convert the data in JSON, save the file, share the file, send, receive, save the file on the receiver, then open it, read it, and convert it back. Seems a little roundabout, if I could share the JSON data. "(And this is the only reason that my application requires permissions of shared files)."

    Thank you!

    It is a problem with the current version of BlackBerry Dev 10.2 Alpha.  You can call C++ BBM, but citing QML does not work.

  • Sharing files via BBM [amateur]

    Hey! Before I start I clear I used, gone through the invocation all the associated examples & Yes still does not know how to share a particular file to BBM contacts with just one button.

    I am building an application of sounds & it's going to be a simple list with Preview view, send options. Can anyone help to share with these sounds attached above to BBM contacts?

    About me, a startup developer and know little of QML. nothing else. So more QML is appreciated.

    You're close.  Here's what you need to do.

    Button {
        id: share
        text: "Share"
        onClicked: {
            invokeQuery.data =  "This is some text to share."
            invokeQuery.updateQuery();
            invokeShare.trigger("bb.action.SHARE");
        }
        attachedObjects: [
            Invocation {
                id: invokeShare
                query {
                    InvokeQuery {
                        id: invokeQuery
                        mimeType: "text/plain"
                        invokeTargetId: "sys.bbm.sharehandler"
                        onQueryChanged: invokeShare.query.updateQuery()
                    }
                }
            }
        ]
    }
    
  • BlackBerry Q10 Q10 - cannot share photos via Whatsapp!

    Somehow I can't share photos via Whatsapp (locations for example work very well)!

    When I try, the screen goes black and I can just hit the Cancel button... Just reinstalled Whatsapp from scratch without success... very frustrating!

    Advice or similar experiences?

    Thank you!

    Solution found! Give access to Whatsapp-App to your photos, music, etc.

    Now it finally works!

  • BBM BBM stuck on the transfer of your data from bbm surveys

    Hoping someone has a solution. My jump of BB's stuck on the transfer of your data from bbm surveys. I tried everything I know how to deal with a BB, which is not much. And everytime I open BBM it goes to the spinning wheel and glued on the transfer of your data from bbm surveys.

    Thank you

    DGF

    Hello DGF

    We knew the things you tried to solve this problem?

    Below KB explains on the symptoms of the error when installing BBM, which may apply to your question.

    You must use only mobile data and turn off WiFi when installing BBM surveys. If the problem persists, use a WiFi connection and disable mobile data.

    http://support.BlackBerry.com/kb/articleDetail?articleNumber=000035294&language=English

  • Is it posible to track people play that your app is saved with the help of bbm surveys.

    Hello

    Save with bbm on launch my application.  There are statistics that I can look who will give me a sort of return to how many people my app was saved with the help of bbm surveys... find out how many people have my app diaplayed in the Apps of their bbm profile section...

    Thank you

    No, we don't currently offer reports with this information.

  • 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

  • BBM BBM stuck at "Setting up BBM surveys"

    Hello

    I just bought a new 9320 curve, but cannot set up Blackberry Messenger. It is stuck at "Implementation of BBM surveys" with a continuous rotation in front of her loading icon.

    I tried to reinstall the Messenger and restart the phone, but the problem persists.

    I use Wind Mobile to the Canada.

    Thanks for your help.

    A standard network Internet plan will not work. You need a specific plan of BlackBerry data. Wind of appeal and they can get you properly set up.

  • BBM sending screenshots through BBM surveys

    Hello

    I have downloaded iphone 5 from Asia with the latest BBM surveys software. I tried to send a screenshot through BBM surveys and I can't seem to do. When you set the attach icon, either you resume letters, camera, note voice and a few other options, but when I click on the camera, I have to take a new photo.

    Someone know how to get into your camera to see all the photos, so you can choose to send through BBM?

    Thank you

    Hi @Stefonbp

    To send a picture already taken, or a screenshot all the following steps.

    1. Open a conversation
    2. Tap
    3. To attach a file, such previously took the photo, date or file stored in Dropbox, tap

    For more information, see the link below. I hope this helps!

    Source; BBM for iPhone - 2.2 user's Guide - start a BBM Chat

  • Smartphones blackBerry how to send videos via bbm?

    is it possible to send videos by blackberry messenger?

    I continue to read it on the ads but theres no option that allows you too! HELP PLEASE!

    Make sure you use the latest versions of bbm surveys.

    The easiest way is to highlight the video you want to send the video file. Then click on send to Messenger contact and sent this way.

    There is a limit of 6 MB.

    Or if you're in the messaging application, and then click the paper clip and send the file in this menu. Find the file that you want to send, and you're away.

    Merry Christmas

Maybe you are looking for

  • Firefox open on my taskbar

    When I click on the firefox icon on my firefox to the taskbar will open on top of my task bar, so I can't use the taskbar. He just started this. How can I do if I see my taskbar while firefox is open?

  • Satellite A665-147 - how to unlock the BIOS option?

    Hello I have an A665-147, and I want to change the cpu voltage and other things to improve my battery life.But in the BIOS, you can do nothing. I remember my old PC that you could unlock the Advanced mode by pressing alt + F1. Could someone help me?I

  • The TV HX750 takes supported intel WIDI?

    I just bought a 46 '' sony tv integrated wireless HX750 I started the application wireless direct on tv The Intel WIDI, I started on my laptop but there is no access point After a painful updated all my drivers it isn't always access points. Laptop i

  • G700 SATA AHCI driver for XP required

    I have to install Windows XP on Lenovo laptop, G700. For this I need driver for the SATA controller. I can't find a good. Could you help me and tell exactly which driver I need?

  • Trigger the FI - RIO 5641R and digitizer 5142

    Hello I am trying to generate a trigger of the my IF - RIO FPGA to start the acquisition on a table digitizer 5142. I want to do with the PXI line, but I don't have the same line in the e/s FPGA (PXIe_Trig0... PXIe_Trig6) and in the range driver (RTS