I have custom android application. In which when i click on any button of that application it gives some audio tone(i think it comes from audio Finger). I want to disable it just for my application.
so how can i disable audio tone on button of my android application?
You can go with this code:
YOUR_BUTTON.setSoundEffectsEnabled(false);
OR
Also you can give property with xml:
android:soundEffectsEnabled="false"
Reference site: Android View Doc
Hope it will help you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.