Core

Reply

Using the device's Clipboard

[ Edited ]

I've put together a little demo of how to get and set text to the device's clipboard, and a link to the code is below. It also uses parts of the UIToolkit, such as Text Boxes (EditableText), Buttons, and MessageDialog's.

 

http://research.scee.net/pssuite/ClipboardDemonstration.zip

 

In short, all you have to do to set and get items on the clipboard is:

Clipboard.SetText("Hello PSS Users");
Console.WriteLine("Clipboard Contains: " + Clipboard.GetText());

We'd love to hear your feedback!

PlayStation®Mobile Dev Team
Please use plain text.

Re: Using the device's Clipboard

A byte array might be a little more flexible, i.e. images or protocol buffers.
What happens if the device's clipboard is an image or other bunch of bytes, how is that translated to a string?
Does this mean that the clipboard of all PSS devices is a String? That would seem odd as the devices aren't limited to PSS programs and datatypes.
Please use plain text.
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。