Search found 37 matches

by Pierre55
Thu Apr 18, 2019 1:06 pm
Forum: General programming
Topic: How to know if a directory or Path is valid?
Replies: 5
Views: 148

Re: How to know if a directory or Path is valid?

Hi,

The command HaveVolume() work perfectly in my script:

PathOk = HaveVolume(PathPart(f$))
If PathOk = 0
moai.Request("", "Le chemin ou répertoire n'existe pas!", "OK", "error")
Return
EndIf

Thanks again for your precious help.

Bye!

Pierre
by Pierre55
Tue Apr 16, 2019 2:26 am
Forum: General programming
Topic: How to know if a directory or Path is valid?
Replies: 5
Views: 148

Re: How to know if a directory or Path is valid?

Thank you... I'll check that this weekend.

Bye!

Pierre.
by Pierre55
Tue Apr 16, 2019 2:24 am
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 12
Views: 609

Re: Saving a files on Android

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. Pi...
by Pierre55
Sun Apr 14, 2019 4:12 pm
Forum: General programming
Topic: How to know if a directory or Path is valid?
Replies: 5
Views: 148

How to know if a directory or Path is valid?

Hi,

If a user enter an invalid path for saving a file my script ends with this error: http://pages.infinit.net/pgx/ERROR.jpg
so is there a way to make sure the path is correct?

Thank you.

Pierre
by Pierre55
Fri Apr 12, 2019 3:55 pm
Forum: General programming
Topic: How to know on wich platform my script is running.
Replies: 1
Views: 66

How to know on wich platform my script is running.

Hi,

Since some commands like PermissionRequest() are only for one platform like this one that seems for Android I would like to find a way to determine on wich platform my script is running so I can execute these fonctions only if they are in the correct environnement.

Thank you.

Pierre
by Pierre55
Wed Apr 10, 2019 10:50 pm
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 12
Views: 609

Re: Saving a files on Android

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 ...
by Pierre55
Mon Apr 08, 2019 1:26 pm
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 12
Views: 609

Re: Saving a files on Android

Well even using FileRequest() on android does nothing... there is no requester!

Anyone can validate that please.

Thank you.

Pierre
by Pierre55
Sat Apr 06, 2019 11:23 pm
Forum: RapaGUI
Topic: Hollywood 8 and RapaGUI on AmigaOne XE
Replies: 8
Views: 681

Re: Hollywood 8 and RapaGUI on AmigaOne XE

No it's a problem that appear after upgrading to Hollywood 8.

Since it's seems that I'm a unique AmigaOne XE PPC user with Hollywood 8 we never know what's the problem.

This part of the script work very well on all other platform.

Bye!

Pierre.
by Pierre55
Sat Apr 06, 2019 3:13 pm
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 12
Views: 609

Re: Saving a files on Android

Of course... How come I did not think to use FileRequest() ?

Thank you.

Pierre
by Pierre55
Fri Apr 05, 2019 2:03 pm
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 12
Views: 609

Re: Saving a files on Android

I run your script on a virtual Android (Bluestack)

StringToFile("Hello World", FullPath(GetSystemInfo().InternalStorage, "test.txt"))

But there is no requester asking where I want to save the text file!

Thank you.