avram / zandy

Zotero on Android
http://www.gimranov.com/avram/w/zandy-user-guide
GNU Affero General Public License v3.0
144 stars 28 forks source link

Citations to clipboard #74

Open avram opened 12 years ago

avram commented 12 years ago

Discussion on Zotero forums suggests that it would be useful to push in-text citations and bibliography-formatted citations to the clipboard; specified use case is Google Docs, but this would be useful anywhere.

Two ways to do this: make the API server do it, or embed citeproc-js in a WebView. The latter would also entail translating from Zotero JSON to citeproc-js JSON, but it's doable (we could request the citeproc-js JSON from the server, but then we might as well request a formatted cite).

avram commented 12 years ago

For clipboard access (we could probably even make a SpannedString for formatted cites): http://developer.android.com/reference/android/text/ClipboardManager.html

Can't use the new version, since that requires API 11.

mlt commented 12 years ago

I think this might be relevant as there are standalone scripting engines to avoid WebView usage just for the sake of JS.