09-28-2012 05:44 AM
Hi,
Do you have any idea about we need to handle click event of List?
09-28-2012 05:47 AM
I don't think you have. First that would be strange
Secondly how would you do that? That popup window is probably not even in your process.
09-28-2012 05:48 AM
Ya that i am thinking. it is not possible to handle list view click as we not create list view in application.
12-01-2012 11:55 PM - edited 12-02-2012 12:02 AM
Meghasanghvi,
I downloaded the project you uploaded and I was able to get it to work with some slight modifications.
Here is what I have in my working main.qml
// Default empty project template
import bb.cascades 1.0
// creates one page with a label
Page {
Container {
layout: DockLayout {
}
Button {
attachedObjects: [
Invocation {
id: invoke
query: InvokeQuery {
mimeType: "image/png"
uri: "images/icon.png"
invokeActionId: "bb.action.SHARE"
}
}
]
onClicked: {
invoke.trigger("bb.action.SHARE")
}
}
}
}You can see above that I changed the value of uri: ( changes in Bold ), and I also changed the file name to icon.png because the filename you were using did not exist in the project you provided. The path that you were using before, file:///images/icon.png, was incorrect and didn't exist.
It appears that the Invocation framework checks to see if the content exists and when it doesn't find it, it just disappears instead of giving any sort of error or feedback message. Hope that helps you and anyone else who might be having trouble.
Zymatic