1

I'm planning to develop english tool-tip dictionary in android. As I mentioned in the title, is there any way to get a selected(or tapped) text from Mozilla or any other text viewer program to my application??

copying to clipboard is not convinient, so I want to pop up the meaning of word when people select it or tap it.. but I still can't find how to carry out the text.

I only found getSelectionStart() and document.onselectionchange which is used when we get the text of it's own program.

Is there any way to carry out the selected text to other program? and without being rooted. Please rescue me!

4

1 回答 1

0

不,您不能访问这样的事件,除非出于安全原因它是您自己的应用程序。

如果允许,恶意应用程序可以使用它来复制用户名和密码等个人详细信息

于 2013-07-15T09:24:20.873 回答