Go Back   Android Forums > Android Development > Application Development > App Inventor

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old November 16th, 2012, 07:02 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default Share Image via...

Hello,

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/-2etBFB_5JW4/UChRdvxzkwI/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

Greetings,
Rick

Rickert is offline  
Reply With Quote
The Following User Says Thank You to Rickert For This Useful Post:
PavementPilot (November 21st, 2012)
sponsored links
Old November 19th, 2012, 04:28 PM   #2 (permalink)
Junior Member
 
PavementPilot's Avatar
 
Join Date: Aug 2011
Location: Vernon, BC
Gender: Male
Posts: 47
 
Device(s): Note 3 Tab 3 10.1 Gear
Carrier: Bell

Thanks: 4
Thanked 3 Times in 3 Posts
Default

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.
PavementPilot is offline  
Reply With Quote
Old November 21st, 2012, 03:08 PM   #3 (permalink)
Junior Member
 
PavementPilot's Avatar
 
Join Date: Aug 2011
Location: Vernon, BC
Gender: Male
Posts: 47
 
Device(s): Note 3 Tab 3 10.1 Gear
Carrier: Bell

Thanks: 4
Thanked 3 Times in 3 Posts
Default

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.
PavementPilot is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development > App Inventor
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:39 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.