One beep after scanning

Bonjour la communauté. J’ai un petit besoin. J’ai créé une application qui Scan les QR Code et renvoie les données dans une base de données. Je voudrais donc un bip (son) après quand l’application scanne le QR code. Pouvez vous m’aider s’il vous plaît ?

Translation added by Mod

Hello community. I have a little need. I created an app that scans QR Codes and returns the data to a database. So I would like a beep (sound) after when the app scans the QR code. Can you help me please ?

Welcome to community. Community’s official language is English so next time please follow the rules

You could use sound component and after scan use play sound or use vibrate or both

image

3 Likes

when i try
It say error cannot play sound, only vibrate
could you help me, why error happen?
thanks

Can you show us what you have tried as well as the format of the sound file and how you set it as a source?

Have you set sound source ?

1 Like

Also check the volume too

:upside_down_face:

This is my problem, havent set sound source.

Thank you

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.