ogarcia / opensudoku

Open Source Sudoku game for Android.
GNU General Public License v3.0
327 stars 144 forks source link

A simple implementation of "Paste from clipboard" feature. #117

Closed demield closed 3 years ago

demield commented 3 years ago

Ehm, hello. I've made a simple solution for "paste from clipboard" feature mentioned in #111. It's not really complete, need to add some proper messages for the user if something goes wrong (invalid mime type or puzzle string format). I would like to get some feedback on this.

ogarcia commented 3 years ago

@demield Is a great idea. Simple and effective. If you add the inverted function to "copy to clipboard" and the messages I'll merge it. Thanks!

demield commented 3 years ago

Hello, again. I've added "copy to clipboard" feature and modified serialization methods to be able to copy puzzle as plain text. If I understood correctly, currently serialization supports only version 3 format, so I mentioned it in a documentation.

ogarcia commented 3 years ago

Merged! No more time for now, in next hours I'll publish a new release :wink: