How can I get the contact photo?

Hello everyone.

I work in my own app to make and end calls by program but I can't find a way to get the contact's photo, I saw the API documentation but I tried to get the pic and move it to a QImage without success.

Can I get the contact name and number phone properly using ContactAttribute inside a ContactService.

Could someone help me?

Thank you!

Hi santito95,

Have you thought about the ContactFoto API? https://developer.BlackBerry.com/native/reference/Cascades/bb__pim__contacts__contactphoto.html

In addition, there are two examples of applications that use the Contact service and demo how to use some of the contact of the API:

https://github.com/BlackBerry/Cascades-samples/tree/master/Rundgang

https://github.com/BlackBerry/Cascades-samples/tree/master/AddressBook

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Re: Satellite A200 PSAF6A - his plays through speakers using headphones

    When I plug my headphones into the port, nothing happens, still plays through the speakers.Is it drivers or something, because I want it redownload.I have a Toshiba Satellite A200 PSAF6A.

  • HP Stream 11: Bios password

    I have a flow 11 HP laptop I forgot my BIOS password can someone help me with this system to disable the code which is 59031947 thank you

  • Before do not recognize the voice dial commands

    I have PRE (he loves) with blue Ant Q1 headset. T1 has commands voice speed dial which supposedly map on the first 8 speed dial numbers PRE; However, the PRE does not recognize the voice command and the call is not made. Anyone know how to configure

  • Custom application for DMS library

    Hello everyone. I am a developer front end flsh and worked on a custom desktop application that worked with CISCO DMS. We had DMS 4.1 and the entire structure of the library has been in xml as programmGuide files, programs, episodes and videos. My re

  • USB sync cable

    Help, I lost my USB sync cable and adapter (108-132 VAC/60 Hz, United States) for my Palm Tungsten E2, as I looked over the other Forums that back as far as 2005 noone seems to have an answer so now that it's 2008, someone had a bit of luck to find t