10-23-2012 10:10 AM
Is there any way to assign HTML text to a Label so the text is correctly formatted?
Something like in Android:
textview.setText(Html.fromHtml("<p>Some text<br> Some text</p>"));
Solved! Go to Solution.
10-23-2012 10:12 AM
10-23-2012 11:06 AM
10-25-2012 09:13 AM - edited 10-25-2012 09:15 AM
Actually, it sounds like it is supposed to work already!
I haven't tested this out myself yet, but @BlackBerryDev replied to my question about this on Twitter yesterday: https://twitter.com/BlackBerryDev/status/261211118
10-25-2012 10:07 AM
Its work already!!
You have to add the needed flag:
With this flag active, a long press over a link open a context menu con share and open options.
Thanks a lot!
10-25-2012 11:44 AM
I guess it sort of works.... I can long-press and it shows a pre-defined context menu with "Share" and "Open in..." options, and both of those do the right thing (at least, I can share with BBM, for example, and open in the browser).
If I merely tap on the URL, I get this in my log if I provide an onTriggered handler with the same QML code they have in the example in the docs.
11:41:14.116 ca.engenuity.QmlStudies qt-msg 0 QMetaProperty::read: Unable to handle unregistered datatype 'bb::cascades::ActiveTextTriggeredEvent*' for property 'QDeclarativeBoundSignalParameters::event'
Maybe this would work only in C++ for now?