Send picture of Contact BBM

Hi all

I try to send an image file to BBM Contact with BBM SDK.

BBMPlatformContactList platformContactList=platformContext.getUIService().showContactPicker("Send Picture To:", ContactListProvider.BBM_CONTACTS_WITH_APP, false, false);

if(platformContactList.size()>0)
{
    BBMPlatformContact platformContact=(BBMPlatformContact)platformContactList.getAll().nextElement();
    MessagingService messagingService=platformContext.getMessagingService();
    messagingService.sendFile(platformContact, fileLocation, "Pencil Picture");
}

It turned out that this line:

BBMPlatformContactList platformContactList=platformContext.getUIService().showContactPicker("Send Picture To:", ContactListProvider.BBM_CONTACTS_WITH_APP, false, false);

Displays only the empty list...

Does this mean I can send photos only to users with my installed app, rather than display all users in my BBM contacts?

Or what I'm doing wrong here?

Thank you!!

Greetings.

The answer to your questions are: Yes and no.

It's a proper way to achieve what you want.

Afterwards, don't forget that, in order to interact with other users through your BBM app activated, the other user is obliged to be a user of your application, as well.

Possible solution: send an invitation to users, you want to connect to your application and then (after they accept the invitation) they will be shown in the contact Chooser.

To send the invitation use BBMPlatformConnection the attention of implementers (BBMPlatformSession or BBMPlatformChannel) sendInvitation() class method, as follows:

BBMPlatformSession session = messagingService
                     .createSession(new MyBBMPlatformSessionListener());
UiApplication.getUiApplication.invokeLater(new Runnable() {
    public void run() {
        session.sendInvitation("Join to MyApp", "myAppCookie", 0);
    }
});

The method to send survey invitation a selector to select the users who will be invited in your BBM contact list for full details. This is why the method call sendInvitation() invokeLater() outline.

