Changment de plateforme
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user