Home > other >  Streaming Mp3 File in Android with Media Player
Streaming Mp3 File in Android with Media Player

Time:11-12

My App working successfully in Android 10 but when i tried my app on Android 5 it's not Working.

The mp3 url is Starting with " https ". When i changed the url to " http " it worked successfully in android 5.

I want to know which better to use "http" or "https" for my app?

CodePudding user response:

HTTPS is more secure than HTTP. You should use it. In the higher version of Android system, HTTP will not be executed by default because it is not secure. HTTPS cannot run on Android 5 is a very strange thing, you may have to find out why.

CodePudding user response:

I tried many times to use https mp3 links with android 5 but didn't worked, I think that we have to use mp3 http links for all android versions.

  • Related