BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 11-10-2008, 05:07 AM   #1 (permalink)
New Member
Join Date: Jul 2008
Model: 8110
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default retrieve the selected text in a BrowserContent

Please Login to Remove!

I have the following (simplyfied) piece of code to create a BrowserContent and displaying it onto a FullScreen.

RenderingSession rs = RenderingSession.getNewInstance();
BrowserContent bc = rs.getBrowserContent(conn, this, null);
VerticalFieldManager vfm = new VerticalFieldManager(Manager.VERTICAL_SCROLL);
(In the loaded HTML page there's a link) My question is whether I can catch the click of the link (in order to load the next page), or alternatively to retrieve the selected text.
I searched the APIs but found no way to achieve this. I tried even the following

Clipboard cb = Clipboard.getClipboard();
Logger.logDebug("fired text: " + cb.toString());
but with no success.
Moreover I have no callback on eventOccurred(Event evt).
Someone have a solution to this?

ps. Is there a way to show up the "mouse" pointer?
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Mitsubishi Semiconductor CM150TF-12H
Mitsubishi Semiconductor CM150TF-12H pictureMitsubishi Semiconductor CM150TF-12H
Mitsubishi Semiconductor CM150TF-12H pictureMitsubishi Semiconductor CM150E3Y-24E
Mitsubishi Semiconductor CM150E3Y-24E pictureMitsubishi Semiconductor CM200DY-24NF
Mitsubishi Semiconductor CM200DY-24NF pictureMitsubishi Semiconductor CM100BU-12H
Mitsubishi Semiconductor CM100BU-12H picture

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.