sharing of BBM

How to implement bbm in our application

Best place to start would be by looking at the BBM code examples...

http://developer.BlackBerry.com/native/sampleapps/

Tags: BlackBerry Developers

Similar Questions

  • 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

  • Data sharing on BBM

    Hello guys,.

    I'm doing a sharing application application data of my course on BBM BBM contacts. Tried with classes as 'bb/platform/bbm' but not exactly get it. We have sendDownloadInvitation() of the API in the MessageService class for the same, but sends invitation to download BBM app to BBM contacts? Any help would be appreciated.

    Thank you

    Dev

    I guess you have to use the framework of the call for this.

    Take a look at settings

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/invocation/BBM.html

    And these are the examples of code

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/invocation/sending_invocatio...

    I hope this helped a little.

  • 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"
    
  • The file size for sharing on BBM blackBerry 10

    Hello.. whenever I'm trying to share a file that is larger than 16 MB, I get denied that the file is too large, and max is 16 MB... that happens even when I am trying to attach a file to an e-mail... Is this customizable or there is a limit and cannot be exceeded. I am holder of a BOND and just upgraded to 10.3.2.474...

    Thank you

    Hello

    Nope... it's a strict limit to refer:

    Good luck!

    PS - large attachments are the bane of all admins to email. Consider an e-mail must go through multiple gateways on its way between the sender and the recipient. And if there are multiple recipients, which multiplies very quickly. Large attachments take time to process through these gateways and treatment for all the world get bogged down. Therefore, it is best to download the file to a shared and then environment send only the link to the file rather than the entire file.

  • BBM BBM for Playstaion surveys 4?

    Just a thought. I play a lot of PS4, and I mean a LOT.

    It is somewhat an untapped market, as long as the cat replacement customers go (just the chat)

    One of the biggest obstacles I convince people to download an ANOTHER chat client just to chat

    with a loyal BB is because they already have so much of (for example. Snapchat WhatsApp, iMessage).

    If BBM was brought to PS4 where there is no other competition and it was smooth with the built in PS4 cat, I think it could be a big hit!  PlayStation 4 is already integrated with Facebook/Twitter.

    There is a base of dedicated users of 20 million more, and with the possibility to directly broadcast on Ustream/Twitch, it might cause a bit of a buzz out there.  From January 2015, 100 million people watch shaking each month. Think about it!

    Anyway, just a thought.  I wish I could see my BBM in watching Netflix popups, or playing GTA V or battlefield.

    Thanks for your comments @im4k! It would be pretty cool sharing via BBM, where the game

    I'll mark my answer as the solution since I took your comments in my reports. Thank you!

  • Z10 BBM blackBerry calendar sharing - error

    I just found a problem with the creation and sharing of inputs to a Z10 within a calendar group BBM...

    -I'm in a band that consists of two phones - my Z10 and BB Curve 9360 my wife, allows us to share the group calendar appointments.  She put the first group and therefore his phone is the group administrator.

    -If one of us creates a calendar BBM entry it shows an hour early on my phone.  On his phone, it displays correctly (for example.) 16:00 - 17:00, but on my phone to the appears as 15:00 - 16:00.

    -If I change it on my phone, and correct the time it shows correct for a few seconds until that both phones synchronize and then mine comes back wrong right from the beginning.

    -If I create a local calendar on my phone and then share by polls BBM, the local designation is still correct, but shows the shared appointment in my calendar this time initially.

    I checked that both phones are set to the same time zone London and auto-Update, I'm guessing that perhaps one version of BBM (curve = OS7.1 vs BB10) uses DST and the other Zulu time or something similar?

    If there is a difficulty of parameters I'd like to know, if Blackberry Please note!

    Everything worked perfectly when I got a torch and she had an earlier model curve.  This seems to be one of those things where every step that phones move actually means a step backwards in terms of being able to do something in a business like way.

    What became of the ability in the Goto Calendar today?  Surely, that should not be difficult?

    Hey sg-Homer.

    Welcome to the community of BlackBerry Support Forums.

    Thanks for the question.

    We are aware of this problem and there is no scheduled time when the issue is settled.  Just to clarify that affects only BBM calendar actions.

    Let me know if you have any other questions.

    See you soon.

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

  • Issue of calendar entries sharing with groups of BBM blackBerry Smartphones BB Curve 8520-

    Greetings!

    I am currently using a BB Curve 8520. I have a problem with the birthday entries sharing with my BBM groups.

    When I add a birthday entry to my contacts from the phonebook, the phone will ask whether or not you will share this date with the BBM groups calendar.

    If I select No., birthday entry will continue to BE SHARED to your BBM groups.

    So I have to go to the calendar of the BBM groups to delete manually created entry.

    Can you help me to solve this problem with my phone?

    Thanks in advance!

    Hi, Ahmed.

    Follow the steps; below

    1. take a full backup of your device.

    2 reset the device (Do a security wipe)

    3 register your device with Netowrk.

    4. return the maintenance book.

    5. If more than one e-mail account then delete pulled CICAL service book of reset. (but keep a default for CICAL service)

    6. now, do a restore advance except BBM GROUP and data.

    7. now, create a new entry in the calendar.

    Please read the following threads for more info:

    http://supportforums.BlackBerry.com/T5/BlackBerry-App-World-General/calendar-issues-BBM-Group/TD-p/6...

    Courtesy: Santosh-Boiro

  • Sharing framework of invocation on BBM

    Hello

    I am doing part of the call to work. But unfortunately I can not find good samples for the AIR sdk. So I hacked something together of what I found for the native development kit. It works... the BBM lance and allows me to choose a contact. But the text is not passed to BBM.

    This is my code:

    var byteData:ByteArray = new ByteArray();
    byteData.writeUTF ("this is a text to share.");

    var request: InvokeRequest = new InvokeRequest();
    request.mimeType = "text/plain";
    Request.Target = "sys.bbm.sharehandler";
    Request.action = InvokeAction.SHARE;
    Request.Data = byteData;

    InvokeManager.invokeManager.invoke (request);

    Could you give me a hint what Miss me?

    Thank you

    Toby

    Hello

    After a few game, I found the solution.

    In the code above, I used:

    byteData.writeUTF ("this is a text to share.");

    but you must use:

    byteData.writeUTFBytes ("this is a text to share.");

    the BBM is launched and the text is copied correctly.

    Would be always cool to have more examples of how to call the essential applications of BB10.

    See you soon,.

    Toby

  • 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 App Evernote a shared folder on classic BB

    I shared a folder of Evernote Premium on a Mac and an iPad App Evernote (Basic) on a classic BB. Even if a message is received on the classic indicating that I can't further. I can get to a long reference that the classic tells me that there is no software on the device to open it or the browser opens how I like Evernote does not support the BB browser and invites me to download the app - which I already have!

    It seems to be going around in circles...

    Help please

    Ok. I have it.

    I'll have to experiment, but cannot do so now. I hope that someone will respond before that I'll be back if they don't know a solution.

    (A laptop, I shared with my wife, but she did not really get with the idea, so I really got to dig into it with the BlackBerry or computer. But I dig this evening. As far as I know right now, your experience may be the rule. What I am curious to know is if shared notebooks can be linked to or access the app Evernote on the BlackBerry).

    (For what it's worth, what I do instead is also sharing individual notes with woman and other app Evernote. It's as easy as using surveys BBM, BBM group, e-mail).

    (Thought hard, here is what I'm going to try: account Evernote from my wife, I will create a test booklet and share with me.) I'll answer with a desktop computer accept and see what there is to do this laptop to display on my Evernote. From there, I'll see then if this laptop shared test appears in the Evernote on BlackBerry App. I am sure that the acceptance of the offer of shares will have to be done from a desktop browser. We'll see. If you give a try in front of me, after what you learn.)

  • BBM BBM group events

    I used a BBM group for a few years and when I would create an event BBM, it would synchronize and update my calendar on my phone. I created an event today and it is not updated of my calendar. I also noticed that the BBM groups have been changed since the last time I used them about 2 months ago. What is the cause of the problems?

    Edit my post above, the most extreme step would be a clean OS reload. If it were me, I would be tempted to join directly the and pass the reset to factory or security.

    If you want to look for a solution, and for possible ideas, you could examine the wire to the

    https://supportforums.BlackBerry.com/T5/BBM/BBM-group-events-shared-with-other-BB-users-keep-miltipl...

    I think of him because it's an odd example of BBM more behavior calendar. It is not exactly the same problem as yours, but it shares the strangeness.

  • Is it possible to Exchange by BBM app-specific data?

    Hello

    I'm writing a kind of task list manager. However I was considering the possibility to share a task with BBM contacts. A contact who would receive such a task could click on it, then add it to his own app.

    This could be done on BBM?

    Thanks in advance.

    Flow of data from one application to another using the BBM API is available for BBM on BlackBerry OS 5-7, but is not currently available on BlackBerry 10.  It's something we look for in the launch post.

    But you could do it using the framework of the call for your application.  You could create an InvokeActionItem that send a file with a time of mime/extension custom during a BBM chat session in your application as follows:

    InvokeActionItem {
        title: "Share Image Over BBM"
        query {
            invokeTargetId: "sys.bbm.sharehandler"
            invokeActionId: "bb.action.SHARE"
            uri: "file:///accounts/1000/shared/misc/file.tsk"
        }
    }
    

    Your application should also be part of the call as Manager for this type of mime/extension.  Then when the user receives the file, they could click on it to open the taskj in your application.

    Not as transparent as the streaming directly from one application to another, but it might be easier for now buliding your own server infrastructure.

  • BBM broadcastdata

    Hello

    I'm working on a connected application of bbm in which I'm trying to create a session between users of bbm and sharing data among them through the session.

    I'm using bbm dev guide to create a session:
    MessagingService messagingService = _pluginContext.getMessagingService ();
    mySession = messagingService.createSession (new MySessionListener());

    In the method of broadcastDataReceived of MySessionListener, I just try to show a dialog box:
    Dialog.Inform ("broadcast msg to:" + sender.getDisplayName () + ">" + data.getDataAsString ());

    I am running my app in bbm simulators. They can communicate with each other, send/receive bbm messages, etc...
    Session creation works well. When User1 send a session invitation to User2, user2 Gets the invitation and accept it.

    Now when I try to broadcastData (from user1 and user2), nothing happens. Here is my code:
    mySession.broadcastData (new BBMPlatformData (data));

    What Miss me? I searched the forum and find some kind of a solution to my problem: define a listener mail service. But I can't understand how to do this in the dev guide...

    Help, please.

    Laurent

    I looked at the examples of the bbm and the sdk tic tac toe gave me the solution.
    In BBMBridgeImpl.java, a new MessagingServiceListener is created to establish a MessagingService link and channel. I think it is so that we catch the broadcasting datas sent via a session (or channel).

    Here is my code (not tested yet):

    _messagingListener = new MessagingServiceListener() {}
    {} public void channelCreated (canal BBMPlatformChannel)
    }

    ' Public Sub channelCreated (canal BBMPlatformChannel, int available) {}
    }

    public BBMPlatformChannelListener getChannelListener (canal BBMPlatformChannel) {}
    Returns a null value.
    }

    {} public void sessionCreated (BBMPlatformSession session)
    mySession = session;
    }
    {} public sessionEnded Sub (contact, BBMPlatformSession session BBMPlatformContact)
    }
    public BBMPlatformSessionListener getSessionListener (BBMPlatformSession session) {}
    Return mySessionListener;
    }

    ' public void fileTransferFailed (String path, contact BBMPlatformContact, int code) {}
    }

    {} public void onContactReachable (contact BBMPlatformContact)
    }
    ' Public Sub onMessagesExpired (contact, BBMPlatformData BBMPlatformContact data) {}
    }

    ' Public Sub joinRequestAccepted (BBMPlatformOutgoingJoinRequest request, String param) {}
    }

    ' Public Sub joinRequestDeclined (BBMPlatformOutgoingJoinRequest, int code) {}
    }
    };

    I'll do some tests later and you keep in touch, if it works.

Maybe you are looking for

  • upgrade to 3.6.24 last nite, now I can't close all yahoo mail, I opened

    When I click on the X to close a single yahoo mail on the tab at the top of the post, the mail will not close. I accepted and updated last night. It's firefox, or a problem with Yahoo?

  • Display of the number of Skype the person is the call to.

    Hi, I have several numbers for the different areas of my business. For example. Sales and support. How will I know what Skype number, the appellant wrote? So I can't answer with the correct service name?

  • New printer: job moved to status "completed" without printing

    Just got a HP OfficeJet Pro 8610 today. After a few hours of work to get it set up wireless, I now have the computer recognizing printer and claiming to print to it. Unfortunately, when I send a job to the printer, the work is in the queue, then I se

  • reburbished machine activation problems

    I recently bought a PC refurbished thanks to a local sales site.  It came with Windows 7 Home Premium preinstalled but not activated.  The seller gave me a genuine Windows DVD and a certificate of authenticity with bar codes on it is for PC reconditi

  • Blade failure recovery

    Hello I associated a SP of a blade. If the blade of physcial failed, I can configure the SP automatically MS should be associated with another free blade? If so, how do I configure the SP or SP model? Thx for your comments Best regards Nicolas.