1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Share Image via...

Last Updated:

  1. Rickert

    Rickert New Member


    Im building an app in which you can either pick a picture from file or take one with the camera, this picture will then appear in the canavs. In the canvas you can edit the picture by pasting sprites on it etc.
    So far this is all working fine but now I want to add a share button to share what I created in the canvas to Whatsapp,facebook,etc.

    I've found this snippet:https://lh6.googleusercontent.com/-...wI/AAAAAAAAAc0/G7EH4MbipQc/s1600/sharevia.jpg
    This thing works great to send text, but Im not sure how to convert it to share images.

    Probably changing the DataType to: image/png
    and the ExtraKey to: android.intent.extra.STREAM
    But what more? I can't get it to work. Please help


    PavementPilot likes this.
  2. PavementPilot

    PavementPilot Well-Known Member

    I think that would work. I havent tied it yet. I wont be able to until the weekend. If you try it before this weekend, let us know how it worked for you.
  3. PavementPilot

    PavementPilot Well-Known Member

    I got it to work flawlessly for sharing a message set up from a selection of list picker items for creating a road report. Thanks Rickert for bringing this to my attention.

Share This Page