FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
[WM23] Storing files, image etc. On iOS
[WM23] Storing files, image etc. On iOS
Iniciado por ARV, 19,mar. 2019 17:42 - 6 respuestas
Conéctese…
ARV
#1
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 19,marzo 2019 - 17:42
Hi all
I was trying to save those types of files on my iPHone But I Couldn't do it.
I was using fCurrentDir() to have a path.
But when I try to use FTPGet with fCurrentDir() launch me an error, about that can't create the file or use it on write mode to store my file.
there's a way to save file on iPhone (iOS)?
--
Best Regards
ARV
Informar
0
0
Jim
#2
Publicado el 09,abril 2019 - 16:51
ARV,
I am about to go down that road.
I will let you know if I am successful.
Jim
Informar
0
0
ARV
#3
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 10,abril 2019 - 22:10
Hi Jim
Thanks for your reply
I was testing some more of this and yes it is possible BUT!
only if the app create his own docs or recieve docs it is not possible to access files from the device only images and videos.
the way to save files on a path its with
fCurrentDir but in the end put a fsep() function something like
s
PathiOS
is string
=
fCurrenDir
(
)
+
fSep
(
)
with this you can save files on the file path of the app access to this and do whatever you want with them, but only the app could access this files.
now to access files of the device like image its with:
ImagePath
is string
ImagePath
=
AlbumPicker
(
albumImage
)
to access files of the device like videos it's with:
ImagePath
is string
ImagePath
=
AlbumPicker
(
albumVideo
)
this will get you the path of the image or video, what PCsoft say it's that this files are copy from his file to the fCurrentDir, so that's why you can access to them.
that's all I found about this topic... Hope you get lucky more than me.
source of AlbumPicker:
https://help.windev.com/en-US/…
source of fCurrentDir:
https://help.windev.com/en-US/…
--
Best Regards
ARV
Mensaje modificado, 10,abril 2019 - 22:11
Informar
0
0
Jim
#4
Publicado el 11,abril 2019 - 19:17
ARV,
It works as you said. My app is getting data from a piece of hardware.
Then it creates a .csv file of the data.
I am then able to open the email app and send it.
One strange thing is happening and I cannot say what is causing it. Emulator and phone both.
The .csv will open incorrectly in Excel. Other programs like Open Office and Google see it correctly.
Excel says it is in an unrecognizable format. It will open, but everything is in one column. The commas are there.
It appears IOS is locked down pretty good. The files app doesn't even have the option of looking on the phone, only ICloud.
Jim
Informar
0
0
Jim
#5
Publicado el 11,abril 2019 - 20:28
I think I am OK.
My Excel version is likely too old.
I didn't try to open a file in the app though. (I have no need to)
Would you like me to attempt it?
Jim
Informar
0
0
ARV
#6
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 11,abril 2019 - 22:06
Hi Jim
Good thing to know that works for you.
If you want to try it yes, maybe it's the version of the excel who knows.
about send it something on email, do you create your own app or it's something like gmail?
with that in mind how could you access to the files you create or recieve on fCurrentDir?
is it possible to access that file with another app?
that file are not erased when the app it's uninstall?
Good luck!
--
Best Regards
ARV
Informar
0
0
ARV
#7
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 14,mayo 2019 - 22:06
Hi
be careful using fCurrentDir if the app updated or it's uninstall then you will lose every file you save there
this only happend to iOS thought
--
Best Regards
ARV
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto