Blackberry UI - how to embed link within text - blackberry

I am making a BlackBerry app, supporting OS 4.5 and later, where I want to embed some links within a line of text on the screen. Like this -
text text text link1 text text link2 text
How do I do it? Tried using 4 seperate ActiveRichTextFields but the problem is how do I make link1 n link2 focus-sable as a word? setChangeListener(this) and setFocusListener(this.getFocusListener()) doesnt seem to do the trick. And how do I capture the click event on the links to redirect it to the webpages?

Take a look at HyperLink example provides By RIM . I think that will surely help you.

Related

Copy/Paste Plain text without the formatting

i have to copy/paste text from Safari and Notes to the Mail App multiple times per day. Previous IOS update only pasted plain text without any formatting, but they changed it now.
Every time i paste text in the Mail App it comes with the formatting which is not what i need. I am familiar with COPY from the "Share" button. But, it would be much easier if there was a way to change something in settings to paste text without formatting using the regular copy/paste buttons?
Quickly tap anywhere on the text field of the text you want to
copy.
Choose Select All from the contextual menu.
Choose Share from the contextual menu.
4-ChoseCopy from the Share Sheet.
Source
In desktop Mail App there is an option to delete formatting if you can use desktop for that. Method i use on phone is that i'm just pasting it into search and copying it again.

Tool tip text in Google App Maker

Is there a simpler way to do tool tip text when ever I hover thru the following button in Google App Maker?
Go to the Other section of the Property Editor. The title field should give you what you need.
This works well. I know there is a way to inject JQuery into the AppMaker, and from there its just determining when the DOM is loaded and you can modify the element with a script.

Creating the hyperlink preview in iOS

I am trying to create the preview of a hyperlink. I am unable to get any leads about the same. My project is written in Objective C.
I searched the web and found a few third party libraries which are written in Swift.
Thanks in advance.
To generate a hyperlink preview, make sure the link is either at the beginning of a text message, or at the end of the text message. If the hyperlink is in the middle of the text message, iOS won't show a hyperlink preview. Also make sure that the hyperlink starts with http:// or https://.

Rich Text Editor for iOS

My users have asked if I can add a Rich Text type editor to my app. The field that they want this added to is a UITextView.
Obviously, they also will want to see the text displayed as they've entered it.
Any suggestions for how to implement this is greatly appreciated.
There are 2 approaches - a UiTexView can handle most Rich Text Editor stuff not including lists.
The 2nd way is a WebView and some html / JavaScript.
A WebView might be the best approach but be careful - some of the WebView based solutions out there were rejected from the AppStore since they use private methods of the WebView - that is not allowed by Apple.

How to make an HTML styled-link in IOS?

Target
Give the User a clickable link like they experience and expect from HTML
HTML Example
w3schools - Web Links Example
Question
Is this possible from IOS? I have seen how to -
apply an underline through NSMutableAttributedString
how to open a link through UIApplication.sharedApplication().openURL(NSURL(string: "http://www.google.com")!);
(todo) color
(todo) color toggle
I really hope that this is! It is a strong desire of mine to add to my App right now!

Resources