GithubHelp home page GithubHelp logo

share_to_clipboard's Introduction

Share to Clipboard

Share to Clipboard

Share to Clipboard is an Android app to copy clipboard straight from the share menu.

Get it on Google Play Get it on F-Droid

Contributing

Contributions of all types are more than welcomed!

Translations

Translations are highly appreciated and are easy to create. No tech know-how required, just translate the strings in strings.xml and send us the results. Also you could translate the metadata, excluding the images folder, to add translated descriptions about the app on stores.

It's better if you can create a pull request, but an email with the translated file will also be appreciated.

License

This project is released under GPLv3.

Contributors

The following people have contributed code or translations to this project:

Donations

If you'd like to donate, please click here.

share_to_clipboard's People

Contributors

amitesh-singh avatar burunduk avatar ceolin avatar credomo avatar flnch avatar helkanen avatar hermet avatar hugomg avatar jundl77 avatar keltar avatar mariospr avatar metezd avatar naufaldsg avatar porrumentzio avatar q66 avatar sr093906 avatar talhaco avatar talhacohen avatar tasn avatar thiep avatar wwasiak avatar yakov-g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

share_to_clipboard's Issues

Replace ez-vcard with gradle dependency

Jar files are binaries that shouldn't be included in the vcs. Instead, you can use them like compile 'com.googlecode.ez-vcard:ez-vcard:0.9.6' in build.gradle.

maybe add link unshortener/tracking query param remover?

i sometimes share links to websites that use tracking urls, either through a link shortener or through utm_* query parameters. i generally have to manually remove these from the link myself before sending to friends, so it'd be neat if this app could scan those urls to remove tracking stuff.

it should be simple enough to detect redirects and copy the resulting url from the Location header, and android provides handy url parsing tools you should be able to use to cleanly remove unwanted parameters

Tiny survey about energy aware software practices.

Dear contributors,

would you be willing to fill in a short 5-10 min survey (https://forms.gle/F3YwtLVKtk47yVhC9) about energy-efficient mobile development practices in the context of my master thesis? It's about raising awareness of software energy practices and about LeafactorCI, an open-source project for helping in that regard. Your input would be greatly appreciated. Thanks a lot!

Ricardo Morais.

Increase priority in share menu

This app is great and I use it quite frequently. Therefore, I would prefer if it always appeared on the first page (top 8 apps) in the share menu, so I can access it faster (although I don't want to make it the default because I don't always use it).

I'm not sure how Android decides what order to show items in / whether it's possible to change that. If not, an alternative would be to show a "toast with action"* (like Firefox opening tabs in the background), where the action re-shares the content to a different app (and then I'd set this as the default).

*I haven't looked at the code but I think it's not actually a toast, just a view shown via overlay

Share To Clipboard doesn't pop up when I click share.

Hello,
Share To Clipboard is not showing itself for me. I am clicking share, there are other apps but no "Clipboard" is available. Tried to run it before sharing, reinstalling - but it just not seem to work.

Im using latest version, EMUI 5.0 Nougat

Performance under Android 10

Hi,
I'm pretty certain it's not the fault of this app but performance under Android 10 (Realme 7, latest OTA patch) is erratic, is there anything you can do? Perhaps read the clipboard to see if it matches?

I've just copied a half-dozen links from YouTube & none of them have been captured by my clipboard manager,
Clipboard Actions - de.halfreal.clipboardactions & of course YouTube has taken a fresh start so I can't even press [back] to try again.

I have tried other clipboard managers but this is the best I've found. I had gotten used to Clipboardr - com.isaiasmatewos.clipboardr being 100% reliable for years under Android 5 but it's lo longer maintained & doesn't work under Android 10 :'-(

This is soooo frustrating!

FastHub Gists support

I've just tried to share a gist from FastHub app and got an error saying that Share to Clipboard doesn't support such format.

Could you look into it, please?

I'm running Lineageos 14.1 (Android 7.1)

Respond to image sharing with an error message and a reshare?

The number one complaint we get by both email and play store comments is how we don't support sharing images ("Share to clipobard doesn't show when I try to share a photo").

Maybe we should just show an error message and automatically reshare the photo?

@hugomg, you were against accepting shares we don't support. Any thoughts about this one?

Suggestion: Reverse share

Hey,

just an idea. Would a reverse share be a nice-to-have feature? Basically, allow the app to take the clipboard and share it with another app. Could be very useful for apps that don't have text input (and therefore can't be pasted into) or speed up the process in some cases.

Cheers :]

Should we give some visual feedback if notifications are disabled?

It would be nice if we always gave some visual feedback after copying something, even if notifications are disabled.

In versions of AOSP that come with a built-in "share to clipboard" feature, there is a toast to provide that visual feedback. This is also what this app used to do before commit bac353b6, which introduced the re-sharing notification.

vcard parsing use-case disadvantage

I looked for a way to share plain vcard text to binaryeye - a qrcode generator - to share as vcard qrcode.

With vcard parsing, this route is barred.

Would you consider putting the vcard parsing behind a option switch?

Android versions

Hi,
can you put in the Readme & F-Droid listing which Android versions this supports, please?

The F-Droid listing shows the minimum version (which is commendably low) but I don't see highest version anywhere?

In particular, I've just got my first Android 10 device & I'm hitting problems & brick-walls with all sorts of apps, I would prefer not to install an app than try to clear up the mess afterwards if it doesn't work.

Android 5 was bad enough but 10 is just ridiculous & there's an 'upgrade' to 11 poised to install itself.

Propose new logo

Hello, I want to contribute to this awesome project, and I have a new logo design for you, if you allowed I will send to you :)

