Using Android Volume Up and Down without increasing or decreasing the phones audio

Please how do I use Input buttons Android volume up and down within the app and not increase or decrease audio volume.

Thanks