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

Clipboard #8

Merged
4 commits merged into from
Oct 21, 2010
Merged

Clipboard #8

4 commits merged into from
Oct 21, 2010

Conversation

bvibber
Copy link
Contributor

@bvibber bvibber commented Oct 21, 2010

Initial implementation of Ti.UI.Clipboard API for iOS based on the Titanium Desktop one. Android impl and KitchenSink demo are already in, I believe, so the merge should only add the iOS commit.

…oard API from Titanium Desktop.

Since the Android clipboard only appears to support plain text strings, only text is supported. The getData(), setData(), and hasData() functions will pass text through if given 'text/plain', and otherwise do nothing.
…the Titanium Desktop version's API.

setText(), hasText(), and getText() work and are successfully demo'd in KitchenSink (separate commit).

Data untested, but in theory should allow sending/receiving images (from image, data, or file-backed blobs) and raw-data blobs, though there may not be proper mapping of MIME types to UTIs for the iOS pasteboard.
Special handling of 'image' and 'url' types to explicitly mark as image or URL, as per the Desktop version.
pingwang2011 pushed a commit to pingwang2011/titanium_mobile that referenced this pull request Jan 10, 2012
[TIMOB-6718] Fixed issus with Ti.Network.HTTPClient including timeouts, readyState, and error handling.
jpl-mac referenced this pull request in jpl-mac/titanium_mobile Mar 29, 2012
Add blackberry support in Packager used by scons
This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

1 participant