Hello !
I compile from windows10. AgkPlayer receive the data and i've this error on my new Tablet (android 7) :
Failed to create folder "emulated" in path "/storage/emulated/0/journal_borne/journal_2019-09-09_log.txt", the app may not have permission to create it in main.agc at line 728 in main.agc at line 728
Error:Failed to set device camera to image, app does not have permission to access the camera, use RequestPermission first in main.agc at line 728
break continue step step over step out
Function Ecrire_dans_journal (Info as String)
Local Fichier as Integer
Local NomFichier as String
Local Chemin as String
Chemin = GetDocumentsPath()
NomFichier = "journal_" + GetCurrentDate() + "_log.txt"
Fichier = OpenToWrite("raw:" + Chemin + "/journal_borne/" + NomFichier,1)
Info = "[" + GetCurrentDate() + " " + GetCurrentTime() + "] " + Info
Writeline(Fichier,Info)
CloseFile (Fichier)
EndFunction
Note :
No problem with my Ugoos Google Tv kitkat 4.4 (not rooted) !!!
1) My new tablet should be rooted ?
2) Is there a way to put the data inside an authorised read/write folder ?
3) If if install directly the final apk file on the tablet (not use the apk player) the apk app have now the permission to read write ?
Many thanks.