08-09-2013 01:04 AM
I'm having this problem, i've created a group data model to get store the info of the possibles app to invoke for share a picture.
I populate the data model with no problem, include the .label, the .name and .icon of each target.
But then when i try to use the icon with the url provided by the target app and my app says it can't be found.
Im receiving this url for foursquare
This is the log error:
Aug 09 00:17:16.274 com.example.Camculator.testDev__Camculatorfdc2d092
And it's happening with every other inoked targets, bbm, whatsapp etc.
What could be the problem?
Solved! Go to Solution.
08-09-2013 02:34 AM
08-15-2013 01:17 AM
Ok i found it
I tried with my Z10 and the icon were shown but in the dev alpha not!
So i checked the os version of the dev alpha is 10.1.0.1483 and the z10 is 10.0.10.690
The previous os version when you're trying to find a file outside of your app directories you have to append "file://" to reach it. I knew that but it never saw the double colon i was trying with "file://", my bad
so the code would be like this
QString direc="file://"+target.icon().toString(); //append the file://
entry["imageSource"] = direc; // insert the information int the entry for the groupdatamodel
m_model->insert(entry);//insert the entry int the datamodel
direc will take this vale for foursquare
then read it in my list item in qml