在 J2ME 中访问系统剪贴板(索尼爱立信)

发布于 2024-08-07 03:32:27 字数 144 浏览 5 评论 0原文

最近的移动电话有一个剪贴板,可以将文本从一个应用程序复制到另一个应用程序(例如从地址簿复制到文件管理器)。是否有 API 可以将内容放入此剪贴板?

我的目标是索尼爱立信手机(包括 G705),因此如果不存在便携式 API,则索尼特定的 API 是可以接受的。

Recent mobile phones have a clipboard where text can be copied from one application to another (E.g. from address book to file manager). Is there an API for placing things on this clipboard?

I am targeting Sony Ericsson phones (including G705), so a Sony specific API would be acceptable if no portable API exists.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

筱果果 2024-08-14 03:32:27

JSR 75 API 提供对文件系统和 PIM 的访问。但是不确定是否可以访问剪贴板

JSR 75 API gives access to the file system and the PIM access. However am not sure if it is possible to access the clipboard

梦醒时光 2024-08-14 03:32:27

如果您显示 javax.microedition.lcdui.Textbox 或 javax.microedition.lcdui.Textfield,则用户可能能够在应用程序之间手动复制/粘贴文本,并且您可以显然可以访问您自己的 MIDlet 中的对象中的文本,但在任何当前的 Sony-Ericsson JP8.x 平台(甚至是专有平台)中都没有可以从 Java 代码访问的适当的剪贴板 API。

The user might be able to manually copy/paste text between applications if you display a javax.microedition.lcdui.Textbox or a javax.microedition.lcdui.Textfield and you can obviously access the text in the objects in your own MIDlet but there is no proper clipboard API accessible from Java code in any of the current Sony-Ericsson JP8.x platforms, not even a proprietary one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文