I’m trying to figure out how I can choose an image in my clipboard when the media picker window comes up.

For example, if I’m on imgur.com and I want to upload an image in my clipboard, there is no option for me to paste into the input field.

Ideally, I would like to have something available in the media picker to paste from clipboard. That would allow using clipboard for any app.

I kinda consider this something like adding the clipboard to the “share” menu. https://github.com/tengusw/share_to_clipboard

Is there anything like this?

I do not have root access on my phone.

  • go $fsck yourself@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 month ago

    In the media select window I see the ability to select from other apps:

    I do have to get there by selecting “browse” from the three dots menu

    • davidgro@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      Oh! Good find. Looks like the way to do this is by implementing ACTION_GET_CONTENT. I can’t help you beyond that (I don’t have a dev environment set up and am a novice anyway)