添加方法进入Android的复制/粘贴全球上下文菜单?上下文、菜单、方法、全球

由网友(蛋定的人生不需要解释)分享简介:在Android中的文本框,onLongClick揭示了一个右键菜单具有复制/粘贴的方法。有没有什么办法可以添加其他选项(例如,拷贝[在此插入应用程序])?On textboxes in Android, onLongClick reveals a contextual menu that has the copy/...

在Android中的文本框,onLongClick揭示了一个右键菜单具有复制/粘贴的方法。有没有什么办法可以添加其他选项(例如,拷贝[在此插入应用程序])?

On textboxes in Android, onLongClick reveals a contextual menu that has the copy/paste methods. Is there any way to add another option (say, "copy to [insert application here]")?

这是微不足道的在我的应用程序的上下文菜单做的,因为我可以只覆盖onLongClick。我的复制到[插入应用程序在这里]的方法,但是,这只能在我的应用程序的上下文菜单;不是在默认消息的文本选择上下文菜单,例如。

It's trivial to do it within my application's contextual menu because I can just override onLongClick. My "copy to [insert application here]" method, however, would only work in my app's contextual menu; not in the default messaging's text selection contextual menu, for example.

谢谢!

推荐答案

没有,这个不能做。查看复制并粘贴获得更多的信息。

No, this can't be done. See the article on copy and paste for more information.

阅读全文

相关推荐

最新文章