Saving a files on Android

Please post anything related to the Hollywood APK Compiler here
Pierre55
Posts: 43
Joined: Sat Apr 01, 2017 4:25 pm

Re: Saving a files on Android

Post by Pierre55 » Wed Apr 10, 2019 10:50 pm

Hi AirSoftSoftwair,

I have a Samsung Galaxy TAB S2 with Android 7.0

Sorry but there is a REQUESTER asking where to save but no interface like in the Amiga, Windows and Mac I suppose in wich we can browse directories to choose where we want to save the file.

Here a link so yuo can see what I have on my screen.

http://pages.infinit.net/pgx/Screenshot ... 164410.png

Thank you.

Pierre.

User avatar
airsoftsoftwair
Posts: 2968
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Saving a files on Android

Post by airsoftsoftwair » Thu Apr 11, 2019 8:40 pm

Is this in an applet you run with Hollywood Player or is it in an APK compiled by the Hollywood APK Compiler? If it is in an APK compiled by the APK Compiler, you have to use PermissionRequest() first. Otherwise Hollywood won't be able to read from your external storage, which means that FileRequest() won't show any files and folders to browse through.

Pierre55
Posts: 43
Joined: Sat Apr 01, 2017 4:25 pm

Re: Saving a files on Android

Post by Pierre55 » Tue Apr 16, 2019 2:24 am

Hi,

PermissionRequest() seems only for saving on an external device, I don't have any external device!

I was thinking to get a requester that will give me the choice to save the file in PICTURES, AUDIO, VIDEOS, DOCUMENTS, DOWNLOAD or any other folders available in the INTERNAL STORAGE.

Thank you.

Pierre.

User avatar
airsoftsoftwair
Posts: 2968
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Saving a files on Android

Post by airsoftsoftwair » Tue Apr 30, 2019 8:42 pm

I don't think Android provides such a capability. Or do you know any apps which provide such a file requester?

Pierre55
Posts: 43
Joined: Sat Apr 01, 2017 4:25 pm

Re: Saving a files on Android

Post by Pierre55 » Wed May 08, 2019 2:03 pm

Can you send me the script you use to test the FileRequest() on the Android ?

Thank you.

User avatar
airsoftsoftwair
Posts: 2968
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Saving a files on Android

Post by airsoftsoftwair » Wed May 08, 2019 10:15 pm

It's just a single line:

Code: Select all

DebugPrint(FileRequest("Select file"))

Post Reply