Vysh

Xiaomi Redmi Note 4 vs Redmi note 3. Redmi Note 3 is Better than Redmi note 4!

The Redmi note 4 has been released by Xiaomi, and it’s time for some fierce Redmi note 3 vs Redmi note 4 comparison. I have looked at the specification for both the Redmi phones, looked at camera performance and daily performance and here is my opinion, I don’t want the new Xiaomi Redmi Note 4, …

Xiaomi Redmi Note 4 vs Redmi note 3. Redmi Note 3 is Better than Redmi note 4! Read More »

Android’s SoundPool not playing any sound, sample not ready | FIX

The SoundPool is a very useful class for playing and managing audio resources in Android applications. While using SoundPool class is fairly easy, there are  two different constructors that we can use to initialize the SoundPool class, one is for API version less than 21, and one is for API version 21 and greater. You …

Android’s SoundPool not playing any sound, sample not ready | FIX Read More »

SoundPool constructor deprecated since API level 21

The good ol’ constructor: SoundPool(int maxStreams, int streamType, int srcQuality) was deprecated in API level 21. We now need to use SoundPool.Builder to create soundPool instance. To use SoundPool in the device running API level >= 21 and API level < 21 just use the following code : if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { mSoundPool = …

SoundPool constructor deprecated since API level 21 Read More »