I hope this be useful. Let me know please.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Smartphones BBM cannot send pictures

    I've updated my BBM to version 6.0.0.129 and since then I can't send pictures using BBM surveys for BBM contacts.  Anyone else has the same problem.  Any advise?

    I found this Article ID: KB28421 impossible to send when you try to send photo in BlackBerry Messenger

    Apparently, the problem is known and getting in trouble. Hope for you that it is early.

  • Cannot send pictures of film.

    HI all, I am having a problem sending pictures. I have an Ipad, gen 3 and a Mini 4. I have the same problem with both. I take a picture and then go to the camera to send by e-mail. I'm going to the small square at the top right with the arrow pointing upwards. I chose by e-mail, enter the address and a subject. I hit send and hear the hiss and think it is sent. It is never received. I sent in a lot of different address to different servers and none is ever received of ti. Any ideas are appreciated. Bob

    This sound like a problem with your e-mail provider because it happens on both devices. I communicate with them, or try a different e-mail account to test.

    However, you can try to reset your email account. First close your Mail application completely from the window of the selector app by double clicking the Home button and drag the email preview pane up until it disappears from the display. You may need to search the mail pane covering scribbles to the left. Then go to settings > Mail, Contacts, calendar > find your e-mail provider and click on the account. On the next page, delete the account. Then perform a forced reboot. Hold down the home and Sleep/Wake buttons simultaneously for about 15-20 seconds , until the Apple logo appears. Then go to settings > mail... and to add the account.

  • Problems to send pictures through text, given that I have software update 9.3.1.

    Since I updated my software to 9.3.1 I was not able to send pictures through e-mail

    Here are the steps of troubleshooting for MMS:

    If it still does not work, contact your carrier.

    If you cannot send or receive messages on your iPhone, iPad or iPod touch - Apple Support

  • Problem sending pictures through texting when the WIFI

    I recently move carrier to Cricket wiresless (Yes uses AT & T network) of the Sprint. Since I made the change, I had problems sending pictures through texting when the WIFI. I contacted the Cricket Wireless support and they had me reset the APN settings, he has to work because I also disabled WIFI at the time. Since then, I realized that I don't have the problem, when I cut the WIFI.

    Someone at - it similar problems?

    I found the resolution on Adroid Central:

    Wow! Presented this to the customer service email of Cricket and they responded in 12 minutes confirming:
    Billy M. (Cricket Wireless)
    16 Dec 08:46

    Hi Evan,

    Please contact the Support of Cricket. I'm sorry to hear about the problems you are having with your MMS then on the WiFi. Our team of network has been aware of this problem and is currently working on a resolution. In the meantime, you can use one of the IP addresses below in your MMS proxy under the APN settings that should solve the problem.

    192.168.196.78
    192.168.196.79
    192.168.196.117
    192.168.196.118

    Thank you
    Billy
    Looks like the guys from reddit were correct and the IP addresses are legitimate.

  • How can I change my user name in my windows photo gallery? I can not send pictures of her. Thank you

    I was not able to send pictures of my windows photo gallery. I have recentley changed border to Roadrunner servers & those I contacted on it wants to charge a price of outragus to do so. When I changed from Verizon to Frontier they accompanied me through the process without any problem at all. I need the user name has changed so I can send my photos. Could someone help me on this please?  I would appreciate any help on this matter. Thank you.

    Buna,

    You will need to read the list of spaces to live in and use the e-mail inbound and outbound RoadRunner server settings that belong to you and to your living space.

    http://www.emailquestions.com/Road-Runner/588-Road-Runner-incoming-pop-outgoing-SMTP-mail-servers.html

    And you need the UserName and the RoadRunner password to complete this also

    You don't say what e-mail program you use?

    Windows Mail? Please continue here

    "Add or remove a Windows Mail account"

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-Windows-mail-account

    And here

    "Windows Mail: setting up an account from start to finish.

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish

    Revedere.

  • BlackBerry Smartphones can send to a contact

    Basically, one of my contacts from phone I have also on BBM all of a sudden I can't take.

    When I send a message on BBM, the usual tick appears but the D icon does not appear or not icon a. I also tried to call contact said but when I try there is complete silence with no sound for about 10 seconds and then their voicemail is turned on. I also tried to communicate with other people and it works very well there just this person I can't hand on.

    I am new to BlackBerry phones, so I have no idea what happened, could someone please help me improve my situation?

    I guess they have to be turned off their phone, are far away or their phone does not work. You have another way to communicate with them as email or phone home?

  • Says not able to send pictures while on yahoo to create an association.

    Original title: joining any pictures to send?

    When I try to send pictures while on yahoo it tells me that I need to create an association and I also tried to look to windows 8 for the solution and he tells me that I simply to add contacts to the contacts icon, which I don't have on my screen.

    Hi Letishahar,

    Please provide us with more information about the issue so that we can help you further.

    1. you try to attach a file on Yahoo using the web browser or mail app?
    2. is the question confined with special attachments?
    3. What is the file format of the photo file?
    4 is the issue limited to Yahoo mail?
    5. the people lack of screen icon start modern?

    If you use Windows Mail 8 app, I suggest you to consult the following Microsoft article which will help you to add attachments on the Mail application.

    Application of mail for Windows: frequently asked questions: http://windows.microsoft.com/en-US/windows-8/mail-app-faq

    What is the difference between the base and attachments in SkyDrive? http://Windows.Microsoft.com/en-us/Windows-8/what-difference-SkyDrive-attachments-basic

    Refer to this article about people app: http://windows.microsoft.com/en-us/windows-8/people-app-faq

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

  • How can I get a verification code so that I can send pictures on 10 items

    How can I get a verification code so that I can send pictures by email.

    What e-mail service, are you using? Service of electronic mail to Adobe or outlook, windows live mail, etc.?

    Add [email protected] to our contacts in your e-mail account and try the option return.

    Thank you

    Catherine

  • How can I send pictures to my e-mail account to the cell phone of others?

    I have a request to send photos to someone who uses their smart phone and I do not have pictures in a phone; only on my PC. Can I send pictures of this person's mobile phone? They gave me their number. Thank you

    It is possible to send a text message (SMS) to a phone by email (look for "sms e-mail gateway"), but I don't know if you can join this way, i.e. MMS pictures. The simplest method would be for the recipient create an e-mail account on the phone. If they can't or won't, but they can access the web via a browser, I guess you could upload photos on one of the free file hosting services photo and send them links using the email-to-text method mentioned above.

  • Messages send pictures

    I have an Iphone 6.  Cannot send pictures.  Do not know why. Help.

    Hi hustedfc,

    In order to send photos from your iPhone 6, you should check out some important things on your device. I can help you check this! First of all, we have to check if there are updates available for your iPhone.

    Update the software on your iPhone, iPad or iPod touch iOS

    After reviewing the updates, it is also necessary to adjust your message settings on your iPhone. Send media such as photos and audio requires a mobile data or Wi - Fi connection. Activation of MMS on the device, if not already active, should do the trick. Tap Settings > Messages then turn on MMS.

    If you can't send or receive messages on your iPhone, iPad or iPod touch

    You can use the link above for larger troubleshooting methods to resolve the problem with sending photos. Please use the Apple Support communities for help.

    Have a great day.

  • iPhone 6 on EE - iMessage will not send pictures

    My iphone 6 ceased to send pictures through iMessage.

    It sends the text through iMessage iMessage works. I tried on wifi and EE 4 g, makes no difference. Receives photos and text via fine imessage. IMessage picture just coming out that is affected.

    Tried:

    Reset the phone

    Turn imessage

    Turn FaceTime

    Toggle flight mode

    Signature to iCloud and folder in

    etc (as well as making several of the foregoing in unison)

    Wierdly the only time wherever it works is if I send to myself.

    When you send someone else, it takes a while, and then the blue bar goes and he says comes under. Then a few minutes after that he changed to fail. Tried to send to several other people and these people can all receive iMessage pictures from third parties is only me that is affected.

    I repeat... iMessage works as it sends the text via is not the settings in this sense. It is also not the image size I tried those who have worked in the past.

    Any ideas? I tried everything I saw in google searches.

    Thank you

    iMessage uses data, that this is just a message including a photo. You mention he happens on a wi - fi provided cell also, is that correct? When you talk to reset the phone, are you referring to reset in now the home and sleep/wake set buttons until you see the Apple logo and then release for the iPhone to reboot?

    IMessage requires an active internet connection on both sides of the conversation, the sender and recipient. Have you checked with the people you send it? Have you been able to receive a picture of someone with iMessage, wi - fi or cellular? You say that you can send an iMessage with just the text, have you tried to send a picture to someone immediately after their sending just an iMessage with text? iMessage shows that it is active, correct?

    The following troubleshooting steps include resetting the network settings, backup restore, factory restore, testing after each step.

    PS Ce which means 'abo in the Union?  Nevermind, I see you have edited that.

  • My 5s iPhone cannot send pictures

    Hi, I have an iPhone 5s with the latest version of the software installed.

    I don't text pictures at all, I can't dump pictures and I can only email one photo at a time, even if I select several. I can also clearly view photos or watch videos not connected to Wifi, and it's super annoying. Even when I am connected to Wifi, my photos will take a few seconds to load clearly.

    When I try to text to a picture, it takes a bit to load, and then once he does is not even appear in my message bar.

    When I try to drop a picture, it takes a good 30 seconds to load, and then he said: failure to send. If I try again, it just says: failure to send instantly.

    And when I try to send a photo, it cannot send one at a time, which is extremely painful. Even if I select 2 or 3, it is only one in the actual e-mail.

    I think that my phone saves pictures in the iCloud immediately to try to keep the storage, but if I can't even use, send or watch, there is no point to it. I never had this problem before all these new updates, and it's really frustrating. Please help if you know how to fix this problem, any input is greatly appreciated. Thank you!

    Hi luigifan10,

    Thank you for using communities of Apple Support.

    According to your post, I see that you can't text or photos AirDrop and you can only send one photo at a time even if you select several. You are not able to view photos or watch videos clearly when you use a cellular Wi - Fi or data connection. I send pictures on my iPhone all the time, so I know that it is essential that we get this problem is solved. I have a couple of things I want you to try.

    First of all, let's see if all the apps running in the background of your iPhone are causing a problem. Please double-click the "home" button and slide up to close open applications. This article will help you:

    Force a nearby application on your iPhone, iPad or iPod touch

    Then go ahead and give your iPhone a fresh reboot:

    Restart your iPhone, iPad or iPod touch

    Once you have restarted your device, test and see if you get the same result.

    All the best.

  • I can't send pictures...

    6 s, new phone... can't send pictures...

    Check your network connection and also are you trying to send pictures via the browser or Mail application?

  • iOS 9.3.1 no longer send pictures through text messaging?

    Just downloaded iOS 9.3.1 and now I can no longer send pictures through text messaging?

    I can take a new picture and send it, but I can't choose library, take a picture, press the button CHOOSE, but no image send?

    Anyone else having this problem?

    You get an error message? You try to send photos through iMessage (blue) or MMS (green)? For iMessage, you must have a data of activation, either WiFi or cellular connection. For MMS, you must have an active cellular data connection. You have MMS enabled in settings > Messages?

Maybe you are looking for