PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → [WM 22] Copy files from Android/iOS to PC (and vice-versa, obviously)
[WM 22] Copy files from Android/iOS to PC (and vice-versa, obviously)
Débuté par VEGEboss, 11 mar. 2018 16:53 - 8 réponses
Membre enregistré
88 messages
Popularité : +2 (2 votes)
Posté le 11 mars 2018 - 16:53
hello to everybody

as in the subject, what is the best way to tranfsert files (e.g. pictures captured with a Windev Mobile App) between
platforms?

thanks folks!
Posté le 12 mars 2018 - 16:08
The only way I think to do this its using FTP in both systems.
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 12 mars 2018 - 16:15
The only way I cant think of it's using FTP.

you send your pictures of Android to that server and the iOS can download those files from that FTP
Membre enregistré
88 messages
Popularité : +2 (2 votes)
Posté le 12 mars 2018 - 19:13
...and if my user DON'T have an internet connection available?

...a copy via USB cable is not possible? :( :( :(
Posté le 12 mars 2018 - 19:26
Hi

first, you'll have to define 'best'...

it all depends of the requirements of your application.

Personally, I have a tendency to PREFER using a DB replication system
(wxreplication, in my case), with the image embedded in the DB (HFSQL or
other) on both sides in a blob...

But you can just create a webservice and encode your image in base64 for
the transport, by example, and there are several other methods...


Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 3/11/2018 à 10:53 AM, VEGEboss a écrit :
hello to everybody

  as in the subject, what is the best way to tranfsert files (e.g.
pictures captured with a Windev Mobile App) between   platforms?

  thanks folks!
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 12 mars 2018 - 20:17
well I never try it in that way, I was always using FTP, you can try it and if it works you can post your solution here for everyone else, me including
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 12 mars 2018 - 20:22
maybe you can share the image via bluetooth with the iOS one...maybe

you can use this fuction
StartShare()

The user can select the app that want to use to share the picture or document, there he could choose bluetooth and then send it to the one that is pair up.

here is the link:
https://help.windev.com/en-US/…

good Luck my fellow developer
Posté le 12 mars 2018 - 21:31
Hi,

Le 3/12/2018 à 2:17 PM, Jose a écrit :
well I never try it in that way, I was always using FTP, you can try it
and if it works you can post your solution here for everyone else, me
including


It does work, and I 'posted' it a long time ago.. .WxReplication is an
open source project available on my web site...

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 14 mars 2018 - 21:44
Fabrice Harari wrote:
Hi,

Le 3/12/2018 à 2:17 PM, Jose a écrit :
well I never try it in that way, I was always using FTP, you can try it
and if it works you can post your solution here for everyone else, me
including


It does work, and I 'posted' it a long time ago.. .WxReplication is an
open source project available on my web site...

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Ok I will search on your web site...
someday.

Best regards my fellows developers