Changment de plateforme

This commit is contained in:
2022-09-26 14:40:13 +02:00
parent 93c125df5e
commit be09e6c1c4
3 changed files with 5 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ public class MainActivity extends AppCompatActivity {
private TextView tv_version;
private static String versionName;
private static final String NUMERO_TEL_RADIO = "+33375411456";
private static final String URL_PLATEFORM = "https://podcast.radiomercure.fr"; //"https://www.radiomercure.fr/?playerbar-pageinicial";
private MediaPlayerService player;
boolean serviceBound = false;
private FloatingActionButton fbtn_live;
@@ -123,7 +124,7 @@ public class MainActivity extends AppCompatActivity {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
web.getSettings().setAllowFileAccessFromFileURLs(true);
}
web.loadUrl("https://www.radiomercure.fr/?playerbar-pageinicial");
web.loadUrl(URL_PLATEFORM);
web.setDownloadListener((url, userAgent, contentDisposition, mimeType, contentLength) -> {
MainActivity.this.url = url;