Scratch pad: WP7 app that features copy and paste using the current development tools

We all know, or is it assume, that copy and paste cannot be implemented using the current WP7 development tools. We also know the feature is coming soon from the video here. Well, Developer Matt Lacey, decided to up the ante and prove that it could be done with the currently available tools. From his blog

I’ve pointed out to a few people that it’s possible to implement the cutting, copying and pasting of text within an application quite easily. (It actually only take a handful of lines of code.) But no-one (AFAIK) has taken the initiative to do this. Before now…

Surprisingly, the sandboxed nature of 3rd party applications on the phone has lead many (most?) to assume that this isn’t possible.
I beg to differ!
Take a look at this video of 3 apps I wrote. 2 accept the entry of text and support methods of multiple word selection (also not currently available natively) and cutting, copying and pasting text. The third app just shows what is in the "Shared Clipboard". Yes. These apps all have access to the same clipboard. And, no, this isn’t done by sending the data to a remote web server or anything like that. It’s also not using anything not publically available and only uses public, authorized API methods.

The video does show cut, copy and paste on one application and even between two applications (his own apps) I don’t think this would translate to any other apps not produced by the developer like SMS or Office documents because there are no options to do so. He says he has submitted the app to the marketplace to prove that everything the app does is above board. Even though this app’s usefulness may be limited and short-lived, it is  always good to see developers extending the boundaries of what can or cannot be done.

Source Matt Lacey

Some links in the article may not be viewable as you are using an AdBlocker. Please add us to your whitelist to enable the website to function properly.

Related
Comments