Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

can't fetch contact image

Hi!

 

I'm using the contacts api to fetch contacts from the BB10 addressbook, but the picture field only contains a filename and path. The problem is, these pictures are not in the shared folders, so everytime I try to access it i'm blocked by some security permission.

I'm sure there must be a way to fetch it, or else why would we have access to the path? 

Any ideas?

 

thanks in advance

Nuno
Developer
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB

Re: can't fetch contact image

Have you got this in your config.xml?:

 

<feature id="blackberry.pim.contacts" />

 

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: can't fetch contact image

Of course! otherwise I wouldn't even be able to fetch any contact info :smileyhappy:

Nuno