FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WX21] How to copy a file from Android to PC using WM & WiFi?
[WX21] How to copy a file from Android to PC using WM & WiFi?
Débuté par Ola, 03 mai 2018 12:05 - 8 réponses
Connectez-vous…
Ola
#1
Posté le 03 mai 2018 - 12:05
How to copy a file from Android to PC using WM21 & WiFi?
Hi All!
I would like to make a small WM app for an Android phone to take a photo and then save it to a certain directory in a nearby PC (Windows XP - 10), both being in the same WiFi, something like:
//The PC's directory name is in a parameter file in the WM
//launch the camera
//take the photo
//ask for the name of the photo
//save the photo and copy it to a directory in the PC
//Ask for more photos or end the app
Is this possible with WM21? I haven't got much experience with WM, so would appreciate some guidelines and hints.
Best regards
Ola
Edit: Added PC OS.
Signaler
0
0
ARV
#2
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 03 mai 2018 - 15:36
Hi Ola my fellow developer
well maybe you can share the picture via bluetooth to the PC more like WiFi or you could upload the photo to a FTP on a server and then Downloaded on your PC app.
That's the way I know to share some photo to a PC
best regards
Jose
Signaler
0
0
Jan de Bruin
#3
Posté le 03 mai 2018 - 15:51
Hey Ola
Yes you can with:
- web service
- you can make a shared network map
- share/email and make a service
- etc
Jan
Signaler
0
0
ccc2
#4
Posté le 03 mai 2018 - 17:51
if you develop app for N-user then the easiest method will be write to picture folder . this way user will able to see the images once connect android device to PC .
others method will be upload to cloud (ex. google drive)
Signaler
0
0
JeAn-PhI
#5
Posté le 04 mai 2018 - 11:16
Ola a exprimé avec précision :
How to copy a file from Android to PC using WM21 & WiFi?
Hi All!
I would like to make a small WM app for an Android phone to take a photo and
then save it to a certain directory in a nearby PC (Windows XP - 10), both
being in the same WiFi, something like:
//The PC's directory name is in a parameter file in the WM
//launch the camera
//take the photo
//ask for the name of the photo
//save the photo and copy it to a directory in the PC
//Ask for more photos or end the app
Is this possible with WM21? I haven't got much experience with WM, so would
appreciate some guidelines and hints.
Best regards
Ola
Edit: Added PC OS.
yes it's possible with samba, jcifs and shared folder on PC
--
Cordialement JeAn-PhI
Signaler
0
0
Ola
#6
Posté le 05 mai 2018 - 14:56
Thank you for the suggestions.
@ccc2: This seems to be near what I am looking for. Is it possible to just copy files from Mobile to PC, when connected?
Ola
Signaler
0
0
Ruben Sanchez Peña
#7
Posté le 06 mai 2018 - 05:41
Hi. Depending on your requirements, FTP may be a simple and quick method to use.
A more elaborate option could be to use sockets, create a server application that controls access on the PC, and a WM client application that sends the information to it. It's not complicated.
Rubén
Signaler
0
0
InfosPilot
#8
Posté le 11 mai 2018 - 09:06
Hi
Definitely FTP option is a very good solution to your problem, I had a similar problem so I solved it this way
Signaler
0
0
Ola
#9
Posté le 18 mai 2018 - 21:59
Thank you guys,
I'll take the FTP route.
Best regards
Ola
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte