Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Support native clipboard on iOS #1435

Closed
t-arn opened this issue Apr 8, 2015 · 1 comment
Closed

RFE: Support native clipboard on iOS #1435

t-arn opened this issue Apr 8, 2015 · 1 comment
Milestone

Comments

@t-arn
Copy link

t-arn commented Apr 8, 2015

Current libVersion: 85
Display.copyToClipboard should copy data into the native clipboard on iOS (same as on Android)
Display.getPasteDataFromClipboard should get data from the native clipboard on iOS (same as on Android).

This would enable to programmatically share data between separate apps on iOS.

@shannah shannah assigned codenameone and unassigned shannah Jun 8, 2015
@codenameone codenameone added this to the Version 3.9 milestone Jul 16, 2017
@flewby
Copy link

flewby commented Nov 10, 2017

I would add that on android, I had to cast the clipboard object (containing text) to CharSequence, rather than to String, in order to extract the contents. (I think the actual class on android was SpannableString).

I didn't test on iOS but definitely look forward to an API that works the same on both platforms :-) !

https://stackoverflow.com/questions/47214016/how-to-read-a-string-from-the-clipboard-in-a-codename-one-app

@codenameone codenameone removed their assignment Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants