| Summary: | SDL does not support system clipboard on Android. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Philipp Wiesemann <philipp.wiesemann> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: |
patch for system clipboard support on Android
android_system_clipboard_support_patch.diff |
||
Created attachment 955 [details]
android_system_clipboard_support_patch.diff
I attached an updated version of the patch because some related files were changed.
Patch applied, thanks! http://hg.libsdl.org/SDL/rev/ab55284b389f Thank you for applying my patch. I did not add the SDL license comment at the top of the files (SDL_androidclipboard.c and SDL_androidclipboard.h) only to keep the patch smaller. Now this makes the files inconsistent with the remaining source. Fixed these as well. Thanks! |
Created attachment 929 [details] patch for system clipboard support on Android Hello, there is currently no way in SDL to interact with the system clipboard on Android. I attached a patch which tries to implement the three clipboard functions for Android. It does not add the CLIPBOARDUPDATE event because this seems to require Android API 11 or polling.