2017 Method? Screenshot and use native share with Android

Get help using Construct 2

Post » Fri Mar 10, 2017 3:55 pm

Message: manran can only post plain text URLS until they have 500 rep. 4 URLS modified. Why?
Hi ,
Be sure that i've spend longtime to search around the web before posting here.I'm a bit desperated. My game is finished but i'm stuck on creating screen shot and native sharing (all social medias). Here are all the method that i've tried, please understand that it's my first project with C2 and i'm not a programmer i mainly use the sheet.

1.I've tried the c2 internal snapshot canvas method > Saving the snapshot it works on web Browser and it seems working on android too but i have no idea where the saved images go on the device.If i could create a directory on the device and place the image there by default it will be better for the users. The goal is to save the images then the users can share them with the standart image sharing method in all social medias.
Image

2.I've tried this https://www.scirra.com/tutorials/1457/s ... oid/page-3
The issues are that it seems that the tutorial is outdated and some of the object are not longer present in C2 example the webstorage, there is the local storage but the action are not the same at all.Also there is no instruction for the plug in C2 installation.
the plug in is https://github.com/EddyVerbruggen/Socia ... i--plugman


3.I've Bought the Cranberry plug in and it seems that the Share app plug in doesn't share image only text. The dev seems also be very non responsive....There are many plug ins inside the pack and i don't know which one to use together to achieve the operation.The goal is to capture screenshot then share with the native android sharing system. I've asked to him by mail but no answer the plug itself took 12 hours to be delivered ( link) , the g+ support seems totally deserted by the plug in creator dev. I've bought the plug in because of the emergency but finally i'm still late.
Image

4.i've also tried this method
http://hermitsdevelopment.blogspot.com. ... aring.html
and i have no idea what to put in the image field
Image

5.I've also tried this one https://github.com/EddyVerbruggen/Socia ... i--plugman
but i don't know how to install the plug in.

Thanks for your help guys.
This is the final step that preventing me to release the app.
B
8
S
4
Posts: 17
Reputation: 792

Post » Fri Mar 10, 2017 8:52 pm

I think you can't save files directly to disk from the exported HTML5. It's a technology limitation (for HTML5 security reasons)
The only alternative is to give a downloadable link for user to click on.
Lead developer at Octeto Studios
Visit our portfolio at: http://www.octetostudios.com/ :)
Facebook || Twitter || Youtube
B
37
S
7
G
5
Posts: 217
Reputation: 5,614

Post » Sun Mar 12, 2017 4:30 am

Message: manran can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I'm trying to experiment every potential solution so if you know how to install this kind of plug in please tell me https://github.com/EddyVerbruggen/Socia ... Gap-Plugin thank
B
8
S
4
Posts: 17
Reputation: 792

Post » Tue Jun 20, 2017 7:33 pm

On Canvas Snapshot -> YourPlugin.image = CanvasSnapShot
Image

CanvasSnapshot only works in "On Canvas Snapshot" trigger.


This works on Android and iOS.
B
33
S
11
G
2
Posts: 45
Reputation: 3,156


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, PROxMTswatTR and 14 guests