ContactService does not give me the main photo if I don't call coordinated
Hi guys,.
I am facing a problem here.
I'm trying to display a list of contacts and to speed up time, I want to call contactDetails() on each contact to obtain values for fill my loading list. I do that when one is selected.
According to the documentation (https://developer.blackberry.com/native/reference/cascades/bb__pim__contacts__contact.html#function-... when I call contactservice.contacts (), I should get partial contacts that contains only the first image, which would be enough for me to see it next to the name.)
However, when I try to access the primaryPhoto() or the photos.first (), there is nothing.
(The same code works well that if I use it on a contact I made using contactDetail() instead of the search list)
For more information, I use the 10.3.1 SDK and I test on my passport 10.3.1.1779 running.
And here is my code snippet:
ContactListFilters filter; filter.setLimit(200); QListcontacts = _contactService->contacts(filter); if (contacts.size() > 0) { foreach (const Contact &contact, contacts) { QVariantMap entry; entry["contactId"] = contact.id(); entry["displayName"] = contact.displayName(); entry["photo"] = "/images/avatar.png"; if (contact.primaryPhoto().isValid()) { entry["photo"] = contact.primaryPhoto().smallPhoto(); } _allContactsDataModel->insert(entry); } }
Any help will be appreciated, thanks.
Use the Contact: smallPhotoFilePath()
https://developer.BlackBerry.com/native/reference/Cascades/bb__pim__contacts__contact.html#function-...
Tags: BlackBerry Developers
Similar Questions
-
Assistant printing photographs on Vista does not give me the option to print contact sheets
The picture on my Vista Print Wizard does not give me the ability to print contact, like my old XP version sheets where. Any way to change/upgrade/downgrade or else return this option? I really need to be able to print photos contact sheets. Thank you!
The Print Wizard offers other models?
4 x 6, 5 x 7, 8 x 10?Is it possible that the default paper size in your printer
preferences has been replaced by a smaller size... 4 x 6
for example? If this is the case... it will remove the largest
models from the Print Wizard.To find the missing models... go to control panel
and access your printer preferences to change
the default size of the paper letter (8 x 10). Look carefully,
There may be more than one Panel that displays by default
paper size.Just for General info, the following items may be useful
at a glance:Windows Vista - Photo Print has
http://Windows.Microsoft.com/en-us/Windows-Vista/print-a-pictureWindows Vista - picture printing: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows-Vista/picture-printing-frequently-asked-questions -
Netflix bought through iTunes does not give me the option 4K
Netflix bought through iTunes does not give me the option 4K
What, instead, have you done so far? Netflix Checked site help or a FAQ section? Contacted Netflix? If none of these give a solution contacted iTunes Support (http://reportaproblem.apple.com)?
-
Shortcut Ctrl C does not work in the main window of Firefox
I use Firefox version 38.0.5, Windows 7
Since the update Ctrl + C shortcut does not work in the main window of Firefox. (I can't copy text from any website using Ctrl + C).Click right and using the copy in the menu works perfectly. CTRL V and Ctrl X work fine without problem.
Ctrl C works fine when copying text from the address bar and search bar, I just can't copy anything from anything in the main window of firefox.
I tried to run Firefox in safe mode, I have also reset firefox and a virus scanner, but nothing has solved the problem.
If anyone has any suggestions, that would be great. Thank you
See:
- bug 1173979 - copy Ctrl + C is broken in the last Irish FF 38.0.5
Please, do not comment in bug reports
https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html -
Already purchased music does not give me the option to download
Bought the songs awhile back, they may not appear in the history of my purchase, but when I search on the itunes store, it says 'buy' and does not give me the option to download. I bought like 350 songs and now I can only download 150 of them, only, this has started to happen after I started the free 90 day trial of apple's music, which has since expired.
Help! I want my music back.
They do not show in the tab purchased in the app Store on your phone for redownloading iTunes and iTunes from your computer section (click on your name / icon to the top right of iTunes then click purchased on the popup)? If they don't then check if you have hidden the cloud: mask and unmask purchases iTunes or iBooks on your Mac or PC - Apple support.
-
void VI does not run with the main VI.
My main and sub VI is attatched.
danil33 wrote:
Re: void / VI does not run with the main VI.
When you start your main program, the Subvi is called and the main VI must wait the Subvi before it can continue. However, the Subvi is not set to open the Panel before, so very probably that it runs in the background for 100 seconds (1000 iteration to 100ms), because no one can press the stop button at the beginning to put an end to the Subvi. Once the Subvi is completed, the last value is returned to the main VI via the output connector and the main VI can process and display this last value. At this point, the main VI stops, because it's done (hopefully you do not "continuous operation").
Obviously you have some misconceptions of beginners on the stream. Please we tell exactly what you expect the program to do, and we might be able to point in the right direction.
-
I received a phone call from someone claiming to be windows and I have stupisly access to my computer, but does not give them the credit card details. This could be a problem
Hello Ann,.
If you allowed them access to your PC, then it is a problem. I considered reinstalling my OS and change all my passwords. It would also make sense, if you use the online banking etc., to inform your bank that you have a security hole on your PC. This will alert them to anyone using your current password to the Bank etc.
This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.
John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com
-
How can I set the time display on the toolbar of the low wing? When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time? Where should I go in windows 7 to do this? I clicked on the date and time also, and it does give me an option to add there either. Please help.
Thank youHow can I set the time display on the toolbar of the low wing? When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time? Where should I go in windows 7 to do this? I clicked on the date and time also, and it does give me an option to add there either. Please help.
Thank youRight-click the taskbar, and then select Properties. On taskbar you of the tab, click Customize. Scroll to the clock and change the "behaviours" on it.
-
Mail application does not give me the ability to pin to my taskbar
Original title: I just bought a laptop HP with Windows 8, but when I right click on Mail all I get is to pin to the Start Menu or remove. It does not give me the ability to pin to my taskbar
I just bought a laptop HP with Windows 8, but when I right click on Mail all I get is to pin to the Start Menu or remove. It only gives me the ability to pin to my taskbar. What should I do now?
Only desktop applications can be pinned to the taskbar on the desktop. Modern (aka metro) applications such as the Mail app can only be pinned to the Start screen and not the taskbar.
-
I bought the pack, but it does not give me the option to download the full version. Just the trial thr. Why?
If these solutions do not work, please contact our staff of support directly by following this link: contact Adobe customer service.
For more information, please visit: FAQ: how to contact Adobe for support?
-
Since Acrobat Reader downloaded DC I can't sign my PDF documents. It does not give me the option more and yes I am connected. On the old version, I got no problem with clicking on "signature" and draw the area where I needed my signature, put the password and "POOF" my signature would be there. With this new version, it won't do that or give me the option. The online help is useless. I need to explain to me how connect you as I used too?
I assumed that you had a digital signature created in your player application of old and whenever you use to fill out a pdf with a signature field signed you it. But in order to draw and then sign you must use Acrobat Pro DC no DC drive.
Thank you
Abhishek
-
Profile does not show that I have a paid subscription. Need to download programs and does not give me the option of.
If your cloud subscription does not appear on your account page, https://accounts.adobe.com/ , and then click Plans & products at the top, you need to contact Adobe for support hours
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
Don't forget to stay signed with your Adobe ID before accessing the link belowCreative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html -
I am charged every month and I do not really use it enough to justify. I followed the instructions of tine for how to cancel at least, but it does not give me the "Cancel" button to click.
Cancel https://helpx.adobe.com/creative-cloud/help/cancel-membership.html
-or https://helpx.adobe.com/contact.html?step=ZNA_account-payment-orders_stillNeedHelp
-
How to export to a .sfw file? It does not give me the option FILE > EXPORT. I installed Flash and everthing.
The functionality to export SWF directly from After Effects files has been removed. He never worked at all well.
Use Flash Professional to create SWF files.
If you want to play a movie that you created in After Effects in a container SWF, and then export your composition using Adobe Media Encoder to the H.264 format and then link or embed this movie in a SWF file in Flash Professional.
-
Have installed Acrobat Pro. I want to scan a document and create a pdf file. When I click on 'File' or 'Tools' and then click on 'Create', it does not give me an option 'Create PDF from a Scanner. It gives me the opportunity to convert web pages or documents already on my computer in PDF format. I tried through Adobe Reader as well as Acrobot have installed and uninstalled the toolbar a few times. Thoughts?
Hi all
For me, it seems that you use Adobe Acrobat Reader, if this is the case, please try use Acrobat Reader cannot create documents from a scanner.
Concerning
Utkarsh
Maybe you are looking for
-
Scan partially removed Microsoft Security alureon.fl but said "manual steps required". What should I do? My PC isn't safe? I don't see my office and all my data?
-
How can I keep another installation of users contained in their login?
Greetings! I share my PC with my wife (who has his own PC but who choose to use mine more so I'm going to h-e-double hockey sticks faster). Well, it downloads and installs Games http://www.gamehouse.com and download games for PC | Game PC secure & sa
-
No moveable taskbar to the left
I found dozens of discussions on this problem, but they always seem to end with, «now drag...» » As with almost every other person, mine will not drag. It is certainly unlocked. A friend took care of my computer today and she has no idea how it happ
-
I have an application needs an auto update feature. I have read the QAnywhere RIM and seems CodeModuleManager.createNewModule () / saveNewModule() is the method to call after download arrays of bytes of cod files from the http server. I called these
-
Ho una edizione Adobe creative suite 3 Master collection for Windows, ho e computer changed I like continuare ad usare tale software como posso way I download by Mac?