+
+
\ No newline at end of file
diff --git a/DEV4.5/.idea/misc.xml b/DEV4.5/Pois/.idea/misc.xml
similarity index 82%
rename from DEV4.5/.idea/misc.xml
rename to DEV4.5/Pois/.idea/misc.xml
index 9f71c83..0ad17cb 100644
--- a/DEV4.5/.idea/misc.xml
+++ b/DEV4.5/Pois/.idea/misc.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/DEV4.5/Pois/.idea/vcs.xml b/DEV4.5/Pois/.idea/vcs.xml
new file mode 100644
index 0000000..b2bdec2
--- /dev/null
+++ b/DEV4.5/Pois/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DEV4.5/app/.gitignore b/DEV4.5/Pois/app/.gitignore
similarity index 100%
rename from DEV4.5/app/.gitignore
rename to DEV4.5/Pois/app/.gitignore
diff --git a/DEV4.5/Pois/app/build.gradle.kts b/DEV4.5/Pois/app/build.gradle.kts
new file mode 100644
index 0000000..a19c7cd
--- /dev/null
+++ b/DEV4.5/Pois/app/build.gradle.kts
@@ -0,0 +1,39 @@
+plugins {
+ id("com.android.application")
+}
+
+android {
+ namespace = "com.example.pois"
+ compileSdk = 34
+
+ defaultConfig {
+ applicationId = "com.example.pois"
+ minSdk = 19
+ targetSdk = 34
+ versionCode = 1
+ versionName = "1.0"
+
+ testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ isMinifyEnabled = false
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
+ }
+ }
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ }
+}
+
+dependencies {
+
+ implementation("androidx.appcompat:appcompat:1.6.1")
+ implementation("com.google.android.material:material:1.11.0")
+ implementation("androidx.constraintlayout:constraintlayout:2.1.4")
+ testImplementation("junit:junit:4.13.2")
+ androidTestImplementation("androidx.test.ext:junit:1.1.5")
+ androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
+}
\ No newline at end of file
diff --git a/DEV4.5/app/proguard-rules.pro b/DEV4.5/Pois/app/proguard-rules.pro
similarity index 100%
rename from DEV4.5/app/proguard-rules.pro
rename to DEV4.5/Pois/app/proguard-rules.pro
diff --git a/DEV4.5/app/src/androidTest/java/com/example/choix/ExampleInstrumentedTest.java b/DEV4.5/Pois/app/src/androidTest/java/com/example/pois/ExampleInstrumentedTest.java
similarity index 86%
rename from DEV4.5/app/src/androidTest/java/com/example/choix/ExampleInstrumentedTest.java
rename to DEV4.5/Pois/app/src/androidTest/java/com/example/pois/ExampleInstrumentedTest.java
index d36f2b3..8b7179a 100644
--- a/DEV4.5/app/src/androidTest/java/com/example/choix/ExampleInstrumentedTest.java
+++ b/DEV4.5/Pois/app/src/androidTest/java/com/example/pois/ExampleInstrumentedTest.java
@@ -1,4 +1,4 @@
-package com.example.choix;
+package com.example.pois;
import android.content.Context;
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
- assertEquals("com.example.choix", appContext.getPackageName());
+ assertEquals("com.example.pois", appContext.getPackageName());
}
}
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/AndroidManifest.xml b/DEV4.5/Pois/app/src/main/AndroidManifest.xml
similarity index 95%
rename from DEV4.5/app/src/main/AndroidManifest.xml
rename to DEV4.5/Pois/app/src/main/AndroidManifest.xml
index 9f886ff..2a9e2eb 100644
--- a/DEV4.5/app/src/main/AndroidManifest.xml
+++ b/DEV4.5/Pois/app/src/main/AndroidManifest.xml
@@ -10,7 +10,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
- android:theme="@style/Theme.Choix"
+ android:theme="@style/Theme.Pois"
tools:targetApi="31">
p;
+
+ public PoisListener() {
+ super();
+ this.p = new HashMap<>();
+ }
+
+ @Override
+ public boolean onTouch(View v, MotionEvent event) {
+ int action = event.getActionMasked();
+ int pointerIndex = event.getActionIndex();
+ int pointerId = event.getPointerId(pointerIndex);
+
+
+ switch (action) {
+ case MotionEvent.ACTION_DOWN:
+ case MotionEvent.ACTION_POINTER_DOWN:
+
+ p.put(pointerId, new Pointeur(event,pointerId));
+ break;
+ case MotionEvent.ACTION_MOVE:
+ break;
+ case MotionEvent.ACTION_UP:
+ case MotionEvent.ACTION_POINTER_UP:
+ case MotionEvent.ACTION_CANCEL:
+ p.remove(pointerId);
+ break;
+ }
+ v.invalidate(); // Trigger redraw
+ return true;
+ }
+
+ public float getX(Pointeur p) {
+ int pointerIndex = p.e.findPointerIndex(p.id);
+ // Get the pointer's current position.
+ return p.e.getX(pointerIndex);
+ }
+ public float getY(Pointeur p) {
+ int pointerIndex = p.e.findPointerIndex(p.id);
+ // Get the pointer's current position.
+ return p.e.getY(pointerIndex);
+ }
+
+
+
+}
diff --git a/DEV4.5/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/Pois/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
rename to DEV4.5/Pois/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
diff --git a/DEV4.5/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/Pois/app/src/main/res/drawable/ic_launcher_background.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/drawable/ic_launcher_background.xml
rename to DEV4.5/Pois/app/src/main/res/drawable/ic_launcher_background.xml
diff --git a/DEV4.5/Pois/app/src/main/res/layout/activity_main.xml b/DEV4.5/Pois/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..6caea1f
--- /dev/null
+++ b/DEV4.5/Pois/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
rename to DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
diff --git a/DEV4.5/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
rename to DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
diff --git a/DEV4.5/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-hdpi/ic_launcher.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-mdpi/ic_launcher.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
diff --git a/DEV4.5/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
similarity index 100%
rename from DEV4.5/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
rename to DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
diff --git a/DEV4.5/app/src/main/res/values-night/themes.xml b/DEV4.5/Pois/app/src/main/res/values-night/themes.xml
similarity index 74%
rename from DEV4.5/app/src/main/res/values-night/themes.xml
rename to DEV4.5/Pois/app/src/main/res/values-night/themes.xml
index 2572f68..a363c1f 100644
--- a/DEV4.5/app/src/main/res/values-night/themes.xml
+++ b/DEV4.5/Pois/app/src/main/res/values-night/themes.xml
@@ -1,6 +1,6 @@
-
diff --git a/DEV4.5/app/src/main/res/values/colors.xml b/DEV4.5/Pois/app/src/main/res/values/colors.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/values/colors.xml
rename to DEV4.5/Pois/app/src/main/res/values/colors.xml
diff --git a/DEV4.5/Pois/app/src/main/res/values/strings.xml b/DEV4.5/Pois/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..928fcc6
--- /dev/null
+++ b/DEV4.5/Pois/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Pois
+
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/res/values/themes.xml b/DEV4.5/Pois/app/src/main/res/values/themes.xml
similarity index 63%
rename from DEV4.5/app/src/main/res/values/themes.xml
rename to DEV4.5/Pois/app/src/main/res/values/themes.xml
index 5fd1716..5f9d4e3 100644
--- a/DEV4.5/app/src/main/res/values/themes.xml
+++ b/DEV4.5/Pois/app/src/main/res/values/themes.xml
@@ -1,9 +1,9 @@
-
-
+
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/res/xml/backup_rules.xml b/DEV4.5/Pois/app/src/main/res/xml/backup_rules.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/xml/backup_rules.xml
rename to DEV4.5/Pois/app/src/main/res/xml/backup_rules.xml
diff --git a/DEV4.5/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/Pois/app/src/main/res/xml/data_extraction_rules.xml
similarity index 100%
rename from DEV4.5/app/src/main/res/xml/data_extraction_rules.xml
rename to DEV4.5/Pois/app/src/main/res/xml/data_extraction_rules.xml
diff --git a/DEV4.5/app/src/test/java/com/example/choix/ExampleUnitTest.java b/DEV4.5/Pois/app/src/test/java/com/example/pois/ExampleUnitTest.java
similarity index 92%
rename from DEV4.5/app/src/test/java/com/example/choix/ExampleUnitTest.java
rename to DEV4.5/Pois/app/src/test/java/com/example/pois/ExampleUnitTest.java
index 31bb4ec..f2d98eb 100644
--- a/DEV4.5/app/src/test/java/com/example/choix/ExampleUnitTest.java
+++ b/DEV4.5/Pois/app/src/test/java/com/example/pois/ExampleUnitTest.java
@@ -1,4 +1,4 @@
-package com.example.choix;
+package com.example.pois;
import org.junit.Test;
diff --git a/DEV4.5/Pois/build.gradle.kts b/DEV4.5/Pois/build.gradle.kts
new file mode 100644
index 0000000..196e647
--- /dev/null
+++ b/DEV4.5/Pois/build.gradle.kts
@@ -0,0 +1,4 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+plugins {
+ id("com.android.application") version "8.2.2" apply false
+}
\ No newline at end of file
diff --git a/DEV4.5/gradle.properties b/DEV4.5/Pois/gradle.properties
similarity index 100%
rename from DEV4.5/gradle.properties
rename to DEV4.5/Pois/gradle.properties
diff --git a/DEV4.5/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from DEV4.5/gradle/wrapper/gradle-wrapper.jar
rename to DEV4.5/Pois/gradle/wrapper/gradle-wrapper.jar
diff --git a/DEV4.5/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.properties
similarity index 80%
rename from DEV4.5/gradle/wrapper/gradle-wrapper.properties
rename to DEV4.5/Pois/gradle/wrapper/gradle-wrapper.properties
index 6e3db08..dac350a 100644
--- a/DEV4.5/gradle/wrapper/gradle-wrapper.properties
+++ b/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Thu Feb 08 15:26:46 CET 2024
+#Thu Feb 29 11:25:04 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/DEV4.5/gradlew b/DEV4.5/Pois/gradlew
old mode 100755
new mode 100644
similarity index 100%
rename from DEV4.5/gradlew
rename to DEV4.5/Pois/gradlew
diff --git a/DEV4.5/gradlew.bat b/DEV4.5/Pois/gradlew.bat
similarity index 96%
rename from DEV4.5/gradlew.bat
rename to DEV4.5/Pois/gradlew.bat
index ac1b06f..107acd3 100644
--- a/DEV4.5/gradlew.bat
+++ b/DEV4.5/Pois/gradlew.bat
@@ -1,89 +1,89 @@
-@rem
-@rem Copyright 2015 the original author or authors.
-@rem
-@rem Licensed under the Apache License, Version 2.0 (the "License");
-@rem you may not use this file except in compliance with the License.
-@rem You may obtain a copy of the License at
-@rem
-@rem https://www.apache.org/licenses/LICENSE-2.0
-@rem
-@rem Unless required by applicable law or agreed to in writing, software
-@rem distributed under the License is distributed on an "AS IS" BASIS,
-@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@rem See the License for the specific language governing permissions and
-@rem limitations under the License.
-@rem
-
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Resolve any "." and ".." in APP_HOME to make it shorter.
-for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto execute
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto execute
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/DEV4.5/settings.gradle b/DEV4.5/Pois/settings.gradle.kts
similarity index 86%
rename from DEV4.5/settings.gradle
rename to DEV4.5/Pois/settings.gradle.kts
index 0878fe4..99feb57 100644
--- a/DEV4.5/settings.gradle
+++ b/DEV4.5/Pois/settings.gradle.kts
@@ -12,5 +12,7 @@ dependencyResolutionManagement {
mavenCentral()
}
}
-rootProject.name = "Choix"
-include ':app'
+
+rootProject.name = "Pois"
+include(":app")
+
\ No newline at end of file
diff --git a/DEV4.5/app/build.gradle b/DEV4.5/app/build.gradle
deleted file mode 100644
index d650b5e..0000000
--- a/DEV4.5/app/build.gradle
+++ /dev/null
@@ -1,40 +0,0 @@
-plugins {
- id 'com.android.application'
-}
-
-android {
- namespace 'com.example.choix'
- compileSdk 33
-
- defaultConfig {
- applicationId "com.example.choix"
- minSdk 19
- targetSdk 33
- versionCode 1
- versionName "1.0"
-
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
-
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- buildToolsVersion '34.0.0'
-}
-
-dependencies {
-
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.5.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
-}
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/java/com/example/choix/Choix.java b/DEV4.5/app/src/main/java/com/example/choix/Choix.java
deleted file mode 100644
index c0b07f8..0000000
--- a/DEV4.5/app/src/main/java/com/example/choix/Choix.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package com.example.choix;
-
-import android.content.Context;
-import android.graphics.Canvas;
-import android.graphics.Paint;
-import android.graphics.Rect;
-import android.provider.MediaStore;
-import android.util.AttributeSet;
-import android.view.View;
-import android.widget.RadioGroup;
-import android.graphics.Path;
-
-import androidx.annotation.Nullable;
-
-public class Choix extends View{
- private Paint paint;
- private RadioGroup radioGroup;
-
- public Choix(Context context, @Nullable AttributeSet attrs) {
- super(context, attrs);
- paint = new Paint();
- }
-
- @Override
- protected void onDraw(Canvas canvas)
- {
- radioGroup = getRootView().findViewById(R.id.groupe);
- choixListener cl = new choixListener(this);
- getRootView().findViewById(R.id.groupe).findViewById(R.id.croix).setOnClickListener(cl);
- getRootView().findViewById(R.id.groupe).findViewById(R.id.carre).setOnClickListener(cl);
- getRootView().findViewById(R.id.groupe).findViewById(R.id.rond).setOnClickListener(cl);
- getRootView().findViewById(R.id.groupe).findViewById(R.id.triangle).setOnClickListener(cl);
-
- if(radioGroup.getCheckedRadioButtonId() == R.id.carre) {
- super.onDraw(canvas);
- paint.setARGB(255, 210, 210, 90);
- paint.setStyle(Paint.Style.STROKE);
- paint.setStrokeWidth(5);
- canvas.drawRect(100, 100, 300, 300, paint);
- }
- else if(radioGroup.getCheckedRadioButtonId() == R.id.rond) {
- super.onDraw(canvas);
- paint.setARGB(255, 210, 210, 90);
- paint.setStyle(Paint.Style.STROKE);
- paint.setStrokeWidth(5);
- canvas.drawCircle(200,200,100,paint);
- }
- else if(radioGroup.getCheckedRadioButtonId() == R.id.triangle) {
- super.onDraw(canvas);
- paint.setARGB(255, 0, 255, 0);
- paint.setStyle(Paint.Style.STROKE);
- paint.setStrokeWidth(5);
-
-
-
- canvas.drawLine( 200, 100, 300, 300, paint);
- canvas.drawLine( 300, 300, 100, 300, paint);
- canvas.drawLine( 100, 300, 200, 100, paint);
- }
- else{
- super.onDraw(canvas);
- paint.setARGB(255, 0, 0, 255);
- paint.setStyle(Paint.Style.STROKE);
- paint.setStrokeWidth(5);
-
- canvas.drawLine(100, 100, 300, 300, paint);
- canvas.drawLine(100, 300, 300, 100, paint);
- }
-
-
- }
-}
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/java/com/example/choix/choixListener.java b/DEV4.5/app/src/main/java/com/example/choix/choixListener.java
deleted file mode 100644
index 37bc1e5..0000000
--- a/DEV4.5/app/src/main/java/com/example/choix/choixListener.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.example.choix;
-
-import android.view.View;
-import android.widget.RadioGroup;
-
-public class choixListener implements View.OnClickListener {
-
- private Choix choix;
-
- public choixListener(Choix choix) {
- super();
- this.choix = choix;
- }
-
- @Override
- public void onClick(View view) {
- choix.invalidate();
- }
-}
diff --git a/DEV4.5/app/src/main/res/layout/activity_main.xml b/DEV4.5/app/src/main/res/layout/activity_main.xml
deleted file mode 100644
index 8cac9fe..0000000
--- a/DEV4.5/app/src/main/res/layout/activity_main.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DEV4.5/app/src/main/res/values/strings.xml b/DEV4.5/app/src/main/res/values/strings.xml
deleted file mode 100644
index 7a4b769..0000000
--- a/DEV4.5/app/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- Choix
-
\ No newline at end of file
diff --git a/DEV4.5/build.gradle b/DEV4.5/build.gradle
deleted file mode 100644
index a100ce0..0000000
--- a/DEV4.5/build.gradle
+++ /dev/null
@@ -1,5 +0,0 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-plugins {
- id 'com.android.application' version '8.0.2' apply false
- id 'com.android.library' version '8.0.2' apply false
-}
\ No newline at end of file
diff --git a/DEV4.5/croix/.idea/deploymentTargetDropDown.xml b/DEV4.5/croix/.idea/deploymentTargetDropDown.xml
new file mode 100644
index 0000000..0c0c338
--- /dev/null
+++ b/DEV4.5/croix/.idea/deploymentTargetDropDown.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DEV4.5/croix/.idea/gradle.xml b/DEV4.5/croix/.idea/gradle.xml
index a2d7c21..0897082 100644
--- a/DEV4.5/croix/.idea/gradle.xml
+++ b/DEV4.5/croix/.idea/gradle.xml
@@ -4,15 +4,15 @@