This code works on Android 4.4.2 but does not work on the phone with Android 9:
String url=\"http://...LINK...mp4\"; MediaController controller = new MediaContro
Android 9.0 blocks cleartext (http) traffic by default.
The preferred solution is to not use http URLs, but instead use https.
http
https
You can, through network security configuration, tell Android to allow cleartext traffic for your app, but this is less secure.