FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
HCopyFile in Android
HCopyFile in Android
Débuté par Jiva SZTRAKA, 13 aoû. 2016 15:57 - 2 réponses
Connectez-vous…
Jiva SZTRAKA
#1
Membre enregistré
12 messages
Popularité : +1 (1 vote)
Posté le 13 août 2016 - 15:57
Just wondering if anyone has had success using the HCopyFile function within an Android app? I've created a procedure that uses the HCopyFile function to synchronize the data between Client Server and HFSQL (on device) - which works fine when running the demo on the PC - but soon as I try and run the same thing on Android tablet, I get the following error:
Fatal error
Error in SyncData global procedure process.
HCopyFile function called.
Unable to open <!s!> files.
I'm unsure as to how to fix this? According to the HCopyFile details page the function should be compatible on android devices.
Signaler
0
0
Fabrice Harari
#2
Posté le 16 août 2016 - 13:57
Hi,
this can come from many things, as the emulator is just that...
So without seing your code...
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 8/13/2016 à 7:57 AM, Jiva SZTRAKA a écrit :
Just wondering if anyone has had success using the HCopyFile function
within an Android app? I've created a procedure that uses the HCopyFile
function to synchronize the data between Client Server and HFSQL (on
device) - which works fine when running the demo on the PC - but soon as
I try and run the same thing on Android tablet, I get the following error:
Fatal error
Error in SyncData global procedure process.
HCopyFile function called.
Unable to open <!s!> files.
I'm unsure as to how to fix this? According to the HCopyFile details
page the function should be compatible on android devices.
Signaler
0
0
Jiva SZTRAKA
#3
Posté le 06 novembre 2017 - 09:50
Hi Fabrice - this thread was obviously posted quite a while ago and I never did solve the issue I had - but I did find a work-around by using the hCopyRecord function instead.
However I'm revisiting this issue as it would make synchronising data from server --> tablet so much faster if I could simply get the hCopyFile method to work.
Any assistance in working out why I get the error above would be much appreciated!
A sample of the code I'm trying to use is:
HLockFile(PR_ProjectDetails, hLockReadWrite)
IF NOT HCopyFile("", fDataDir+[fSep]+"PR_ProjectDetails_Local.fic", Projects, "PR_ProjectDetails.fic", hCreateIndex, "", "") THEN
Error(HErrorInfo(hErrFullDetails))
END
HUnlockFile()
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