Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Use KeyEvent to get word and position on WebView

Use KeyEvent to get word and position on WebView

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Use KeyEvent to get word and position on WebView

Postby superrona » Thu Jun 03, 2010 10:29 am

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. KeyEvent shiftPressEvent = new KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_SHIFT_LEFT);
  2. shiftPressEvent.dispatch(wv);
  3.  
Parsed in 0.013 seconds, using GeSHi 1.0.8.4


Using this method could copy word on WebView ,and it will store in Clipboard.

How method could I use to copy word and get this word position(x, y) on WebView??

Or is there have any way could I use on WebView?

I want to mark some words, get these words and word's position.
User avatar
superrona
Freshman
Freshman
 
Posts: 2
Joined: Thu Jun 03, 2010 10:05 am
Location: Taipei, Taiwan

Top

Return to General

Who is online

Users browsing this forum: No registered users and 6 guests