Weird code in handleRfc822Message

This code looks like it should have been doing email += instead of email =.

String email = emails[0];
for (int i = 1; i < emails.length; i++) {
    email = ", " + emails[i];
}

Would you be able to help me understand when handleRfc822Message is normally called?

Should we stop handling VIEW and DIAL intents for email and phone numbers?

As discussed in #29, there are some issues with handling VIEW and DIAL intents for email and phone numbers:

  • VIEW and DIAL intents are not the result of the user pressing a "Share" button. Typical sharing intents use the SEND intents.
  • When the users chooses what app to use to open a VIEW or DIAL intent, Android asks if the app should be used "Just once" or "Always". If the user accidentally sets Share to Clipboard as the default handler for that task then it will hijack future attempts to send emails or call phone numbers.
    • The only way to undo this is to go to system settings, under Apps and Notifications.
    • If notifications are disabled then there is no visual or audible feedback to show that Share to Clipboard is hijacking the VIEW or DIAL intent.
  • Share to Clipboard's functionality is not strictly necessary for these intents because email clients and phone dialers already put the relevant data in an editable textbox. The user can use regular copy/paste to copy the email address or the phone number.

I propose that we trim down the list of intents that Share to Clipboard handles. I think we should get rid of VIEW and DIAL intent filters for phone numbers and email and keep the SHARE intent filter for text and v-cards.

App size suddenly doubled. Malware concern.

The size of this app suddenly more than doubled in size, from 853 KB to over 2 MB, on the F-Droid market. Cannot locate explanation of why. Natural concern over presence of malware is raised.

Flattr link not working on Android?

Having just signed up for Flattr I'm not sure if it is just a flaw in the Android browser experience or if something else is broken, but I can't seem to successfully follow the link to the @tengusw Flattr to subscribe.

Remove unnecessary icons

After I download the package from F-Droid, opened with X-plore (long press the package icon and click Open as ZIP), I saw there are numerous icons in the package (for example, drawable-hdpi-v4), but they haven’t been used, is it possible to exclude these icons into the package?
Screenshot_20210315-165250

[Question]

Any plan to turn this app into a clipboard manager? There's not a single one on F-Droid, to my knowledge.

How to copy a newline to clipboard using adb shell?

Context

I know that I can use the following command to copy a string to the clipboard

$ adb shell am start-activity \
  -a android.intent.action.SEND \
  -e android.intent.extra.TEXT "foo" \
  -t text/plain \
  com.tengu.sharetoclipboard

I also know that when the string has a space character, the space character needs to be escaped

$ adb shell am start-activity \
  -a android.intent.action.SEND \
  -e android.intent.extra.TEXT "foo\ bar" \
  -t text/plain \
  com.tengu.sharetoclipboard

Now, I want the string to have a newline character. I've tried the following commands with no avail.

$ adb shell am start-activity -a android.intent.action.SEND -e android.intent.extra.TEXT "foo\nbar" -t text/plain com.tengu.sharetoclipboard
$ adb shell am start-activity -a android.intent.action.SEND -e android.intent.extra.TEXT "foo\\nbar" -t text/plain com.tengu.sharetoclipboard
$ adb shell am start-activity -a android.intent.action.SEND -e android.intent.extra.TEXT "foo\rbar" -t text/plain com.tengu.sharetoclipboard
$ adb shell am start-activity -a android.intent.action.SEND -e android.intent.extra.TEXT "foo\\rbar" -t text/plain com.tengu.sharetoclipboard

Any ideas on how to make the newline character to be inserted in the clipboard?

System information

  • Phone model name: Samsung Galaxy A12
  • Phone model number: SM-A127M
  • Android v11
  • Share to Clipboard v1.15.0

PS: I referenced this issue in this comment at Stack Overflow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.