Changment de plateforme
This commit is contained in:
parent
93c125df5e
commit
be09e6c1c4
@ -46,6 +46,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
private TextView tv_version;
|
private TextView tv_version;
|
||||||
private static String versionName;
|
private static String versionName;
|
||||||
private static final String NUMERO_TEL_RADIO = "+33375411456";
|
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;
|
private MediaPlayerService player;
|
||||||
boolean serviceBound = false;
|
boolean serviceBound = false;
|
||||||
private FloatingActionButton fbtn_live;
|
private FloatingActionButton fbtn_live;
|
||||||
@ -123,7 +124,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
|
||||||
web.getSettings().setAllowFileAccessFromFileURLs(true);
|
web.getSettings().setAllowFileAccessFromFileURLs(true);
|
||||||
}
|
}
|
||||||
web.loadUrl("https://www.radiomercure.fr/?playerbar-pageinicial");
|
web.loadUrl(URL_PLATEFORM);
|
||||||
|
|
||||||
web.setDownloadListener((url, userAgent, contentDisposition, mimeType, contentLength) -> {
|
web.setDownloadListener((url, userAgent, contentDisposition, mimeType, contentLength) -> {
|
||||||
MainActivity.this.url = url;
|
MainActivity.this.url = url;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '7.2.1' apply false
|
id 'com.android.application' version '7.3.0' apply false
|
||||||
id 'com.android.library' version '7.2.1' apply false
|
id 'com.android.library' version '7.3.0' apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
task clean(type: Delete) {
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
|||||||
#Tue Mar 22 19:55:37 CET 2022
|
#Tue Mar 22 19:55:37 CET 2022
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user