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

Native Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 6
Registered: ‎07-05-2012
My Device: BB10
My Carrier: Orange

ListView StandardListItem with an external image url

How do I display an image in a ListView given a full external url? All the examples I've found are for images on the local filesystem.

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: ListView StandardListItem with an external image url

New Contributor
Posts: 6
Registered: ‎07-05-2012
My Device: BB10
My Carrier: Orange

Re: ListView StandardListItem with an external image url

That is definitely what I'm looking for, but I don't understand the crucial step needed to wire up the image retrieval in C++ with my ImageView in QML. I am new to C++/QML. Another user ( level32 ) has posted on the thread with the same question. 

 

Any further help would be enormously useful. 

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer
New Contributor
Posts: 6
Registered: ‎07-05-2012
My Device: BB10
My Carrier: Orange

Re: ListView StandardListItem with an external image url

Yes those are interesting threads, but they are talking about a single ImageView. The bit I can't work out is how you bind this image retrieval mechanism to an ImageView in a ListView, defined in QML.

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: ListView StandardListItem with an external image url

Look at the sample stampcollector

 

Stuart

New Contributor
Posts: 6
Registered: ‎07-05-2012
My Device: BB10
My Carrier: Orange

Re: ListView StandardListItem with an external image url

The stampcollector sample is great, but the images it references from the JSON are all local to the application, in the assets/images folder. The JSON I am using has external urls for images ie. http://path/to/image.png and Cascades doesn't yet suppoprt this, as far as I know. So I need to code it myself somehow.

Highlighted
Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: ListView StandardListItem with an external image url

Have you made any progress on this?

Was there enough information in this and the other thread to put the pieces together?

 

Stuart

New Contributor
Posts: 6
Registered: ‎07-05-2012
My Device: BB10
My Carrier: Orange

Re: ListView StandardListItem with an external image url

No, I'm afraid there wasn't. I think the best solution would be to do the image retrieval in C++ and use a ListItemManager with the ListView, but I was unable to get it to work, due in part to my limited C++ skills. Or wait until its implemented in QML