Accessing system clipboard in J2ME (Sony Ericsson)
-
19-09-2019 - |
Question
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.
Solution
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.
OTHER TIPS
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