FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
I can't see saved photo
I can't see saved photo
Débuté par Bugalete Nicu, 10 nov. 2016 08:26 - 1 réponse
Connectez-vous…
Bugalete Nicu
#1
Posté le 10 novembre 2016 - 08:26
Hello, i have the following problem, and i hope i can find some help here.
My app runs on mobile phone , Android 6.0
When i press a button it launches the camera and takes a photo.
After this i copy this phone to another folder with another name
The problem is that after taking the phote and after i copy it to another folder, i can see that photo with file explorer, but when i connect it tot the pc the folder is empty.
I can see all the photos taken only if i restart the phone, after the phone boots, all the files are there,
It's like all the file are invisible
I tried different methods.
1.
sPhoto = VideoStartApp(viPictureCapture)
w_extensie is string = fExtractPath(sPhoto,fExtension)
w_time_stamp is string = DateSys() + TimeSys()
w_cale_poza_ODOMETRU_tmp is string = ["/"] + SysDirStorageCard() + ["/"] + "BKU/IMAGINI" + ["/"] + "PB" + "_" + w_time_stamp + "_ID_CAM_" + wid_camion + w_extensie
fCopyFile(sPhoto,w_cale_poza_ODOMETRU_tmp)
2.
sPhoto = VideoStartApp(viPictureCapture)
w_cale_poza_ODOMETRU_tmp is string = ["/"] + SysDirStorageCard() + ["/"] + "BKU/IMAGINI" + ["/"] + "PB" + "_" + w_time_stamp + "_ID_CAM_" + wid_camion + w_extensie
dSaveImageJPEG(w_imaginine,w_cale_poza_ODOMETRU_tmp,100)
Signaler
0
0
Fabrice Harari
#2
Posté le 10 novembre 2016 - 11:14
Hi,
I can see all the photos taken only if i restart the phone, after the
phone boots, all the files are there,
It's like all the file are invisible
I tried different methods.
AFAIK, it's just that the file system from the pc does not REFRESH it's
read of the sim card. Generally, there is no need to reboot the phone.
Just disconnecting and reconnecting it to the pc forces the windows side
to read the directories again.
But why do you need to se them from the pc side in real time? There may
be another way to do what you need...
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
1.
sPhoto = VideoStartApp(viPictureCapture)
w_extensie is string = fExtractPath(sPhoto,fExtension)
w_time_stamp is string = DateSys() + TimeSys()
w_cale_poza_ODOMETRU_tmp is string = ["/"] + SysDirStorageCard() +
["/"] + "BKU/IMAGINI" + ["/"] + "PB" + "_" + w_time_stamp + "_ID_CAM_"
+ wid_camion + w_extensie
fCopyFile(sPhoto,w_cale_poza_ODOMETRU_tmp)
2.
sPhoto = VideoStartApp(viPictureCapture)
w_cale_poza_ODOMETRU_tmp is string = ["/"] + SysDirStorageCard() +
["/"] + "BKU/IMAGINI" + ["/"] + "PB" + "_" + w_time_stamp + "_ID_CAM_"
+ wid_camion + w_extensie
dSaveImageJPEG(w_imaginine,w_cale_poza_ODOMETRU_tmp,100)
Signaler
0
0
→ Revenir à WINDEV Mobile 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