02-09-2013 07:20 PM
I would like to create a feature that allows people to share an image on Facebook/Twitter etc. However I want this image to be one that I generated in-app. So probably some base64 encoded kind of thing. I'm planning to generate the image through HTML5 canvas. I want users to be able to share the generated image without it having been saved to the photo library.
Is this possible? If so, how would I do this? I've browsed some docs but didn't find this scenario.
Solved! Go to Solution.
02-10-2013 10:12 AM
I had a discussion with Phil about just this subject last week in Amsterdam
We eventually worked out that the only way to do it was the messy workaround as it currently stands
See here for the other way round method (works with uploads too)
Our conclusion was that the only viable method was doing the work on a server at present
It's a bit of a hack but has all the possibilities of working
You can Base64 stuff easy enough on the device but you need to get at the raw data (that's the issue)
02-10-2013 11:28 PM
I managed to do it by creating a HTML5 Canvas, saving the image to a designated location/filename and then using that saved image through the sharing framework. Works like a charm!
02-24-2013 07:10 PM