FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
sound function does not work on mobile Android
sound function does not work on mobile Android
Débuté par Marc Rodriguez, 30 mai 2023 10:09 - 1 réponse
Connectez-vous…
Marc Rodriguez
#1
Posté le 30 mai 2023 - 10:09
Hello,
I'm trying to use de sound function on an android program, but it does only work on the simulator. When I use the apk on the phone it does not work. (I'm using windev mobile 27). I don't know if i'm missing something.
thanks
Signaler
0
0
Lee SHRODER (RLS)
#2
Membre enregistré
7 messages
Posté le 13 juillet 2023 - 17:14
Hi Marc,
I am assuming you are using a WAV file to create the sound? Are you including the WAV file in the list of integrated files when generating the APK?
Also when including the file in the integrated files there is no need to use a path to the WAV file.
When developing and testing in the simulator, make sure the WAV file is held in the EXE folder, then when compiling ensure the WAV file is included in the integrated files and when calling the WAV file with the Sound command simply call the WAV file by its name with no path.
For example to play beep.wav use Sound("beep.wav")
Another thing to check is the sound volume, use the VolumeModify(100,volumeMusic) command to ensure the sound volume is at a desired level.
Hope this helps
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