Show HN: Open Source Android App to Share to Clipboard(play.google.com)
play.google.com
Show HN: Open Source Android App to Share to Clipboard
https://play.google.com/store/apps/details?id=com.tengu.sharetoclipboard
6 comments
Cool. I've been out of Android development for some time, but why does this need be an Activity? Couldn't it simply be a service (an IntentService or otherwise) that receives the intent and drops the text in the clipboard? Aren't Activitys usually associated with some UI that fills the screen?
We've actually had issues with the app not showing in the share button when using IntentService, but following your suggestion we'll give it another go. :)
Thanks for your suggestion.
Thanks for your suggestion.
Additional links:
GitHub: https://github.com/tengusw/share_to_clipboard
F-Droid: https://f-droid.org/app/com.tengu.sharetoclipboard
GitHub: https://github.com/tengusw/share_to_clipboard
F-Droid: https://f-droid.org/app/com.tengu.sharetoclipboard
How does this differ from the system "Share to clipboard" (at least on Android 5.0) option?
Android 5.0 doesn't have "Share to clipboard", it's actually provided by Google Drive.
Many (especially non nexus users) don't use Google Drive.
Furthermore, this app is also useful for people not using a Google based Android, like the Amazon version or Replicant.
Edit: we also handle vcard and plan on adding other formats which Google drive doesn't.
Edit: we also handle vcard and plan on adding other formats which Google drive doesn't.
Interesting that drive provides this functionality, and not the system. Thanks for clarification! (:
I've been using https://github.com/johanhil/copy-to-clipboard. How does this one differ?
I've also used it for a while. That one has an annoying visual bug (flashing phantom activity) and doesn't support things other than text/plain.
We would have normally contributed back to the original project instead of writing from scratch, but since it hasn't been improved in years, the author is completely inactive and it's a fairly simple application, we decided to roll our own.
We would have normally contributed back to the original project instead of writing from scratch, but since it hasn't been improved in years, the author is completely inactive and it's a fairly simple application, we decided to roll our own.
Fair enough.
makimoto, you are hellbanned for ages and I don't really see why. Sorry!
Reposting makimoto's comment: Using "share to clipboard" from Alexey Lyubeznov. His is 11kb. Yours is 1mb+. What does yours do that his does not?
Reposting makimoto's comment: Using "share to clipboard" from Alexey Lyubeznov. His is 11kb. Yours is 1mb+. What does yours do that his does not?
Handle VCards and soon other types (this pulls in some libs).
Also, now looking following your comment, we are pulling in the appcompat library for no apparent reason, we'll remove that, and it'll probably shrink down the binary size. Thanks.
Also, now looking following your comment, we are pulling in the appcompat library for no apparent reason, we'll remove that, and it'll probably shrink down the binary size. Thanks.