Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / is there a way to save an image directly into the Gallery folder on android ?

Author
Message
haliop_New
User Banned
Posted: 1st May 2016 11:59
well.. is there ?
I want to press save
and once pressed the image will be saved in the default Images of the phone
so if I open the phone's gallery app it will show it there.

thank you for your time.
haliop.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 1st May 2016 17:45
Try PrintImage. I know the help says it will print to a connected printer, but for Android it just saves the image to the gallery.

V2 T1 (Mostly)
Phone Tap!
Uzmadesign
haliop_New
User Banned
Posted: 1st May 2016 17:55
no way I'm checking this now ! thank you
haliop_New
User Banned
Posted: 1st May 2016 18:16
THIS DOSENT WORK

it saves an entirely black image into the Gallery ...

does someone knows the exact Gallery folder on Android
I will be able to use SaveImage with the correct Directory name
haliop_New
User Banned
Posted: 3rd May 2016 17:42 Edited at: 3rd May 2016 17:46
ok this is really stopping me from releasing 2 apps I have
I also tried to save the files into the default directory but it saves them only on my pc and not on my lg g3 phone
this is really hard to continue cause the 2 apps are painters but without the ability to save the images its just not worth playing and drawing something elaborate , please if any one knows what method works when it comes to
saving a render to image image on android , please share your thoughts.



thank you for your time , Haliop.
a picture attached to get things pumped up.

Attachments

Login to view attachments
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 3rd May 2016 20:59
You should be able to at least save files to the same directory as normal save files. I don't think AppGameKit allows you to access folders outside the specified one, on mobile platforms. At least my phone lists all images on the phone in the gallery, regardless of where they are stored.
haliop_New
User Banned
Posted: 4th May 2016 07:32
I know I should be able to do so
but apparently it dosent save
not only that
GetFileCount() dosent work right

on my g3 it dosent work at all
and on pc , if I just saved one image it wont show the last saved file
I need to take another look.
does anyone has the same problem with AppGameKit 2.018 ?
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 4th May 2016 07:57
Quote: "THIS DOSENT WORK

it saves an entirely black image into the Gallery ..."


Confirmed. Looks like a bug (unless TGC have decided to drop that functionality - I hope they haven't!).
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 4th May 2016 07:58
I have no problems saving files to the default folder on Android. And have no problems saving files and images to any folder on PC.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 4th May 2016 08:46
Or I should say that I haven't had any problems before. Not tested anything recently.
haliop_New
User Banned
Posted: 4th May 2016 14:06
can someone try just to save one image and load it up , it might be a bug or maybe I'm doing something wrong..
using tier1 2.018
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 4th May 2016 16:19
Fixed for the next version. It only affected images created with SetRenderToImage, the pixel data has to be retrieved in a different way for them.
haliop_New
User Banned
Posted: 4th May 2016 16:33
WOW PAUL YOU ARE AWESOME THANK YOU MAN !!! CANT WAIT,
good i'll keep on building .

as Always , Thank you Paul.

Login to post a reply

Server time is: 2024-11-25 08:34:06
Your offset time is: 2024-11-25 08:34:06