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

Reply
Regular Contributor
Posts: 56
Registered: ‎03-02-2012
My Device: 9780 & Playbook 32GB & Dev Alpha
My Carrier: Vodafone GR

share active text instead of full link

Hello devs. I have my invocation working. It is sharing some text like:

"This is content from my app. Check this out: http://www.something.com/somethingelse/lets_say_an_image.jpg"

 

Where http://www.something.com/somethingelse/lets_say_an_image.jpg is actually the ListItemData.link

 

Is there a way to make it sharing this instead?

 

"This is content from my app. Check this out" 

 

And this would be the link?

 

 

Retired
Posts: 85
Registered: ‎05-25-2012
My Device: Limited Edition Z10
My Carrier: Bell

Re: share active text instead of full link

You can use Active Rich Text in Label controls.  Try:

 

text: "<html>Utilizing <a href='http://www.rim.com'>active rich text</a> in your app </html>"

 

Highlighted
Regular Contributor
Posts: 56
Registered: ‎03-02-2012
My Device: 9780 & Playbook 32GB & Dev Alpha
My Carrier: Vodafone GR

Re: share active text instead of full link

This works fine with a label. but i want to replace the actual link with active rich text the invocation data that is sent from my app. And the link will not be the same every time. I just realised that i need bbm for example to be able to read html....