diff --git a/.gitignore b/.gitignore index 3417814..6209af4 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,8 @@ tags # Persistent undo [._]*.un~ +#VS +.vscode + +#git dans git +/DEV5.1 diff --git a/DEV4.5/.gitignore b/DEV4.5/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/Android b/DEV4.5/Android deleted file mode 160000 index e2ecdea..0000000 --- a/DEV4.5/Android +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e2ecdea9e3aa6e130ca3a4ecd86058488e4dcd38 diff --git a/DEV4.5/Chat/.idea/workspace.xml b/DEV4.5/Chat/.idea/workspace.xml deleted file mode 100644 index 5529d4a..0000000 --- a/DEV4.5/Chat/.idea/workspace.xml +++ /dev/null @@ -1,123 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="AndroidLayouts"> - <shared> - <config> - <device id="pixel_4_xl" /> - <device id="pixel_xl" /> - <device id="pixel_3a" /> - <device id="pixel_6" /> - <device id="_device_class_foldable" /> - <device id="_device_class_phone" /> - <device id="_device_class_tablet" /> - </config> - </shared> - </component> - <component name="AutoImportSettings"> - <option name="autoReloadType" value="NONE" /> - </component> - <component name="ChangeListManager"> - <list default="true" id="0c256c42-8be0-42d5-abc6-a9b004fee50e" name="Changes" comment="" /> - <option name="SHOW_DIALOG" value="false" /> - <option name="HIGHLIGHT_CONFLICTS" value="true" /> - <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> - <option name="LAST_RESOLUTION" value="IGNORE" /> - </component> - <component name="ExecutionTargetManager" SELECTED_TARGET="device_and_snapshot_combo_box_target[]" /> - <component name="ExternalProjectsData"> - <projectState path="$PROJECT_DIR$"> - <ProjectState /> - </projectState> - </component> - <component name="MarkdownSettingsMigration"> - <option name="stateVersion" value="1" /> - </component> - <component name="ProblemsViewState"> - <option name="selectedTabId" value="CurrentFile" /> - </component> - <component name="ProjectId" id="2bRXn96dZkoYGvQuRBDYUsRIYRf" /> - <component name="ProjectViewState"> - <option name="hideEmptyMiddlePackages" value="true" /> - <option name="showLibraryContents" value="true" /> - </component> - <component name="PropertiesComponent">{ - "keyToString": { - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "RunOnceActivity.cidr.known.project.marker": "true", - "cidr.known.project.marker": "true", - "memory.settings.postsync.last.time.stamp": "1706179271748" - } -}</component> - <component name="RunManager"> - <configuration name="app" type="AndroidRunConfigurationType" factoryName="Android App"> - <module name="Chat.app.main" /> - <option name="DEPLOY" value="true" /> - <option name="DEPLOY_APK_FROM_BUNDLE" value="false" /> - <option name="DEPLOY_AS_INSTANT" value="false" /> - <option name="ARTIFACT_NAME" value="" /> - <option name="PM_INSTALL_OPTIONS" value="" /> - <option name="ALL_USERS" value="false" /> - <option name="ALWAYS_INSTALL_WITH_PM" value="false" /> - <option name="CLEAR_APP_STORAGE" value="false" /> - <option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" /> - <option name="ACTIVITY_EXTRA_FLAGS" value="" /> - <option name="MODE" value="default_activity" /> - <option name="CLEAR_LOGCAT" value="false" /> - <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" /> - <option name="INSPECTION_WITHOUT_ACTIVITY_RESTART" value="false" /> - <option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" /> - <option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" /> - <option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" /> - <option name="DEBUGGER_TYPE" value="Auto" /> - <Auto> - <option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> - <option name="SHOW_STATIC_VARS" value="true" /> - <option name="WORKING_DIR" value="" /> - <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> - <option name="SHOW_OPTIMIZED_WARNING" value="true" /> - </Auto> - <Hybrid> - <option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> - <option name="SHOW_STATIC_VARS" value="true" /> - <option name="WORKING_DIR" value="" /> - <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> - <option name="SHOW_OPTIMIZED_WARNING" value="true" /> - </Hybrid> - <Java /> - <Native> - <option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> - <option name="SHOW_STATIC_VARS" value="true" /> - <option name="WORKING_DIR" value="" /> - <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> - <option name="SHOW_OPTIMIZED_WARNING" value="true" /> - </Native> - <Profilers> - <option name="ADVANCED_PROFILING_ENABLED" value="false" /> - <option name="STARTUP_PROFILING_ENABLED" value="false" /> - <option name="STARTUP_CPU_PROFILING_ENABLED" value="false" /> - <option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" /> - <option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" /> - <option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" /> - </Profilers> - <option name="DEEP_LINK" value="" /> - <option name="ACTIVITY_CLASS" value="" /> - <option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" /> - <option name="SKIP_ACTIVITY_VALIDATION" value="false" /> - <method v="2"> - <option name="Android.Gradle.BeforeRunTask" enabled="true" /> - </method> - </configuration> - </component> - <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> - <component name="TaskManager"> - <task active="true" id="Default" summary="Default task"> - <changelist id="0c256c42-8be0-42d5-abc6-a9b004fee50e" name="Changes" comment="" /> - <created>1706179028736</created> - <option name="number" value="Default" /> - <option name="presentableId" value="Default" /> - <updated>1706179028736</updated> - </task> - <servers /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.gitignore b/DEV4.5/ChatRelative/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/ChatRelative/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/ChatRelative/.idea/.gitignore b/DEV4.5/ChatRelative/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/ChatRelative/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/ChatRelative/.idea/.name b/DEV4.5/ChatRelative/.idea/.name deleted file mode 100644 index a070a24..0000000 --- a/DEV4.5/ChatRelative/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -Chat \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.idea/compiler.xml b/DEV4.5/ChatRelative/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/ChatRelative/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.idea/deploymentTargetDropDown.xml b/DEV4.5/ChatRelative/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/ChatRelative/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.idea/gradle.xml b/DEV4.5/ChatRelative/.idea/gradle.xml deleted file mode 100644 index 0897082..0000000 --- a/DEV4.5/ChatRelative/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.idea/migrations.xml b/DEV4.5/ChatRelative/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/ChatRelative/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.idea/misc.xml b/DEV4.5/ChatRelative/.idea/misc.xml deleted file mode 100644 index 8978d23..0000000 --- a/DEV4.5/ChatRelative/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/.idea/vcs.xml b/DEV4.5/ChatRelative/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/ChatRelative/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/.gitignore b/DEV4.5/ChatRelative/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/ChatRelative/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/build.gradle b/DEV4.5/ChatRelative/app/build.gradle deleted file mode 100644 index e67ba1f..0000000 --- a/DEV4.5/ChatRelative/app/build.gradle +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - id 'com.android.application' -} - -android { - namespace 'com.example.chat' - compileSdk 33 - - defaultConfig { - applicationId "com.example.chat" - 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.4.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.3' - testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' -} \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/proguard-rules.pro b/DEV4.5/ChatRelative/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/ChatRelative/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/androidTest/java/com/example/chat/ExampleInstrumentedTest.java b/DEV4.5/ChatRelative/app/src/androidTest/java/com/example/chat/ExampleInstrumentedTest.java deleted file mode 100644 index 69e9c15..0000000 --- a/DEV4.5/ChatRelative/app/src/androidTest/java/com/example/chat/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.chat; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.chat", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/AndroidManifest.xml b/DEV4.5/ChatRelative/app/src/main/AndroidManifest.xml deleted file mode 100644 index 3d2dc67..0000000 --- a/DEV4.5/ChatRelative/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" > - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Chat" - tools:targetApi="31" > - <activity - android:name=".MainActivity" - android:exported="true" > - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/java/com/example/chat/MainActivity.java b/DEV4.5/ChatRelative/app/src/main/java/com/example/chat/MainActivity.java deleted file mode 100644 index ea773b4..0000000 --- a/DEV4.5/ChatRelative/app/src/main/java/com/example/chat/MainActivity.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.example.chat; - -import androidx.appcompat.app.AppCompatActivity; -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - } -} \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/ChatRelative/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/ChatRelative/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/ChatRelative/app/src/main/res/layout/activity_main.xml b/DEV4.5/ChatRelative/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 2538aec..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="16dp" - android:paddingRight="16dp" > - <EditText - android:id="@+id/name" - android:layout_width="match_parent" - android:layout_height="800dp"/> - <EditText - android:id="@+id/dates" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_below="@id/name" - android:layout_alignParentStart="true" - android:layout_toStartOf="@+id/times" /> - <Button - android:id="@id/times" - android:text="OK" - android:layout_width="70dp" - android:layout_height="wrap_content" - android:layout_below="@id/name" - android:layout_alignParentEnd="true" /> -</RelativeLayout> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/ChatRelative/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/ChatRelative/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/ChatRelative/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatRelative/app/src/main/res/values-night/themes.xml b/DEV4.5/ChatRelative/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 8eb5c81..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Chat" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/values/colors.xml b/DEV4.5/ChatRelative/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/values/strings.xml b/DEV4.5/ChatRelative/app/src/main/res/values/strings.xml deleted file mode 100644 index 5aafa46..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Chat</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/values/themes.xml b/DEV4.5/ChatRelative/app/src/main/res/values/themes.xml deleted file mode 100644 index 4d78916..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Chat" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Chat" parent="Base.Theme.Chat" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/xml/backup_rules.xml b/DEV4.5/ChatRelative/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/ChatRelative/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/ChatRelative/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/ChatRelative/app/src/test/java/com/example/chat/ExampleUnitTest.java b/DEV4.5/ChatRelative/app/src/test/java/com/example/chat/ExampleUnitTest.java deleted file mode 100644 index 343df0a..0000000 --- a/DEV4.5/ChatRelative/app/src/test/java/com/example/chat/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.chat; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/ChatRelative/build.gradle b/DEV4.5/ChatRelative/build.gradle deleted file mode 100644 index a100ce0..0000000 --- a/DEV4.5/ChatRelative/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/ChatRelative/gradle.properties b/DEV4.5/ChatRelative/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/ChatRelative/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/ChatRelative/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/ChatRelative/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/ChatRelative/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/ChatRelative/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/ChatRelative/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index d3868a1..0000000 --- a/DEV4.5/ChatRelative/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Jan 25 11:37:10 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/ChatRelative/gradlew b/DEV4.5/ChatRelative/gradlew deleted file mode 100755 index 4f906e0..0000000 --- a/DEV4.5/ChatRelative/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/ChatRelative/gradlew.bat b/DEV4.5/ChatRelative/gradlew.bat deleted file mode 100644 index ac1b06f..0000000 --- a/DEV4.5/ChatRelative/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/ChatRelative/settings.gradle b/DEV4.5/ChatRelative/settings.gradle deleted file mode 100644 index e764ab0..0000000 --- a/DEV4.5/ChatRelative/settings.gradle +++ /dev/null @@ -1,16 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} -rootProject.name = "Chat" -include ':app' diff --git a/DEV4.5/ChatTable/.gitignore b/DEV4.5/ChatTable/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/ChatTable/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/ChatTable/.idea/.gitignore b/DEV4.5/ChatTable/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/ChatTable/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/ChatTable/.idea/compiler.xml b/DEV4.5/ChatTable/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/ChatTable/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatTable/.idea/deploymentTargetDropDown.xml b/DEV4.5/ChatTable/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/ChatTable/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatTable/.idea/gradle.xml b/DEV4.5/ChatTable/.idea/gradle.xml deleted file mode 100644 index 0897082..0000000 --- a/DEV4.5/ChatTable/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatTable/.idea/migrations.xml b/DEV4.5/ChatTable/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/ChatTable/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatTable/.idea/misc.xml b/DEV4.5/ChatTable/.idea/misc.xml deleted file mode 100644 index 8978d23..0000000 --- a/DEV4.5/ChatTable/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatTable/.idea/vcs.xml b/DEV4.5/ChatTable/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/ChatTable/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/.gitignore b/DEV4.5/ChatTable/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/ChatTable/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/build.gradle b/DEV4.5/ChatTable/app/build.gradle deleted file mode 100644 index 6131156..0000000 --- a/DEV4.5/ChatTable/app/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -plugins { - id 'com.android.application' -} - -android { - namespace 'com.example.chattable' - compileSdk 33 - - defaultConfig { - applicationId "com.example.chattable" - 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 - } -} - -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/ChatTable/app/proguard-rules.pro b/DEV4.5/ChatTable/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/ChatTable/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/androidTest/java/com/example/chattable/ExampleInstrumentedTest.java b/DEV4.5/ChatTable/app/src/androidTest/java/com/example/chattable/ExampleInstrumentedTest.java deleted file mode 100644 index 9f7f576..0000000 --- a/DEV4.5/ChatTable/app/src/androidTest/java/com/example/chattable/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.chattable; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.chattable", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/AndroidManifest.xml b/DEV4.5/ChatTable/app/src/main/AndroidManifest.xml deleted file mode 100644 index b39350e..0000000 --- a/DEV4.5/ChatTable/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.ChatTable" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/java/com/example/chattable/MainActivity.java b/DEV4.5/ChatTable/app/src/main/java/com/example/chattable/MainActivity.java deleted file mode 100644 index 31db7f4..0000000 --- a/DEV4.5/ChatTable/app/src/main/java/com/example/chattable/MainActivity.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.example.chattable; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - } -} \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/ChatTable/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/ChatTable/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/ChatTable/app/src/main/res/layout/activity_main.xml b/DEV4.5/ChatTable/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 51723b4..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<TableLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="16dp" - android:paddingRight="16dp"> - <TableRow> - - <EditText - android:id="@+id/name" - android:layout_width="186dp" - android:layout_height="800dp" - android:layout_span="2" - android:layout_weight="1"/> - </TableRow> - <TableRow> - <EditText - android:id="@+id/dates" - android:layout_height="wrap_content" - android:layout_weight="9"/> - <Button - android:id="@+id/times" - android:text="OK" - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - -</TableLayout> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/ChatTable/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/ChatTable/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/ChatTable/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/ChatTable/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/ChatTable/app/src/main/res/values-night/themes.xml b/DEV4.5/ChatTable/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 70aa393..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.ChatTable" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/values/colors.xml b/DEV4.5/ChatTable/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/values/strings.xml b/DEV4.5/ChatTable/app/src/main/res/values/strings.xml deleted file mode 100644 index 6df8d0a..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">ChatTable</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/values/themes.xml b/DEV4.5/ChatTable/app/src/main/res/values/themes.xml deleted file mode 100644 index 4951ef0..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.ChatTable" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.ChatTable" parent="Base.Theme.ChatTable" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/xml/backup_rules.xml b/DEV4.5/ChatTable/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/ChatTable/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/ChatTable/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/ChatTable/app/src/test/java/com/example/chattable/ExampleUnitTest.java b/DEV4.5/ChatTable/app/src/test/java/com/example/chattable/ExampleUnitTest.java deleted file mode 100644 index 75fb414..0000000 --- a/DEV4.5/ChatTable/app/src/test/java/com/example/chattable/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.chattable; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/ChatTable/build.gradle b/DEV4.5/ChatTable/build.gradle deleted file mode 100644 index a100ce0..0000000 --- a/DEV4.5/ChatTable/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/ChatTable/gradle.properties b/DEV4.5/ChatTable/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/ChatTable/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/ChatTable/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/ChatTable/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/ChatTable/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/ChatTable/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/ChatTable/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 07af173..0000000 --- a/DEV4.5/ChatTable/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Jan 25 15:18:45 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/ChatTable/gradlew b/DEV4.5/ChatTable/gradlew deleted file mode 100755 index 4f906e0..0000000 --- a/DEV4.5/ChatTable/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/ChatTable/gradlew.bat b/DEV4.5/ChatTable/gradlew.bat deleted file mode 100644 index ac1b06f..0000000 --- a/DEV4.5/ChatTable/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/ChatTable/settings.gradle b/DEV4.5/ChatTable/settings.gradle deleted file mode 100644 index 2200f0c..0000000 --- a/DEV4.5/ChatTable/settings.gradle +++ /dev/null @@ -1,16 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} -rootProject.name = "ChatTable" -include ':app' diff --git a/DEV4.5/Couleurs/.gitignore b/DEV4.5/Couleurs/.gitignore deleted file mode 100644 index c6cbe56..0000000 --- a/DEV4.5/Couleurs/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/workspace.xml -/.idea/libraries -.DS_Store -/build -/captures diff --git a/DEV4.5/Couleurs/.idea/.gitignore b/DEV4.5/Couleurs/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/Couleurs/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/Couleurs/.idea/caches/build_file_checksums.ser b/DEV4.5/Couleurs/.idea/caches/build_file_checksums.ser deleted file mode 100644 index 49bc20a..0000000 Binary files a/DEV4.5/Couleurs/.idea/caches/build_file_checksums.ser and /dev/null differ diff --git a/DEV4.5/Couleurs/.idea/codeStyles/Project.xml b/DEV4.5/Couleurs/.idea/codeStyles/Project.xml deleted file mode 100644 index 30aa626..0000000 --- a/DEV4.5/Couleurs/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,29 +0,0 @@ -<component name="ProjectCodeStyleConfiguration"> - <code_scheme name="Project" version="173"> - <Objective-C-extensions> - <file> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" /> - </file> - <class> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" /> - <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" /> - </class> - <extensions> - <pair source="cpp" header="h" fileNamingConvention="NONE" /> - <pair source="c" header="h" fileNamingConvention="NONE" /> - </extensions> - </Objective-C-extensions> - </code_scheme> -</component> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/compiler.xml b/DEV4.5/Couleurs/.idea/compiler.xml deleted file mode 100644 index 3cd2840..0000000 --- a/DEV4.5/Couleurs/.idea/compiler.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <wildcardResourcePatterns> - <entry name="!?*.java" /> - <entry name="!?*.form" /> - <entry name="!?*.class" /> - <entry name="!?*.groovy" /> - <entry name="!?*.scala" /> - <entry name="!?*.flex" /> - <entry name="!?*.kt" /> - <entry name="!?*.clj" /> - </wildcardResourcePatterns> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/deploymentTargetDropDown.xml b/DEV4.5/Couleurs/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/Couleurs/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/encodings.xml b/DEV4.5/Couleurs/.idea/encodings.xml deleted file mode 100644 index 97626ba..0000000 --- a/DEV4.5/Couleurs/.idea/encodings.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="Encoding"> - <file url="PROJECT" charset="UTF-8" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/gradle.xml b/DEV4.5/Couleurs/.idea/gradle.xml deleted file mode 100644 index b2302f7..0000000 --- a/DEV4.5/Couleurs/.idea/gradle.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleHome" value="/usr/share/java/gradle" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/jarRepositories.xml b/DEV4.5/Couleurs/.idea/jarRepositories.xml deleted file mode 100644 index 6d3ee29..0000000 --- a/DEV4.5/Couleurs/.idea/jarRepositories.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="RemoteRepositoriesConfiguration"> - <remote-repository> - <option name="id" value="central" /> - <option name="name" value="Maven Central repository" /> - <option name="url" value="https://repo1.maven.org/maven2" /> - </remote-repository> - <remote-repository> - <option name="id" value="jboss.community" /> - <option name="name" value="JBoss Community repository" /> - <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" /> - </remote-repository> - <remote-repository> - <option name="id" value="BintrayJCenter" /> - <option name="name" value="BintrayJCenter" /> - <option name="url" value="https://jcenter.bintray.com/" /> - </remote-repository> - <remote-repository> - <option name="id" value="Google" /> - <option name="name" value="Google" /> - <option name="url" value="https://dl.google.com/dl/android/maven2/" /> - </remote-repository> - <remote-repository> - <option name="id" value="/opt/sdk/extras/m2repository" /> - <option name="name" value="/opt/sdk/extras/m2repository" /> - <option name="url" value="file:/opt/sdk/extras/m2repository" /> - </remote-repository> - <remote-repository> - <option name="id" value="/opt/sdk/extras/android/m2repository" /> - <option name="name" value="/opt/sdk/extras/android/m2repository" /> - <option name="url" value="file:/opt/sdk/extras/android/m2repository" /> - </remote-repository> - <remote-repository> - <option name="id" value="/opt/sdk/extras/google/m2repository" /> - <option name="name" value="/opt/sdk/extras/google/m2repository" /> - <option name="url" value="file:/opt/sdk/extras/google/m2repository" /> - </remote-repository> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/migrations.xml b/DEV4.5/Couleurs/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/Couleurs/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/misc.xml b/DEV4.5/Couleurs/.idea/misc.xml deleted file mode 100644 index c3cebc7..0000000 --- a/DEV4.5/Couleurs/.idea/misc.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="BuildAttributionWarningsFilter"> - <option name="noGCSettingWarning" value="true" /> - </component> - <component name="DesignSurface"> - <option name="filePathToZoomLevelMap"> - <map> - <entry key="app/src/main/res/menu/menu_liste.xml" value="0.3625" /> - </map> - </option> - </component> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/modules.xml b/DEV4.5/Couleurs/.idea/modules.xml deleted file mode 100644 index 33f8fea..0000000 --- a/DEV4.5/Couleurs/.idea/modules.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectModuleManager"> - <modules> - <module fileurl="file://$PROJECT_DIR$/Couleurs.iml" filepath="$PROJECT_DIR$/Couleurs.iml" /> - <module fileurl="file://$PROJECT_DIR$/.idea/modules/app/Couleurs.app.iml" filepath="$PROJECT_DIR$/.idea/modules/app/Couleurs.app.iml" /> - <module fileurl="file://$PROJECT_DIR$/.idea/modules/app/Couleurs.app.androidTest.iml" filepath="$PROJECT_DIR$/.idea/modules/app/Couleurs.app.androidTest.iml" /> - <module fileurl="file://$PROJECT_DIR$/.idea/modules/app/Couleurs.app.main.iml" filepath="$PROJECT_DIR$/.idea/modules/app/Couleurs.app.main.iml" /> - <module fileurl="file://$PROJECT_DIR$/.idea/modules/app/Couleurs.app.unitTest.iml" filepath="$PROJECT_DIR$/.idea/modules/app/Couleurs.app.unitTest.iml" /> - </modules> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/.idea/vcs.xml b/DEV4.5/Couleurs/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/Couleurs/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Couleurs/app/.gitignore b/DEV4.5/Couleurs/app/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/DEV4.5/Couleurs/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/DEV4.5/Couleurs/app/build.gradle b/DEV4.5/Couleurs/app/build.gradle deleted file mode 100644 index 0ad5c3b..0000000 --- a/DEV4.5/Couleurs/app/build.gradle +++ /dev/null @@ -1,25 +0,0 @@ -apply plugin: 'com.android.application' - -android { - compileSdk 33 - buildToolsVersion '33.0.0' - - defaultConfig { - applicationId "fr.iut_fbleau.apl41.couleurs" - minSdkVersion 19 - targetSdk 33 - versionCode 1 - versionName "1.0" - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - testImplementation 'junit:junit:4.12' -} diff --git a/DEV4.5/Couleurs/app/proguard-rules.pro b/DEV4.5/Couleurs/app/proguard-rules.pro deleted file mode 100644 index 45dc58a..0000000 --- a/DEV4.5/Couleurs/app/proguard-rules.pro +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /opt/android-sdk/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/DEV4.5/Couleurs/app/src/androidTest/java/fr/iut_fbleau/apl41/couleurs/ApplicationTest.java b/DEV4.5/Couleurs/app/src/androidTest/java/fr/iut_fbleau/apl41/couleurs/ApplicationTest.java deleted file mode 100644 index d1165c3..0000000 --- a/DEV4.5/Couleurs/app/src/androidTest/java/fr/iut_fbleau/apl41/couleurs/ApplicationTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package fr.iut_fbleau.apl41.couleurs; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> - */ -public class ApplicationTest extends ApplicationTestCase<Application> { - public ApplicationTest() { - super(Application.class); - } -} \ No newline at end of file diff --git a/DEV4.5/Couleurs/app/src/main/AndroidManifest.xml b/DEV4.5/Couleurs/app/src/main/AndroidManifest.xml deleted file mode 100644 index 8ea4cea..0000000 --- a/DEV4.5/Couleurs/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="fr.iut_fbleau.apl41.couleurs"> - - <application - android:label="@string/app_name"> - <activity - android:name=".Liste" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/AccesBaseDeDonnees.java b/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/AccesBaseDeDonnees.java deleted file mode 100644 index 98a118c..0000000 --- a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/AccesBaseDeDonnees.java +++ /dev/null @@ -1,45 +0,0 @@ -package fr.iut_fbleau.apl41.couleurs; - -import android.content.ContentValues; -import android.content.Context; -import android.database.sqlite.SQLiteDatabase; -import android.database.sqlite.SQLiteOpenHelper; -import android.provider.BaseColumns; - -public class AccesBaseDeDonnees extends SQLiteOpenHelper { - public final static String NOM_BASE = "base_couleurs"; - public final static int VERSION_BASE = 3; - public final static String NOM_TABLE = "couleurs"; - public final static String CHAMP_NOM = "couleurs_nom"; - public final static String CHAMP_VALEUR = "couleurs_valeur"; - - public AccesBaseDeDonnees(Context context) { - super(context, AccesBaseDeDonnees.NOM_BASE, null, AccesBaseDeDonnees.VERSION_BASE); - } - - @Override - public void onCreate(SQLiteDatabase baseDeDonnees) { - baseDeDonnees.execSQL("create table " + AccesBaseDeDonnees.NOM_TABLE + "(" + - BaseColumns._ID + " integer primary key autoincrement, " + - AccesBaseDeDonnees.CHAMP_NOM + " text not null, " + - AccesBaseDeDonnees.CHAMP_VALEUR + " integer);"); - - ContentValues tuple = new ContentValues(); - - tuple.put(AccesBaseDeDonnees.CHAMP_NOM, "bleu Denim"); - tuple.put(AccesBaseDeDonnees.CHAMP_VALEUR, 0xFF4B0082); - baseDeDonnees.insert(AccesBaseDeDonnees.NOM_TABLE, null, tuple); - tuple.put(AccesBaseDeDonnees.CHAMP_NOM, "bleu électrique"); - tuple.put(AccesBaseDeDonnees.CHAMP_VALEUR, 0xFF1163E3); - baseDeDonnees.insert(AccesBaseDeDonnees.NOM_TABLE, null, tuple); - tuple.put(AccesBaseDeDonnees.CHAMP_NOM, "bleu vert"); - tuple.put(AccesBaseDeDonnees.CHAMP_VALEUR, 0xFF40E0D0); - baseDeDonnees.insert(AccesBaseDeDonnees.NOM_TABLE, null, tuple); - } - - @Override - public void onUpgrade(SQLiteDatabase baseDeDonnees, int vieux, int nouveau) { - baseDeDonnees.execSQL("drop table if exists " + AccesBaseDeDonnees.NOM_TABLE); - this.onCreate(baseDeDonnees); - } -} diff --git a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/ControleClic.java b/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/ControleClic.java deleted file mode 100644 index 00298b8..0000000 --- a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/ControleClic.java +++ /dev/null @@ -1,20 +0,0 @@ -package fr.iut_fbleau.apl41.couleurs; - -import android.app.Activity; -import android.view.View; -import android.widget.AdapterView; -import android.widget.Toast; - -/** - * Created by hernand on 3/28/17. - */ -public class ControleClic implements AdapterView.OnItemClickListener { - private Activity parent; - public ControleClic(Activity a) { - this.parent = a; - } - @Override - public void onItemClick(AdapterView<?> liste, View vue, int positionListe, long idBase) { - Toast.makeText(this.parent, "Clic sur ligne "+(positionListe+1), Toast.LENGTH_SHORT).show(); - } -} diff --git a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Lieur.java b/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Lieur.java deleted file mode 100644 index 17a1718..0000000 --- a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Lieur.java +++ /dev/null @@ -1,16 +0,0 @@ -package fr.iut_fbleau.apl41.couleurs; - -import android.database.Cursor; -import android.view.View; -import android.widget.SimpleCursorAdapter; - -public class Lieur implements SimpleCursorAdapter.ViewBinder { - @Override - public boolean setViewValue(View view, Cursor cursor, int columnIndex) { - if(view.getId() == R.id.couleur) { - view.setBackgroundColor(cursor.getInt(columnIndex)); - return true; - } - return false; - } -} diff --git a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Liste.java b/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Liste.java deleted file mode 100644 index c9d982c..0000000 --- a/DEV4.5/Couleurs/app/src/main/java/fr/iut_fbleau/apl41/couleurs/Liste.java +++ /dev/null @@ -1,59 +0,0 @@ -package fr.iut_fbleau.apl41.couleurs; - -import android.app.Activity; -import android.database.Cursor; -import android.database.sqlite.SQLiteDatabase; -import android.os.Bundle; -import android.view.Menu; -import android.view.MenuItem; -import android.widget.ListView; -import android.widget.SimpleCursorAdapter; -import android.widget.Toast; - -public class Liste extends Activity { - private final static String[] CHAMPS = {AccesBaseDeDonnees.CHAMP_NOM, AccesBaseDeDonnees.CHAMP_VALEUR}; - private final static int[] VUES = {R.id.nom, R.id.couleur}; - private SimpleCursorAdapter adaptateur; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - this.setContentView(R.layout.activity_liste); - - this.adaptateur = new SimpleCursorAdapter(this, R.layout.row_element, null, Liste.CHAMPS, Liste.VUES, 0); - this.adaptateur.setViewBinder(new Lieur()); - ListView elements = (ListView) this.findViewById(R.id.elements); - elements.setOnItemClickListener(new ControleClic(this)); - elements.setAdapter(this.adaptateur); - this.remplirListe(); - } - - public void remplirListe() { - AccesBaseDeDonnees acces = new AccesBaseDeDonnees(this); - SQLiteDatabase baseDeDonnees = acces.getReadableDatabase(); - - Cursor curseur = baseDeDonnees.query(AccesBaseDeDonnees.NOM_TABLE, null, null, null, null, null, null); - if (curseur != null) { - this.adaptateur.swapCursor(curseur); - } else { - Toast.makeText(this, "Erreur d'accès à la base de données", Toast.LENGTH_SHORT).show(); - } - } - - @Override - public boolean onCreateOptionsMenu(Menu menu) { - this.getMenuInflater().inflate(R.menu.menu_liste, menu); - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - int id = item.getItemId(); - - if (id == R.id.action_ajouter) { - // TODO - return true; - } - - return super.onOptionsItemSelected(item); - } -} diff --git a/DEV4.5/Couleurs/app/src/main/res/layout/activity_liste.xml b/DEV4.5/Couleurs/app/src/main/res/layout/activity_liste.xml deleted file mode 100644 index 858d06b..0000000 --- a/DEV4.5/Couleurs/app/src/main/res/layout/activity_liste.xml +++ /dev/null @@ -1,18 +0,0 @@ -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - tools:context=".Liste" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginLeft="@dimen/activity_horizontal_margin" - android:layout_marginRight="@dimen/activity_horizontal_margin" - android:layout_marginTop="@dimen/activity_vertical_margin" - android:layout_marginBottom="@dimen/activity_vertical_margin" -> - <ListView - android:id="@+id/elements" - android:layout_width="match_parent" - android:layout_height="wrap_content" - /> -</LinearLayout> diff --git a/DEV4.5/Couleurs/app/src/main/res/layout/row_element.xml b/DEV4.5/Couleurs/app/src/main/res/layout/row_element.xml deleted file mode 100644 index 0871fc0..0000000 --- a/DEV4.5/Couleurs/app/src/main/res/layout/row_element.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content" -> - - <View - android:layout_width="@dimen/color_size" - android:layout_height="@dimen/color_size" - android:id="@+id/couleur" - android:layout_margin="@dimen/color_margin" - android:background="#ff20a080" - android:gravity="center" /> - - <TextView - android:layout_width="0dp" - android:layout_height="match_parent" - android:textAppearance="?android:attr/textAppearanceMedium" - android:text="Vert" - android:id="@+id/nom" - android:layout_weight="1.0" - android:gravity="center_vertical|start" /> -</LinearLayout> \ No newline at end of file diff --git a/DEV4.5/Couleurs/app/src/main/res/menu/menu_liste.xml b/DEV4.5/Couleurs/app/src/main/res/menu/menu_liste.xml deleted file mode 100644 index 847ca63..0000000 --- a/DEV4.5/Couleurs/app/src/main/res/menu/menu_liste.xml +++ /dev/null @@ -1,13 +0,0 @@ -<menu - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - tools:context=".Liste" -> - <item - android:id="@+id/action_ajouter" - android:title="@string/action_ajouter" - android:orderInCategory="100" - android:showAsAction="never" - /> -</menu> diff --git a/DEV4.5/Couleurs/app/src/main/res/mipmap-hdpi/ic_launcher.png b/DEV4.5/Couleurs/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index cde69bc..0000000 Binary files a/DEV4.5/Couleurs/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/DEV4.5/Couleurs/app/src/main/res/mipmap-mdpi/ic_launcher.png b/DEV4.5/Couleurs/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index c133a0c..0000000 Binary files a/DEV4.5/Couleurs/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/DEV4.5/Couleurs/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/DEV4.5/Couleurs/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index bfa42f0..0000000 Binary files a/DEV4.5/Couleurs/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/DEV4.5/Couleurs/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/DEV4.5/Couleurs/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 324e72c..0000000 Binary files a/DEV4.5/Couleurs/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/DEV4.5/Couleurs/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/DEV4.5/Couleurs/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index aee44e1..0000000 Binary files a/DEV4.5/Couleurs/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/DEV4.5/Couleurs/app/src/main/res/values-w820dp/dimens.xml b/DEV4.5/Couleurs/app/src/main/res/values-w820dp/dimens.xml deleted file mode 100644 index 43758b3..0000000 --- a/DEV4.5/Couleurs/app/src/main/res/values-w820dp/dimens.xml +++ /dev/null @@ -1,5 +0,0 @@ -<resources> - <dimen name="activity_horizontal_margin"> - 64dp - </dimen> -</resources> diff --git a/DEV4.5/Couleurs/app/src/main/res/values/dimens.xml b/DEV4.5/Couleurs/app/src/main/res/values/dimens.xml deleted file mode 100644 index 3fbe64e..0000000 --- a/DEV4.5/Couleurs/app/src/main/res/values/dimens.xml +++ /dev/null @@ -1,14 +0,0 @@ -<resources> - <dimen name="activity_horizontal_margin"> - 16dp - </dimen> - <dimen name="activity_vertical_margin"> - 16dp - </dimen> - <dimen name="color_size"> - 32dp - </dimen> - <dimen name="color_margin"> - 12dp - </dimen> -</resources> diff --git a/DEV4.5/Couleurs/app/src/main/res/values/strings.xml b/DEV4.5/Couleurs/app/src/main/res/values/strings.xml deleted file mode 100644 index c8d6132..0000000 --- a/DEV4.5/Couleurs/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<resources> - <string name="app_name"> - Couleurs - </string> - <string name="action_ajouter"> - Ajouter - </string> -</resources> diff --git a/DEV4.5/Couleurs/app/src/test/java/fr/iut_fbleau/apl41/couleurs/ExampleUnitTest.java b/DEV4.5/Couleurs/app/src/test/java/fr/iut_fbleau/apl41/couleurs/ExampleUnitTest.java deleted file mode 100644 index 89bf27e..0000000 --- a/DEV4.5/Couleurs/app/src/test/java/fr/iut_fbleau/apl41/couleurs/ExampleUnitTest.java +++ /dev/null @@ -1,15 +0,0 @@ -package fr.iut_fbleau.apl41.couleurs; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * To work on unit tests, switch the Test Artifact in the Build Variants view. - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/Couleurs/build.gradle b/DEV4.5/Couleurs/build.gradle deleted file mode 100644 index d54ad67..0000000 --- a/DEV4.5/Couleurs/build.gradle +++ /dev/null @@ -1,25 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - -buildscript { - repositories { - google() - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:7.2.2' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } -} - -allprojects { - repositories { - google() - jcenter() - } -} - -task clean(type: Delete) { - delete rootProject.buildDir -} diff --git a/DEV4.5/Couleurs/gradle.properties b/DEV4.5/Couleurs/gradle.properties deleted file mode 100644 index 1d3591c..0000000 --- a/DEV4.5/Couleurs/gradle.properties +++ /dev/null @@ -1,18 +0,0 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx10248m -XX:MaxPermSize=256m -# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file diff --git a/DEV4.5/Couleurs/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Couleurs/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 13372ae..0000000 Binary files a/DEV4.5/Couleurs/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/Couleurs/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Couleurs/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 8a9a5ad..0000000 --- a/DEV4.5/Couleurs/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Wed Mar 23 13:29:16 CET 2022 -distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip -distributionPath=wrapper/dists -zipStorePath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME diff --git a/DEV4.5/Couleurs/gradlew b/DEV4.5/Couleurs/gradlew deleted file mode 100644 index 9d82f78..0000000 --- a/DEV4.5/Couleurs/gradlew +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env bash - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn ( ) { - echo "$*" -} - -die ( ) { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; -esac - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/DEV4.5/Couleurs/gradlew.bat b/DEV4.5/Couleurs/gradlew.bat deleted file mode 100644 index 8a0b282..0000000 --- a/DEV4.5/Couleurs/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@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 - -@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= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@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 init - -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 init - -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 - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -: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 %CMD_LINE_ARGS% - -: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/Couleurs/settings.gradle b/DEV4.5/Couleurs/settings.gradle deleted file mode 100644 index e7b4def..0000000 --- a/DEV4.5/Couleurs/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':app' diff --git a/DEV4.5/Fleche/.gitignore b/DEV4.5/Fleche/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/Fleche/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/Fleche/.idea/.gitignore b/DEV4.5/Fleche/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/Fleche/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/Fleche/.idea/compiler.xml b/DEV4.5/Fleche/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/Fleche/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Fleche/.idea/deploymentTargetDropDown.xml b/DEV4.5/Fleche/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/Fleche/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Fleche/.idea/gradle.xml b/DEV4.5/Fleche/.idea/gradle.xml deleted file mode 100644 index cb865f6..0000000 --- a/DEV4.5/Fleche/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="jbr-17" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Fleche/.idea/migrations.xml b/DEV4.5/Fleche/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/Fleche/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Fleche/.idea/misc.xml b/DEV4.5/Fleche/.idea/misc.xml deleted file mode 100644 index 773fe0f..0000000 --- a/DEV4.5/Fleche/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Fleche/.idea/vcs.xml b/DEV4.5/Fleche/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/Fleche/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/.gitignore b/DEV4.5/Fleche/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/Fleche/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/Fleche/app/build.gradle b/DEV4.5/Fleche/app/build.gradle deleted file mode 100644 index ad007a5..0000000 --- a/DEV4.5/Fleche/app/build.gradle +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - id 'com.android.application' -} - -android { - namespace 'com.example.fleche' - compileSdk 33 - - defaultConfig { - applicationId "com.example.fleche" - 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/Fleche/app/proguard-rules.pro b/DEV4.5/Fleche/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/Fleche/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/androidTest/java/com/example/fleche/ExampleInstrumentedTest.java b/DEV4.5/Fleche/app/src/androidTest/java/com/example/fleche/ExampleInstrumentedTest.java deleted file mode 100644 index f8f953a..0000000 --- a/DEV4.5/Fleche/app/src/androidTest/java/com/example/fleche/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.fleche; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.fleche", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/AndroidManifest.xml b/DEV4.5/Fleche/app/src/main/AndroidManifest.xml deleted file mode 100644 index a56f59f..0000000 --- a/DEV4.5/Fleche/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Fleche" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/java/com/example/fleche/FlecheListener.java b/DEV4.5/Fleche/app/src/main/java/com/example/fleche/FlecheListener.java deleted file mode 100644 index 847dc6e..0000000 --- a/DEV4.5/Fleche/app/src/main/java/com/example/fleche/FlecheListener.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.example.fleche; - -import android.content.DialogInterface; -import android.util.Log; -import android.view.View; -import android.widget.Button; -import android.widget.ImageView; - -public class FlecheListener implements View.OnClickListener { - - private ImageView imgFleche; - private Button ButtonG; - private Button ButtonD; - FlecheListener(ImageView img, Button left, Button right) { - super(); - this.imgFleche = img; - this.ButtonG = left; - this.ButtonD = right; - } - - @Override - public void onClick(View view) { - if(view.getId()==ButtonD.getId()) { - this.imgFleche.setImageResource(R.drawable.fleche_droite); - Log.v("test","droite"); - } - if (view.getId()==ButtonG.getId()) { - this.imgFleche.setImageResource(R.drawable.fleche_gauche); - Log.v("test","gauche"); - } - } -} diff --git a/DEV4.5/Fleche/app/src/main/java/com/example/fleche/MainActivity.java b/DEV4.5/Fleche/app/src/main/java/com/example/fleche/MainActivity.java deleted file mode 100644 index 343f26a..0000000 --- a/DEV4.5/Fleche/app/src/main/java/com/example/fleche/MainActivity.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.fleche; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; -import android.view.View; -import android.widget.Button; -import android.widget.ImageView; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - ImageView FlecheImg = (ImageView) findViewById(R.id.flecheImg); - Button btnFlecheG = (Button) findViewById(R.id.flecheGauche); - Button btnFlecheD = (Button) findViewById(R.id.flecheDroite); - FlecheListener listener = new FlecheListener(FlecheImg,btnFlecheG,btnFlecheD); - btnFlecheG.setOnClickListener(listener); - btnFlecheD.setOnClickListener(listener); - } -} \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/Fleche/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/Fleche/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/drawable/fleche_droite.png b/DEV4.5/Fleche/app/src/main/res/drawable/fleche_droite.png deleted file mode 100644 index 561d4b7..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/drawable/fleche_droite.png and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/drawable/fleche_gauche.png b/DEV4.5/Fleche/app/src/main/res/drawable/fleche_gauche.png deleted file mode 100644 index ad7ad39..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/drawable/fleche_gauche.png and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/Fleche/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/Fleche/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/Fleche/app/src/main/res/layout/activity_main.xml b/DEV4.5/Fleche/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 83b8815..0000000 --- a/DEV4.5/Fleche/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="16dp" - android:paddingRight="16dp"> - - <ImageView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:id="@+id/flecheImg" - android:src="@drawable/fleche_droite" - android:layout_centerHorizontal="true"/> - - <Button - android:id="@+id/flecheGauche" - android:layout_width="60dp" - android:layout_height="wrap_content" - android:layout_below="@id/flecheImg" - android:layout_toStartOf="@+id/filler" - android:text="←" /> - - <TextView - android:id="@+id/filler" - android:layout_width="80dp" - android:layout_height="45dp" - android:layout_below="@id/flecheImg" - android:layout_centerHorizontal="true" /> - - <Button - android:id="@+id/flecheDroite" - android:layout_width="60dp" - android:layout_height="wrap_content" - android:layout_below="@id/flecheImg" - android:layout_toEndOf="@+id/filler" - android:text="→" /> - - -</RelativeLayout> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/Fleche/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Fleche/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/Fleche/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Fleche/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/Fleche/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/Fleche/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Fleche/app/src/main/res/values-night/themes.xml b/DEV4.5/Fleche/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 6946489..0000000 --- a/DEV4.5/Fleche/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Fleche" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/values/colors.xml b/DEV4.5/Fleche/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/Fleche/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/values/strings.xml b/DEV4.5/Fleche/app/src/main/res/values/strings.xml deleted file mode 100644 index 4e83a59..0000000 --- a/DEV4.5/Fleche/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Fleche</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/values/themes.xml b/DEV4.5/Fleche/app/src/main/res/values/themes.xml deleted file mode 100644 index fa78d7f..0000000 --- a/DEV4.5/Fleche/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Fleche" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Fleche" parent="Base.Theme.Fleche" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/xml/backup_rules.xml b/DEV4.5/Fleche/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/Fleche/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/Fleche/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/Fleche/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/Fleche/app/src/test/java/com/example/fleche/ExampleUnitTest.java b/DEV4.5/Fleche/app/src/test/java/com/example/fleche/ExampleUnitTest.java deleted file mode 100644 index d0194c5..0000000 --- a/DEV4.5/Fleche/app/src/test/java/com/example/fleche/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.fleche; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/Fleche/build.gradle b/DEV4.5/Fleche/build.gradle deleted file mode 100644 index a100ce0..0000000 --- a/DEV4.5/Fleche/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/Fleche/gradle.properties b/DEV4.5/Fleche/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/Fleche/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/Fleche/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Fleche/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/Fleche/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/Fleche/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Fleche/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 4a770fc..0000000 --- a/DEV4.5/Fleche/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Feb 08 11:27:45 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/Fleche/gradlew b/DEV4.5/Fleche/gradlew deleted file mode 100755 index 4f906e0..0000000 --- a/DEV4.5/Fleche/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/Fleche/gradlew.bat b/DEV4.5/Fleche/gradlew.bat deleted file mode 100644 index ac1b06f..0000000 --- a/DEV4.5/Fleche/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/Fleche/settings.gradle b/DEV4.5/Fleche/settings.gradle deleted file mode 100644 index 80419e9..0000000 --- a/DEV4.5/Fleche/settings.gradle +++ /dev/null @@ -1,16 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} -rootProject.name = "Fleche" -include ':app' diff --git a/DEV4.5/Gribouillage/.gitignore b/DEV4.5/Gribouillage/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/Gribouillage/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/Gribouillage/.idea/.gitignore b/DEV4.5/Gribouillage/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/Gribouillage/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/Gribouillage/.idea/compiler.xml b/DEV4.5/Gribouillage/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/Gribouillage/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/.idea/deploymentTargetDropDown.xml b/DEV4.5/Gribouillage/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/Gribouillage/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/.idea/gradle.xml b/DEV4.5/Gribouillage/.idea/gradle.xml deleted file mode 100644 index 0897082..0000000 --- a/DEV4.5/Gribouillage/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/.idea/migrations.xml b/DEV4.5/Gribouillage/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/Gribouillage/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/.idea/misc.xml b/DEV4.5/Gribouillage/.idea/misc.xml deleted file mode 100644 index 8978d23..0000000 --- a/DEV4.5/Gribouillage/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/.idea/vcs.xml b/DEV4.5/Gribouillage/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/Gribouillage/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/.gitignore b/DEV4.5/Gribouillage/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/Gribouillage/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/build.gradle b/DEV4.5/Gribouillage/app/build.gradle deleted file mode 100644 index 7a6fee1..0000000 --- a/DEV4.5/Gribouillage/app/build.gradle +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - id 'com.android.application' -} - -android { - namespace 'com.example.gribouillage' - compileSdk 33 - - defaultConfig { - applicationId "com.example.gribouillage" - 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/Gribouillage/app/proguard-rules.pro b/DEV4.5/Gribouillage/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/Gribouillage/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/androidTest/java/com/example/gribouillage/ExampleInstrumentedTest.java b/DEV4.5/Gribouillage/app/src/androidTest/java/com/example/gribouillage/ExampleInstrumentedTest.java deleted file mode 100644 index 87e233a..0000000 --- a/DEV4.5/Gribouillage/app/src/androidTest/java/com/example/gribouillage/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.gribouillage; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.gribouillage", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/AndroidManifest.xml b/DEV4.5/Gribouillage/app/src/main/AndroidManifest.xml deleted file mode 100644 index 2da831b..0000000 --- a/DEV4.5/Gribouillage/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Gribouillage" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/java/com/example/gribouillage/Gribouillage.java b/DEV4.5/Gribouillage/app/src/main/java/com/example/gribouillage/Gribouillage.java deleted file mode 100644 index 9b3688c..0000000 --- a/DEV4.5/Gribouillage/app/src/main/java/com/example/gribouillage/Gribouillage.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.example.gribouillage; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Color; -import android.graphics.Paint; -import android.graphics.Rect; -import android.graphics.Typeface; -import android.view.View; - -public class Gribouillage extends View { - - private final Paint bluePaint; - private final Paint purplePaint; - private final Paint textPaint; - private final Rect rectangleBounds; - private final String text; - - - public Gribouillage(Context context) { - super(context); - - // Initialize paints - bluePaint = new Paint(); - bluePaint.setColor(Color.BLUE); - bluePaint.setStyle(Paint.Style.FILL); - - purplePaint = new Paint(); - purplePaint.setColor(Color.MAGENTA); - purplePaint.setStyle(Paint.Style.STROKE); - purplePaint.setStrokeWidth(5); - - textPaint = new Paint(); - textPaint.setColor(Color.BLACK); - textPaint.setTextSize(40); - textPaint.setTypeface(Typeface.DEFAULT_BOLD); - - rectangleBounds = new Rect(100, 100, 500, 300); - - text = "Ceci est un test"; - } - - @Override - protected void onDraw(Canvas c){ - super.onDraw(c); - - c.drawRect(rectangleBounds, bluePaint); - - int centerX = rectangleBounds.centerX(); - int centerY = rectangleBounds.centerY(); - int radius = Math.min(rectangleBounds.width(), rectangleBounds.height()) / 2; - c.drawCircle(centerX, centerY, radius, purplePaint); - - float textWidth = textPaint.measureText(text); - float x = rectangleBounds.centerX() - textWidth / 2; - float y = rectangleBounds.centerY() - (textPaint.descent() + textPaint.ascent()) / 2; - c.drawText(text, x, y, textPaint); - } -} diff --git a/DEV4.5/Gribouillage/app/src/main/java/com/example/gribouillage/MainActivity.java b/DEV4.5/Gribouillage/app/src/main/java/com/example/gribouillage/MainActivity.java deleted file mode 100644 index 80e3e4e..0000000 --- a/DEV4.5/Gribouillage/app/src/main/java/com/example/gribouillage/MainActivity.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.example.gribouillage; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - } -} \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/Gribouillage/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/Gribouillage/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/Gribouillage/app/src/main/res/layout/activity_main.xml b/DEV4.5/Gribouillage/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index d2ec659..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="16dp" - android:paddingRight="16dp" > - - <com.example.gribouillage.Gribouillage - android:layout_width="match_parent" - android:layout_height="match_parent"></com.example.gribouillage.Gribouillage> -</RelativeLayout> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/Gribouillage/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/Gribouillage/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/Gribouillage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Gribouillage/app/src/main/res/values-night/themes.xml b/DEV4.5/Gribouillage/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 0391f2b..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Gribouillage" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/values/colors.xml b/DEV4.5/Gribouillage/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/values/strings.xml b/DEV4.5/Gribouillage/app/src/main/res/values/strings.xml deleted file mode 100644 index c9d658b..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Gribouillage</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/values/themes.xml b/DEV4.5/Gribouillage/app/src/main/res/values/themes.xml deleted file mode 100644 index 6064fc7..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Gribouillage" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Gribouillage" parent="Base.Theme.Gribouillage" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/xml/backup_rules.xml b/DEV4.5/Gribouillage/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/Gribouillage/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/Gribouillage/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/Gribouillage/app/src/test/java/com/example/gribouillage/ExampleUnitTest.java b/DEV4.5/Gribouillage/app/src/test/java/com/example/gribouillage/ExampleUnitTest.java deleted file mode 100644 index ba34d20..0000000 --- a/DEV4.5/Gribouillage/app/src/test/java/com/example/gribouillage/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.gribouillage; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/Gribouillage/build.gradle b/DEV4.5/Gribouillage/build.gradle deleted file mode 100644 index a100ce0..0000000 --- a/DEV4.5/Gribouillage/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/Gribouillage/gradle.properties b/DEV4.5/Gribouillage/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/Gribouillage/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/Gribouillage/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Gribouillage/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/Gribouillage/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/Gribouillage/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Gribouillage/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 7ff7591..0000000 --- a/DEV4.5/Gribouillage/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Feb 01 11:23:18 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/Gribouillage/gradlew b/DEV4.5/Gribouillage/gradlew deleted file mode 100755 index 4f906e0..0000000 --- a/DEV4.5/Gribouillage/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/Gribouillage/gradlew.bat b/DEV4.5/Gribouillage/gradlew.bat deleted file mode 100644 index ac1b06f..0000000 --- a/DEV4.5/Gribouillage/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/Gribouillage/settings.gradle b/DEV4.5/Gribouillage/settings.gradle deleted file mode 100644 index 5a470c2..0000000 --- a/DEV4.5/Gribouillage/settings.gradle +++ /dev/null @@ -1,16 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} -rootProject.name = "Gribouillage" -include ':app' diff --git a/DEV4.5/Grille/.gitignore b/DEV4.5/Grille/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/Grille/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/Grille/.idea/.gitignore b/DEV4.5/Grille/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/Grille/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/Grille/.idea/compiler.xml b/DEV4.5/Grille/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/Grille/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Grille/.idea/deploymentTargetDropDown.xml b/DEV4.5/Grille/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/Grille/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Grille/.idea/gradle.xml b/DEV4.5/Grille/.idea/gradle.xml deleted file mode 100644 index 0897082..0000000 --- a/DEV4.5/Grille/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Grille/.idea/migrations.xml b/DEV4.5/Grille/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/Grille/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Grille/.idea/misc.xml b/DEV4.5/Grille/.idea/misc.xml deleted file mode 100644 index 8978d23..0000000 --- a/DEV4.5/Grille/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Grille/.idea/vcs.xml b/DEV4.5/Grille/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/Grille/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Grille/app/.gitignore b/DEV4.5/Grille/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/Grille/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/Grille/app/build.gradle.kts b/DEV4.5/Grille/app/build.gradle.kts deleted file mode 100644 index a7b972e..0000000 --- a/DEV4.5/Grille/app/build.gradle.kts +++ /dev/null @@ -1,39 +0,0 @@ -plugins { - id("com.android.application") -} - -android { - namespace = "com.example.grille" - compileSdk = 34 - - defaultConfig { - applicationId = "com.example.grille" - 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/Grille/app/proguard-rules.pro b/DEV4.5/Grille/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/Grille/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/androidTest/java/com/example/grille/ExampleInstrumentedTest.java b/DEV4.5/Grille/app/src/androidTest/java/com/example/grille/ExampleInstrumentedTest.java deleted file mode 100644 index 3f10d8a..0000000 --- a/DEV4.5/Grille/app/src/androidTest/java/com/example/grille/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.grille; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.grille", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/AndroidManifest.xml b/DEV4.5/Grille/app/src/main/AndroidManifest.xml deleted file mode 100644 index add4312..0000000 --- a/DEV4.5/Grille/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Grille" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/java/com/example/grille/Grille.java b/DEV4.5/Grille/app/src/main/java/com/example/grille/Grille.java deleted file mode 100644 index d914b35..0000000 --- a/DEV4.5/Grille/app/src/main/java/com/example/grille/Grille.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.example.grille; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Color; -import android.graphics.Paint; -import android.util.AttributeSet; -import android.view.View; - -public class Grille extends View { - - public GrilleListener GL; - public GrilleControlleur GC; - - - public Grille(Context c, AttributeSet attrs) { - super(c,attrs); - } - - public void setListener(GrilleListener GL) { - this.GL = GL; - } - - public void setControlleur(GrilleControlleur GC) { - this.GC = GC; - } - - @Override - protected void onDraw(Canvas c) { - super.onDraw(c); - Paint p = new Paint(); - float x = 150f; - float y = 600f; - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - switch(GC.tab[i][j]) { - case 0: - p.setColor(Color.BLUE); - break; - case 1: - p.setColor(Color.YELLOW); - break; - case 2: - p.setColor(Color.MAGENTA); - break; - case 3: - p.setColor(Color.BLACK); - break; - default: - p.setColor(Color.BLUE); - break; - } - p.setStyle(Paint.Style.FILL); - c.drawRect(x + 30f, y + 30f, x + 250f, y + 250f, p); - x+=250f; - } - x = 150f; - y+=250f; - } - - - - } - -} diff --git a/DEV4.5/Grille/app/src/main/java/com/example/grille/GrilleControlleur.java b/DEV4.5/Grille/app/src/main/java/com/example/grille/GrilleControlleur.java deleted file mode 100644 index 505d4a4..0000000 --- a/DEV4.5/Grille/app/src/main/java/com/example/grille/GrilleControlleur.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.grille; - -public class GrilleControlleur { - - public int[][] tab; - - public GrilleControlleur() - { - this.tab = new int[3][3]; - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - this.tab[i][j] = 0; - } - - } - } -} diff --git a/DEV4.5/Grille/app/src/main/java/com/example/grille/GrilleListener.java b/DEV4.5/Grille/app/src/main/java/com/example/grille/GrilleListener.java deleted file mode 100644 index 15112ac..0000000 --- a/DEV4.5/Grille/app/src/main/java/com/example/grille/GrilleListener.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.example.grille; - - -import android.util.Log; -import android.view.GestureDetector; -import android.view.GestureDetector.OnDoubleTapListener; -import android.view.GestureDetector.OnGestureListener; -import android.view.MotionEvent; -import android.view.MotionEvent; -import android.view.View; - -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; - -public class GrilleListener extends GestureDetector.SimpleOnGestureListener { - - View v; - GrilleControlleur GC; - private long tempsPression; - public GrilleListener(View vue, GrilleControlleur GC){ - super(); - this.v = vue; - this.GC = GC; - } - public GrilleListener(GrilleControlleur GC){ - super(); - this.GC = GC; - } - - void setView(View v){ - this.v = v; - } - - @Override - public boolean onDown(@NonNull MotionEvent e) { - this.tempsPression = System.currentTimeMillis(); - return true; - } - - @Override - public void onShowPress(@NonNull MotionEvent e) {} - - @Override - public boolean onSingleTapUp(@NonNull MotionEvent e) { - if (System.currentTimeMillis() - this.tempsPression < 500) { - this.setCase(e,0); - v.invalidate(); - Log.d("test","tap"); - return true; - } - return false; - } - - @Override - public boolean onScroll(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float distanceX, float distanceY) { - return false; - } - - @Override - public void onLongPress(@NonNull MotionEvent e) { - this.setCase(e,1); - v.invalidate(); - Log.d("test","press"); - } - - @Override - public boolean onFling(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float velocityX, float velocityY) { - this.setCase(e1,3); - v.invalidate(); - Log.d("test","Fling"); - return true; - } - - @Override - public boolean onSingleTapConfirmed(@NonNull MotionEvent e) { - return false; - } - - @Override - public boolean onDoubleTap(@NonNull MotionEvent e) { - this.setCase(e,2); - v.invalidate(); - Log.d("test","double tap"); - return true; - } - - @Override - public boolean onDoubleTapEvent(@NonNull MotionEvent e) { - return false; - } - - public void setCase(MotionEvent e, int i) - { - Log.d("test","debut setCase X ="+ e.getX()+" Y="+e.getY()); - if (e.getX()> 180f && e.getX() < 400f) { - Log.d("test","colonne 1"); - if (e.getY()> 630f && e.getY() < 850f) { - this.GC.tab[0][0] = i; - Log.d("test","0 0 ="+i); - } else if (e.getY()> 880f && e.getY() < 1100f) { - this.GC.tab[1][0] = i; - Log.d("test","0 1 ="+i); - } else if (e.getY()> 1130f && e.getY() < 1350f) { - this.GC.tab[2][0] = i; - Log.d("test","0 2 ="+i); - } - } else if (e.getX()> 430f && e.getX() < 650f) { - Log.d("test","colonne 2"); - if (e.getY()> 630f && e.getY() < 850f) { - this.GC.tab[0][1] = i; - Log.d("test","1 0 ="+i); - } else if (e.getY()> 880f && e.getY() < 1100f) { - this.GC.tab[1][1] = i; - Log.d("test","1 1 ="+i); - } else if (e.getY()> 1130f && e.getY() < 1350f) { - this.GC.tab[2][1] = i; - Log.d("test","1 2 ="+i); - } - } else if (e.getX()> 680f && e.getX() < 900f) { - Log.d("test","colonne 3"); - if (e.getY()> 630f && e.getY() < 850f) { - this.GC.tab[0][2] = i; - Log.d("test","2 0 ="+i); - } else if (e.getY()> 880f && e.getY() < 1100f) { - this.GC.tab[1][2] = i; - Log.d("test","2 1 ="+i); - } else if (e.getY()> 1130f && e.getY() < 1350f) { - this.GC.tab[2][2] = i; - Log.d("test","2 2 ="+i); - } - } - /* - for(int j = 0; j < this.GC.tab.length; j++) { - for(int k = 0; k < this.GC.tab.length; k++) { - Log.d("test",j+","+k+"="+this.GC.tab[j][k]); - } - }*/ - } -} diff --git a/DEV4.5/Grille/app/src/main/java/com/example/grille/MainActivity.java b/DEV4.5/Grille/app/src/main/java/com/example/grille/MainActivity.java deleted file mode 100644 index b8ea588..0000000 --- a/DEV4.5/Grille/app/src/main/java/com/example/grille/MainActivity.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.example.grille; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - - Grille G = findViewById(R.id.grille); - - GrilleControlleur GC = new GrilleControlleur(); - evenement e = new evenement(GC); - G.setListener(e.listener); - G.setOnTouchListener(e); - G.setControlleur(GC); - } -} \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/java/com/example/grille/evenement.java b/DEV4.5/Grille/app/src/main/java/com/example/grille/evenement.java deleted file mode 100644 index 736e978..0000000 --- a/DEV4.5/Grille/app/src/main/java/com/example/grille/evenement.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.grille; - -import android.util.Log; -import android.view.GestureDetector; -import android.view.MotionEvent; -import android.view.View; - -public class evenement implements View.OnTouchListener { - - private GestureDetector gestureDetector; - public GrilleListener listener; - - public evenement(GrilleControlleur GC) { - this.listener = new GrilleListener(GC); - gestureDetector = new GestureDetector(this.listener); - } - - @Override - public boolean onTouch(View v, MotionEvent event) { - this.listener.setView(v); - return gestureDetector.onTouchEvent(event); - } -} \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/Grille/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/Grille/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/Grille/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/Grille/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/Grille/app/src/main/res/layout/activity_main.xml b/DEV4.5/Grille/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index a99b253..0000000 --- a/DEV4.5/Grille/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/black" - tools:context=".MainActivity"> - - <com.example.grille.Grille - android:id="@+id/grille" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - -</RelativeLayout> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/Grille/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Grille/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/Grille/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Grille/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/Grille/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/Grille/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/Grille/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/Grille/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/Grille/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/Grille/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/Grille/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/Grille/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/Grille/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/Grille/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/Grille/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Grille/app/src/main/res/values-night/themes.xml b/DEV4.5/Grille/app/src/main/res/values-night/themes.xml deleted file mode 100644 index b2a6667..0000000 --- a/DEV4.5/Grille/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Grille" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/values/colors.xml b/DEV4.5/Grille/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/Grille/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/values/strings.xml b/DEV4.5/Grille/app/src/main/res/values/strings.xml deleted file mode 100644 index 9ab4ae6..0000000 --- a/DEV4.5/Grille/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Grille</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/values/themes.xml b/DEV4.5/Grille/app/src/main/res/values/themes.xml deleted file mode 100644 index f705a51..0000000 --- a/DEV4.5/Grille/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Grille" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Grille" parent="Base.Theme.Grille" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/xml/backup_rules.xml b/DEV4.5/Grille/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/Grille/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/Grille/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/Grille/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/Grille/app/src/test/java/com/example/grille/ExampleUnitTest.java b/DEV4.5/Grille/app/src/test/java/com/example/grille/ExampleUnitTest.java deleted file mode 100644 index b2d8ea3..0000000 --- a/DEV4.5/Grille/app/src/test/java/com/example/grille/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.grille; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/Grille/build.gradle.kts b/DEV4.5/Grille/build.gradle.kts deleted file mode 100644 index 196e647..0000000 --- a/DEV4.5/Grille/build.gradle.kts +++ /dev/null @@ -1,4 +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.2.2" apply false -} \ No newline at end of file diff --git a/DEV4.5/Grille/gradle.properties b/DEV4.5/Grille/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/Grille/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/Grille/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Grille/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/Grille/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/Grille/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Grille/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 14ce51c..0000000 --- a/DEV4.5/Grille/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Sat Mar 02 09:59:03 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/Grille/gradlew b/DEV4.5/Grille/gradlew deleted file mode 100644 index 4f906e0..0000000 --- a/DEV4.5/Grille/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/Grille/gradlew.bat b/DEV4.5/Grille/gradlew.bat deleted file mode 100644 index 107acd3..0000000 --- a/DEV4.5/Grille/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/Grille/settings.gradle.kts b/DEV4.5/Grille/settings.gradle.kts deleted file mode 100644 index 70e1cb3..0000000 --- a/DEV4.5/Grille/settings.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} - -rootProject.name = "Grille" -include(":app") - \ No newline at end of file diff --git a/DEV4.5/Pois/.gitignore b/DEV4.5/Pois/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/Pois/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/Pois/.idea/.gitignore b/DEV4.5/Pois/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/Pois/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/Pois/.idea/compiler.xml b/DEV4.5/Pois/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/Pois/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Pois/.idea/deploymentTargetDropDown.xml b/DEV4.5/Pois/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 9ac4cf3..0000000 --- a/DEV4.5/Pois/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State> - <targetSelectedWithDropDown> - <Target> - <type value="QUICK_BOOT_TARGET" /> - <deviceKey> - <Key> - <type value="VIRTUAL_DEVICE_PATH" /> - <value value="C:\Users\simon\.android\avd\Pixel_3a_API_34_extension_level_7_x86_64.avd" /> - </Key> - </deviceKey> - </Target> - </targetSelectedWithDropDown> - <timeTargetWasSelectedWithDropDown value="2024-03-02T10:11:51.513159Z" /> - </State> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Pois/.idea/gradle.xml b/DEV4.5/Pois/.idea/gradle.xml deleted file mode 100644 index 0897082..0000000 --- a/DEV4.5/Pois/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Pois/.idea/migrations.xml b/DEV4.5/Pois/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/Pois/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Pois/.idea/misc.xml b/DEV4.5/Pois/.idea/misc.xml deleted file mode 100644 index 8978d23..0000000 --- a/DEV4.5/Pois/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Pois/.idea/vcs.xml b/DEV4.5/Pois/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/Pois/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Pois/app/.gitignore b/DEV4.5/Pois/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/Pois/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/Pois/app/build.gradle.kts b/DEV4.5/Pois/app/build.gradle.kts deleted file mode 100644 index a19c7cd..0000000 --- a/DEV4.5/Pois/app/build.gradle.kts +++ /dev/null @@ -1,39 +0,0 @@ -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/Pois/app/proguard-rules.pro b/DEV4.5/Pois/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/Pois/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/androidTest/java/com/example/pois/ExampleInstrumentedTest.java b/DEV4.5/Pois/app/src/androidTest/java/com/example/pois/ExampleInstrumentedTest.java deleted file mode 100644 index 8b7179a..0000000 --- a/DEV4.5/Pois/app/src/androidTest/java/com/example/pois/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.pois; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.pois", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/AndroidManifest.xml b/DEV4.5/Pois/app/src/main/AndroidManifest.xml deleted file mode 100644 index 2a9e2eb..0000000 --- a/DEV4.5/Pois/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Pois" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/java/com/example/pois/MainActivity.java b/DEV4.5/Pois/app/src/main/java/com/example/pois/MainActivity.java deleted file mode 100644 index b39a1fc..0000000 --- a/DEV4.5/Pois/app/src/main/java/com/example/pois/MainActivity.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.example.pois; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - Pois p = findViewById(R.id.pois); - PoisListener PL = new PoisListener(); - p.setOnTouchListener(PL); - p.PL = PL; - } -} \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/java/com/example/pois/Pointeur.java b/DEV4.5/Pois/app/src/main/java/com/example/pois/Pointeur.java deleted file mode 100644 index a0aa1f0..0000000 --- a/DEV4.5/Pois/app/src/main/java/com/example/pois/Pointeur.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.example.pois; - -import android.graphics.Color; -import android.graphics.Paint; -import android.view.MotionEvent; - -public class Pointeur { - - Paint p; - MotionEvent e; - Integer id; - - public Pointeur(MotionEvent e, Integer id) { - Paint pTemp = new Paint(); - pTemp.setColor(getRandomColor()); - pTemp.setStyle(Paint.Style.FILL); - this.p = pTemp; - this.e = e; - this.id = id; - } - private int getRandomColor() { - return Color.rgb((int) (Math.random() * 255), (int) (Math.random() * 255), (int) (Math.random() * 255)); - } -} - diff --git a/DEV4.5/Pois/app/src/main/java/com/example/pois/Pois.java b/DEV4.5/Pois/app/src/main/java/com/example/pois/Pois.java deleted file mode 100644 index 3b601a6..0000000 --- a/DEV4.5/Pois/app/src/main/java/com/example/pois/Pois.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.example.pois; - -import android.content.Context; -import android.graphics.Canvas; -import android.util.AttributeSet; -import android.view.View; - -public class Pois extends View { - - - public PoisListener PL; - - public Pois(Context context, AttributeSet attrs) { - super(context,attrs); - } - - - @Override - protected void onDraw(Canvas c){ - super.onDraw(c); - for(Pointeur point : PL.p.values()) { - c.drawCircle( PL.getX(point), PL.getY(point), 50, point.p); - } - } - - - -} diff --git a/DEV4.5/Pois/app/src/main/java/com/example/pois/PoisListener.java b/DEV4.5/Pois/app/src/main/java/com/example/pois/PoisListener.java deleted file mode 100644 index 3be6a11..0000000 --- a/DEV4.5/Pois/app/src/main/java/com/example/pois/PoisListener.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.example.pois; - -import android.graphics.Color; -import android.graphics.Paint; -import android.view.MotionEvent; -import android.view.View; -import android.view.View.OnTouchListener; - -import java.util.ArrayList; -import java.util.HashMap; - -public class PoisListener implements OnTouchListener { - - public HashMap<Integer , Pointeur> 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/Pois/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/Pois/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/Pois/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/Pois/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/Pois/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> 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 deleted file mode 100644 index 6caea1f..0000000 --- a/DEV4.5/Pois/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/black" - tools:context=".MainActivity"> - - <com.example.pois.Pois - android:id="@+id/pois" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - -</RelativeLayout> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Pois/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 deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Pois/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/Pois/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Pois/app/src/main/res/values-night/themes.xml b/DEV4.5/Pois/app/src/main/res/values-night/themes.xml deleted file mode 100644 index a363c1f..0000000 --- a/DEV4.5/Pois/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Pois" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/values/colors.xml b/DEV4.5/Pois/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/Pois/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/values/strings.xml b/DEV4.5/Pois/app/src/main/res/values/strings.xml deleted file mode 100644 index 928fcc6..0000000 --- a/DEV4.5/Pois/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Pois</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/values/themes.xml b/DEV4.5/Pois/app/src/main/res/values/themes.xml deleted file mode 100644 index 5f9d4e3..0000000 --- a/DEV4.5/Pois/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Pois" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Pois" parent="Base.Theme.Pois" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/xml/backup_rules.xml b/DEV4.5/Pois/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/Pois/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/Pois/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/Pois/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/Pois/app/src/test/java/com/example/pois/ExampleUnitTest.java b/DEV4.5/Pois/app/src/test/java/com/example/pois/ExampleUnitTest.java deleted file mode 100644 index f2d98eb..0000000 --- a/DEV4.5/Pois/app/src/test/java/com/example/pois/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.pois; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/Pois/build.gradle.kts b/DEV4.5/Pois/build.gradle.kts deleted file mode 100644 index 196e647..0000000 --- a/DEV4.5/Pois/build.gradle.kts +++ /dev/null @@ -1,4 +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.2.2" apply false -} \ No newline at end of file diff --git a/DEV4.5/Pois/gradle.properties b/DEV4.5/Pois/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/Pois/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index dac350a..0000000 --- a/DEV4.5/Pois/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Feb 29 11:25:04 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/Pois/gradlew b/DEV4.5/Pois/gradlew deleted file mode 100644 index 4f906e0..0000000 --- a/DEV4.5/Pois/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/Pois/gradlew.bat b/DEV4.5/Pois/gradlew.bat deleted file mode 100644 index 107acd3..0000000 --- a/DEV4.5/Pois/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/Pois/settings.gradle.kts b/DEV4.5/Pois/settings.gradle.kts deleted file mode 100644 index 99feb57..0000000 --- a/DEV4.5/Pois/settings.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} - -rootProject.name = "Pois" -include(":app") - \ No newline at end of file diff --git a/DEV4.5/Reticule/.gitignore b/DEV4.5/Reticule/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/Reticule/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/Reticule/.idea/.gitignore b/DEV4.5/Reticule/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/Reticule/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/Reticule/.idea/.name b/DEV4.5/Reticule/.idea/.name deleted file mode 100644 index 1319b83..0000000 --- a/DEV4.5/Reticule/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -reticule \ No newline at end of file diff --git a/DEV4.5/Reticule/.idea/compiler.xml b/DEV4.5/Reticule/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/Reticule/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Reticule/.idea/deploymentTargetDropDown.xml b/DEV4.5/Reticule/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/Reticule/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Reticule/.idea/gradle.xml b/DEV4.5/Reticule/.idea/gradle.xml deleted file mode 100644 index 32522c1..0000000 --- a/DEV4.5/Reticule/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Reticule/.idea/migrations.xml b/DEV4.5/Reticule/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/Reticule/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Reticule/.idea/misc.xml b/DEV4.5/Reticule/.idea/misc.xml deleted file mode 100644 index 0ad17cb..0000000 --- a/DEV4.5/Reticule/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Reticule/.idea/vcs.xml b/DEV4.5/Reticule/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/Reticule/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/.gitignore b/DEV4.5/Reticule/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/Reticule/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/Reticule/app/build.gradle.kts b/DEV4.5/Reticule/app/build.gradle.kts deleted file mode 100644 index db60226..0000000 --- a/DEV4.5/Reticule/app/build.gradle.kts +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - alias(libs.plugins.androidApplication) -} - -android { - namespace = "fr.iutfbleau.but2.reticule" - compileSdk = 34 - - defaultConfig { - applicationId = "fr.iutfbleau.but2.reticule" - 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(libs.appcompat) - implementation(libs.material) - implementation(libs.activity) - implementation(libs.constraintlayout) - testImplementation(libs.junit) - androidTestImplementation(libs.ext.junit) - androidTestImplementation(libs.espresso.core) -} \ No newline at end of file diff --git a/DEV4.5/Reticule/app/proguard-rules.pro b/DEV4.5/Reticule/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/Reticule/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/androidTest/java/fr/iutfbleau/but2/reticule/ExampleInstrumentedTest.java b/DEV4.5/Reticule/app/src/androidTest/java/fr/iutfbleau/but2/reticule/ExampleInstrumentedTest.java deleted file mode 100644 index 42a9f6a..0000000 --- a/DEV4.5/Reticule/app/src/androidTest/java/fr/iutfbleau/but2/reticule/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("fr.iutfbleau.but2.reticule", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/AndroidManifest.xml b/DEV4.5/Reticule/app/src/main/AndroidManifest.xml deleted file mode 100644 index 5e5eeab..0000000 --- a/DEV4.5/Reticule/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Reticule" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/MainActivity.java b/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/MainActivity.java deleted file mode 100644 index 85bbbee..0000000 --- a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/MainActivity.java +++ /dev/null @@ -1,49 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -import android.os.Bundle; - -import androidx.activity.EdgeToEdge; -import androidx.appcompat.app.AppCompatActivity; -import androidx.core.graphics.Insets; -import androidx.core.view.ViewCompat; -import androidx.core.view.WindowInsetsCompat; - -public class MainActivity extends AppCompatActivity { - private static final String RETICULE_POSITION_KEY_X = "reticule_position_X"; - private static final String RETICULE_POSITION_KEY_Y = "reticule_position_Y"; - private float reticulePositionX = 0; - private float reticulePositionY = 0; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - - - - Reticule Ret = findViewById(R.id.reticule); - - ReticuleController RC; - if (savedInstanceState != null) { - reticulePositionX = savedInstanceState.getFloat(RETICULE_POSITION_KEY_X, 0); - reticulePositionY = savedInstanceState.getFloat(RETICULE_POSITION_KEY_Y, 0); - RC = new ReticuleController(reticulePositionX,reticulePositionY); - } - else { - RC = new ReticuleController(); - } - - event e = new event(RC,this); - Ret.setRL(e.listener); - Ret.setRC(RC); - Ret.setOnTouchListener(e); - - - } - - protected void onSaveInstanceState(Bundle outState) { - - outState.putFloat(RETICULE_POSITION_KEY_X, reticulePositionX); - outState.putFloat(RETICULE_POSITION_KEY_Y, reticulePositionY); - super.onSaveInstanceState(outState); - } -} \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/Reticule.java b/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/Reticule.java deleted file mode 100644 index 1285e95..0000000 --- a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/Reticule.java +++ /dev/null @@ -1,40 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Color; -import android.graphics.Paint; -import android.util.AttributeSet; -import android.view.View; - -import androidx.annotation.Nullable; - -public class Reticule extends View { - - ReticuleController RC; - - ReticuleListener RL; - - public void setRC(ReticuleController RC) { - this.RC = RC; - } - - public void setRL(ReticuleListener RL) { - this.RL = RL; - } - - public Reticule(Context context, AttributeSet attrs) { - super(context, attrs); - } - - @Override - protected void onDraw(Canvas c){ - super.onDraw(c); - Paint p = new Paint(); - p.setColor(Color.YELLOW); - p.setStyle(Paint.Style.STROKE); - c.drawCircle(RC.x,RC.y,40,p); - c.drawLine(RC.x-40,RC.y,RC.x+40,RC.y,p); - c.drawLine(RC.x,RC.y-40,RC.x,RC.y+40,p); - } -} diff --git a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/ReticuleController.java b/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/ReticuleController.java deleted file mode 100644 index 9854952..0000000 --- a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/ReticuleController.java +++ /dev/null @@ -1,14 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -public class ReticuleController { - float x,y; - - public ReticuleController(){ - this.x = 0; - this.y = 0; - } - public ReticuleController(float x, float y){ - this.x = x; - this.y = y; - } -} diff --git a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/ReticuleListener.java b/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/ReticuleListener.java deleted file mode 100644 index d502722..0000000 --- a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/ReticuleListener.java +++ /dev/null @@ -1,94 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -import android.content.Context; -import android.util.DisplayMetrics; -import android.util.Log; -import android.view.View; -import android.view.GestureDetector; -import android.view.MotionEvent; - -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; - -public class ReticuleListener extends GestureDetector.SimpleOnGestureListener { - - private ReticuleController RC; - private View v; - private Context c; - - public ReticuleListener(ReticuleController RC, Context c){ - super(); - this.c = c; - this.RC = RC; - } - - void setView(View v){ - this.v = v; - } - - @Override - public boolean onDown(@NonNull MotionEvent e) { return true; } - - @Override - public void onShowPress(@NonNull MotionEvent e) {} - - @Override - public boolean onSingleTapUp(@NonNull MotionEvent e) { return false; } - - @Override - public boolean onScroll(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float distanceX, float distanceY) { return false; } - - @Override - public void onLongPress(@NonNull MotionEvent e) { - } - - @Override - public boolean onFling(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float velocityX, float velocityY) { - float distanceX = e2.getX() - e1.getX(); - float distanceY = e2.getY() - e1.getY(); - - float distanceXdp = pxToDp(distanceX); - float distanceYdp = pxToDp(distanceY); - Log.d("test","X = " + distanceX + "dx = " + distanceXdp + ";Y = " + distanceY + "dy = " + distanceYdp ); - - if (Math.abs(distanceXdp) > 20 && Math.abs(distanceXdp)>(Math.abs(distanceYdp))) { - if (distanceXdp>0){ - RC.x += dpToPx(20); - } - else { - RC.x -= dpToPx(20); - } - } else if (Math.abs(distanceYdp) > 20 && Math.abs(distanceXdp)<(Math.abs(distanceYdp))) { - if (distanceYdp>0){ - RC.y += dpToPx(20); - } - else { - RC.y -= dpToPx(20); - } - } - v.invalidate(); - Log.d("test","Fling"); - return true; - } - - @Override - public boolean onSingleTapConfirmed(@NonNull MotionEvent e) { - return false; - } - - @Override - public boolean onDoubleTap(@NonNull MotionEvent e) { return false; } - - @Override - public boolean onDoubleTapEvent(@NonNull MotionEvent e) { - return false; - } - - private float pxToDp(float px) { - return px / c.getResources().getDisplayMetrics().density; - } - public int dpToPx(float dp) { - return Math.round(dp * (c.getResources().getDisplayMetrics().xdpi / DisplayMetrics.DENSITY_DEFAULT)); - } - -} diff --git a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/event.java b/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/event.java deleted file mode 100644 index 303d348..0000000 --- a/DEV4.5/Reticule/app/src/main/java/fr/iutfbleau/but2/reticule/event.java +++ /dev/null @@ -1,23 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -import android.content.Context; -import android.view.GestureDetector; -import android.view.MotionEvent; -import android.view.View; - -public class event implements View.OnTouchListener { - - private GestureDetector gestureDetector; - public ReticuleListener listener; - - public event(ReticuleController RC, Context c) { - this.listener = new ReticuleListener(RC,c); - gestureDetector = new GestureDetector(this.listener); - } - - @Override - public boolean onTouch(View v, MotionEvent event) { - this.listener.setView(v); - return gestureDetector.onTouchEvent(event); - } -} diff --git a/DEV4.5/Reticule/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/Reticule/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/Reticule/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/Reticule/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/Reticule/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/Reticule/app/src/main/res/layout/activity_main.xml b/DEV4.5/Reticule/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 22d40c7..0000000 --- a/DEV4.5/Reticule/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/main" - android:layout_width="match_parent" - android:layout_height="match_parent" - tools:context=".MainActivity" - android:background="@color/black"> - - <fr.iutfbleau.but2.reticule.Reticule - android:id="@+id/reticule" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/Reticule/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Reticule/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/Reticule/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/Reticule/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/Reticule/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/Reticule/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/Reticule/app/src/main/res/values-night/themes.xml b/DEV4.5/Reticule/app/src/main/res/values-night/themes.xml deleted file mode 100644 index dd0adf3..0000000 --- a/DEV4.5/Reticule/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Reticule" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/values/colors.xml b/DEV4.5/Reticule/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/Reticule/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/values/strings.xml b/DEV4.5/Reticule/app/src/main/res/values/strings.xml deleted file mode 100644 index cb943c0..0000000 --- a/DEV4.5/Reticule/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">reticule</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/values/themes.xml b/DEV4.5/Reticule/app/src/main/res/values/themes.xml deleted file mode 100644 index e55cc1f..0000000 --- a/DEV4.5/Reticule/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Reticule" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Reticule" parent="Base.Theme.Reticule" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/xml/backup_rules.xml b/DEV4.5/Reticule/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/Reticule/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/Reticule/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/Reticule/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/Reticule/app/src/test/java/fr/iutfbleau/but2/reticule/ExampleUnitTest.java b/DEV4.5/Reticule/app/src/test/java/fr/iutfbleau/but2/reticule/ExampleUnitTest.java deleted file mode 100644 index 2faf6d3..0000000 --- a/DEV4.5/Reticule/app/src/test/java/fr/iutfbleau/but2/reticule/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package fr.iutfbleau.but2.reticule; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/Reticule/build.gradle.kts b/DEV4.5/Reticule/build.gradle.kts deleted file mode 100644 index 2bbd2a9..0000000 --- a/DEV4.5/Reticule/build.gradle.kts +++ /dev/null @@ -1,4 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -plugins { - alias(libs.plugins.androidApplication) apply false -} \ No newline at end of file diff --git a/DEV4.5/Reticule/gradle.properties b/DEV4.5/Reticule/gradle.properties deleted file mode 100644 index 4387edc..0000000 --- a/DEV4.5/Reticule/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. For more details, visit -# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/Reticule/gradle/libs.versions.toml b/DEV4.5/Reticule/gradle/libs.versions.toml deleted file mode 100644 index 4c0cc21..0000000 --- a/DEV4.5/Reticule/gradle/libs.versions.toml +++ /dev/null @@ -1,22 +0,0 @@ -[versions] -agp = "8.3.0" -junit = "4.13.2" -junitVersion = "1.1.5" -espressoCore = "3.5.1" -appcompat = "1.6.1" -material = "1.11.0" -activity = "1.8.0" -constraintlayout = "2.1.4" - -[libraries] -junit = { group = "junit", name = "junit", version.ref = "junit" } -ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } -espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } -appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } -material = { group = "com.google.android.material", name = "material", version.ref = "material" } -activity = { group = "androidx.activity", name = "activity", version.ref = "activity" } -constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" } - -[plugins] -androidApplication = { id = "com.android.application", version.ref = "agp" } - diff --git a/DEV4.5/Reticule/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/Reticule/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/Reticule/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/Reticule/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/Reticule/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 85b9933..0000000 --- a/DEV4.5/Reticule/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Mar 14 10:32:03 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/Reticule/gradlew b/DEV4.5/Reticule/gradlew deleted file mode 100644 index 4f906e0..0000000 --- a/DEV4.5/Reticule/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/Reticule/gradlew.bat b/DEV4.5/Reticule/gradlew.bat deleted file mode 100644 index 107acd3..0000000 --- a/DEV4.5/Reticule/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/Reticule/settings.gradle.kts b/DEV4.5/Reticule/settings.gradle.kts deleted file mode 100644 index b5963d4..0000000 --- a/DEV4.5/Reticule/settings.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -pluginManagement { - repositories { - google { - content { - includeGroupByRegex("com\\.android.*") - includeGroupByRegex("com\\.google.*") - includeGroupByRegex("androidx.*") - } - } - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} - -rootProject.name = "reticule" -include(":app") - \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/.gitignore b/DEV4.5/TrainEXAM/Ombrage/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/.gitignore b/DEV4.5/TrainEXAM/Ombrage/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/compiler.xml b/DEV4.5/TrainEXAM/Ombrage/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/deploymentTargetDropDown.xml b/DEV4.5/TrainEXAM/Ombrage/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/gradle.xml b/DEV4.5/TrainEXAM/Ombrage/.idea/gradle.xml deleted file mode 100644 index 32522c1..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/migrations.xml b/DEV4.5/TrainEXAM/Ombrage/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/misc.xml b/DEV4.5/TrainEXAM/Ombrage/.idea/misc.xml deleted file mode 100644 index 0ad17cb..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/.idea/vcs.xml b/DEV4.5/TrainEXAM/Ombrage/.idea/vcs.xml deleted file mode 100644 index c2365ab..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/.gitignore b/DEV4.5/TrainEXAM/Ombrage/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/build.gradle.kts b/DEV4.5/TrainEXAM/Ombrage/app/build.gradle.kts deleted file mode 100644 index d5167b2..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/build.gradle.kts +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - alias(libs.plugins.androidApplication) -} - -android { - namespace = "fr.iutfbleau.but2.ombrage" - compileSdk = 34 - - defaultConfig { - applicationId = "fr.iutfbleau.but2.ombrage" - 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(libs.appcompat) - implementation(libs.material) - implementation(libs.activity) - implementation(libs.constraintlayout) - testImplementation(libs.junit) - androidTestImplementation(libs.ext.junit) - androidTestImplementation(libs.espresso.core) -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/proguard-rules.pro b/DEV4.5/TrainEXAM/Ombrage/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/androidTest/java/fr/iutfbleau/but2/ombrage/ExampleInstrumentedTest.java b/DEV4.5/TrainEXAM/Ombrage/app/src/androidTest/java/fr/iutfbleau/but2/ombrage/ExampleInstrumentedTest.java deleted file mode 100644 index cd38bfc..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/androidTest/java/fr/iutfbleau/but2/ombrage/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package fr.iutfbleau.but2.ombrage; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("fr.iutfbleau.but2.ombrage", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/AndroidManifest.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/AndroidManifest.xml deleted file mode 100644 index 8dbac85..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Ombrage" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/java/fr/iutfbleau/but2/ombrage/MainActivity.java b/DEV4.5/TrainEXAM/Ombrage/app/src/main/java/fr/iutfbleau/but2/ombrage/MainActivity.java deleted file mode 100644 index 2ca6e02..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/java/fr/iutfbleau/but2/ombrage/MainActivity.java +++ /dev/null @@ -1,20 +0,0 @@ -package fr.iutfbleau.but2.ombrage; - -import android.os.Bundle; - -import androidx.activity.EdgeToEdge; -import androidx.appcompat.app.AppCompatActivity; -import androidx.core.graphics.Insets; -import androidx.core.view.ViewCompat; -import androidx.core.view.WindowInsetsCompat; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - EdgeToEdge.enable(this); - setContentView(R.layout.activity_main); - - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/java/fr/iutfbleau/but2/ombrage/Polaroid.java b/DEV4.5/TrainEXAM/Ombrage/app/src/main/java/fr/iutfbleau/but2/ombrage/Polaroid.java deleted file mode 100644 index c5351e0..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/java/fr/iutfbleau/but2/ombrage/Polaroid.java +++ /dev/null @@ -1,55 +0,0 @@ -package fr.iutfbleau.but2.ombrage; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Color; -import android.graphics.Paint; -import android.util.AttributeSet; -import android.util.Log; -import android.view.View; - -public class Polaroid extends View { - private Paint innerPaint; - private int backgroundColor; - private int paddingTop; - private int paddingLeft; - private int paddingRight; - private int paddingBottom; - - public Polaroid(Context context) { - super(context); - init(); - } - - public Polaroid(Context context, AttributeSet attrs) { - super(context, attrs); - init(); - extractAttributes(context, attrs); - } - - public Polaroid(Context context, AttributeSet attrs, int defStyleAttr) { - super(context, attrs, defStyleAttr); - init(); - extractAttributes(context, attrs); - } - - private void init() { - innerPaint = new Paint(); - innerPaint.setColor(Color.parseColor("#CC646464")); // #646464 pour le gris et CC au debut pour la transparence (ici 80%) - innerPaint.setStyle(Paint.Style.FILL); - } - - private void extractAttributes(Context context, AttributeSet attrs) { - backgroundColor = attrs.getAttributeResourceValue("http://schemas.android.com/apk/res/android", "background", Color.TRANSPARENT); - paddingTop = getPaddingTop(); - paddingBottom = getPaddingBottom(); - paddingRight = getPaddingRight(); - paddingLeft = getPaddingLeft(); - } - - @Override - protected void onDraw(Canvas canvas) { - super.onDraw(canvas); - canvas.drawRect(paddingLeft, paddingTop, getWidth() - paddingRight, getHeight() - paddingBottom, innerPaint); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/layout/activity_main.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index a2eb861..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,6 +0,0 @@ -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/background_dark" android:gravity="top|center_horizontal" android:paddingTop="50dp" tools:context=".MainActivity"> - <fr.iutfbleau.but2.ombrage.Polaroid android:layout_width="80dp" android:layout_height="80dp" android:layout_margin="10dp" android:paddingTop="10dp" android:paddingRight="10dp" android:paddingBottom="30dp" android:paddingLeft="10dp" android:background="@android:color/holo_purple"/> - <fr.iutfbleau.but2.ombrage.Polaroid android:layout_width="100dp" android:layout_height="100dp" android:layout_margin="10dp" android:paddingTop="10dp" android:paddingRight="10dp" android:paddingBottom="10dp" android:paddingLeft="30dp" android:background="@android:color/holo_green_light"/> - <fr.iutfbleau.but2.ombrage.Polaroid android:layout_width="120dp" android:layout_height="120dp" android:layout_margin="10dp" android:paddingTop="30dp" android:paddingRight="10dp" android:paddingBottom="10dp" android:paddingLeft="10dp" android:background="@android:color/holo_orange_light"/> - <fr.iutfbleau.but2.ombrage.Polaroid android:layout_width="140dp" android:layout_height="140dp" android:layout_margin="10dp" android:paddingTop="10dp" android:paddingRight="30dp" android:paddingBottom="10dp" android:paddingLeft="10dp" android:background="@android:color/holo_blue_bright"/> -</LinearLayout> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values-night/themes.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 2f551c9..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Ombrage" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/colors.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/strings.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/strings.xml deleted file mode 100644 index 637862d..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Ombrage</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/themes.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/themes.xml deleted file mode 100644 index e6871b1..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Ombrage" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Ombrage" parent="Base.Theme.Ombrage" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/xml/backup_rules.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/app/src/test/java/fr/iutfbleau/but2/ombrage/ExampleUnitTest.java b/DEV4.5/TrainEXAM/Ombrage/app/src/test/java/fr/iutfbleau/but2/ombrage/ExampleUnitTest.java deleted file mode 100644 index 59b9287..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/app/src/test/java/fr/iutfbleau/but2/ombrage/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package fr.iutfbleau.but2.ombrage; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/build.gradle.kts b/DEV4.5/TrainEXAM/Ombrage/build.gradle.kts deleted file mode 100644 index 2bbd2a9..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/build.gradle.kts +++ /dev/null @@ -1,4 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -plugins { - alias(libs.plugins.androidApplication) apply false -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/gradle.properties b/DEV4.5/TrainEXAM/Ombrage/gradle.properties deleted file mode 100644 index 4387edc..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. For more details, visit -# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Ombrage/gradle/libs.versions.toml b/DEV4.5/TrainEXAM/Ombrage/gradle/libs.versions.toml deleted file mode 100644 index 4c0cc21..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/gradle/libs.versions.toml +++ /dev/null @@ -1,22 +0,0 @@ -[versions] -agp = "8.3.0" -junit = "4.13.2" -junitVersion = "1.1.5" -espressoCore = "3.5.1" -appcompat = "1.6.1" -material = "1.11.0" -activity = "1.8.0" -constraintlayout = "2.1.4" - -[libraries] -junit = { group = "junit", name = "junit", version.ref = "junit" } -ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } -espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } -appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } -material = { group = "com.google.android.material", name = "material", version.ref = "material" } -activity = { group = "androidx.activity", name = "activity", version.ref = "activity" } -constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" } - -[plugins] -androidApplication = { id = "com.android.application", version.ref = "agp" } - diff --git a/DEV4.5/TrainEXAM/Ombrage/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/TrainEXAM/Ombrage/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/TrainEXAM/Ombrage/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Ombrage/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/TrainEXAM/Ombrage/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 9663aa0..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Mon Mar 25 22:40:05 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/TrainEXAM/Ombrage/gradlew b/DEV4.5/TrainEXAM/Ombrage/gradlew deleted file mode 100644 index 4f906e0..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/TrainEXAM/Ombrage/gradlew.bat b/DEV4.5/TrainEXAM/Ombrage/gradlew.bat deleted file mode 100644 index 107acd3..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/TrainEXAM/Ombrage/settings.gradle.kts b/DEV4.5/TrainEXAM/Ombrage/settings.gradle.kts deleted file mode 100644 index e499252..0000000 --- a/DEV4.5/TrainEXAM/Ombrage/settings.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -pluginManagement { - repositories { - google { - content { - includeGroupByRegex("com\\.android.*") - includeGroupByRegex("com\\.google.*") - includeGroupByRegex("androidx.*") - } - } - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} - -rootProject.name = "Ombrage" -include(":app") - \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/.gitignore b/DEV4.5/TrainEXAM/Tabulation/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/.gitignore b/DEV4.5/TrainEXAM/Tabulation/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/compiler.xml b/DEV4.5/TrainEXAM/Tabulation/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/deploymentTargetDropDown.xml b/DEV4.5/TrainEXAM/Tabulation/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/gradle.xml b/DEV4.5/TrainEXAM/Tabulation/.idea/gradle.xml deleted file mode 100644 index 32522c1..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/migrations.xml b/DEV4.5/TrainEXAM/Tabulation/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/misc.xml b/DEV4.5/TrainEXAM/Tabulation/.idea/misc.xml deleted file mode 100644 index 0ad17cb..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/.idea/vcs.xml b/DEV4.5/TrainEXAM/Tabulation/.idea/vcs.xml deleted file mode 100644 index c2365ab..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/.gitignore b/DEV4.5/TrainEXAM/Tabulation/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/build.gradle.kts b/DEV4.5/TrainEXAM/Tabulation/app/build.gradle.kts deleted file mode 100644 index 063d8be..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/build.gradle.kts +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - alias(libs.plugins.androidApplication) -} - -android { - namespace = "fr.iutfbleau.but2.tabulation" - compileSdk = 34 - - defaultConfig { - applicationId = "fr.iutfbleau.but2.tabulation" - 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(libs.appcompat) - implementation(libs.material) - implementation(libs.activity) - implementation(libs.constraintlayout) - testImplementation(libs.junit) - androidTestImplementation(libs.ext.junit) - androidTestImplementation(libs.espresso.core) -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/proguard-rules.pro b/DEV4.5/TrainEXAM/Tabulation/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/androidTest/java/fr/iutfbleau/but2/tabulation/ExampleInstrumentedTest.java b/DEV4.5/TrainEXAM/Tabulation/app/src/androidTest/java/fr/iutfbleau/but2/tabulation/ExampleInstrumentedTest.java deleted file mode 100644 index 91bf11a..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/androidTest/java/fr/iutfbleau/but2/tabulation/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package fr.iutfbleau.but2.tabulation; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("fr.iutfbleau.but2.tabulation", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/AndroidManifest.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/AndroidManifest.xml deleted file mode 100644 index f6240dd..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Tabulation" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/java/fr/iutfbleau/but2/tabulation/MainActivity.java b/DEV4.5/TrainEXAM/Tabulation/app/src/main/java/fr/iutfbleau/but2/tabulation/MainActivity.java deleted file mode 100644 index 121593f..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/java/fr/iutfbleau/but2/tabulation/MainActivity.java +++ /dev/null @@ -1,24 +0,0 @@ -package fr.iutfbleau.but2.tabulation; - -import android.os.Bundle; - -import androidx.activity.EdgeToEdge; -import androidx.appcompat.app.AppCompatActivity; -import androidx.core.graphics.Insets; -import androidx.core.view.ViewCompat; -import androidx.core.view.WindowInsetsCompat; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - EdgeToEdge.enable(this); - setContentView(R.layout.activity_main); - ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { - Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); - v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); - return insets; - }); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/layout/activity_main.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 9012021..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<TableLayout -xmlns:android="http://schemas.android.com/apk/res/android" -android:layout_width="match_parent" -android:layout_height="match_parent" -android:paddingTop="20dp" -android:paddingLeft="20dp" -android:paddingRight="20dp" -android:background="@color/black"> - <TableRow - android:layout_marginBottom="20dp"> - <View - android:layout_height="50dp" - android:layout_width="75dp" - android:layout_marginEnd="20dp" - android:background="#FF8800" - android:layout_weight="1"> </View> - <TableLayout - android:layout_weight="10"> - <TableRow> - <View - android:layout_weight="1" - android:layout_height="50dp" - android:layout_width="30dp" - android:layout_marginEnd="20dp" - android:background="#CC0000"> </View> - <View - android:layout_weight="10" - android:layout_height="50dp" - android:layout_width="75dp" - android:background="#FF8800"> </View> - </TableRow> - </TableLayout> - - </TableRow> - <TableRow> - <View - android:layout_weight="1" - android:layout_height="50dp" - android:layout_width="30dp" - android:layout_marginEnd="20dp" - android:background="#CC0000"> </View> - <View - android:layout_weight="10" - android:layout_height="50dp" - android:layout_width="75dp" - android:background="#FF8800"> </View> - </TableRow> - -</TableLayout> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values-night/themes.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 7db752d..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Tabulation" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/colors.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/strings.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/strings.xml deleted file mode 100644 index b56ba9f..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Tabulation</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/themes.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/themes.xml deleted file mode 100644 index 3590c44..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Tabulation" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Tabulation" parent="Base.Theme.Tabulation" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/xml/backup_rules.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/app/src/test/java/fr/iutfbleau/but2/tabulation/ExampleUnitTest.java b/DEV4.5/TrainEXAM/Tabulation/app/src/test/java/fr/iutfbleau/but2/tabulation/ExampleUnitTest.java deleted file mode 100644 index 1bd9fb8..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/app/src/test/java/fr/iutfbleau/but2/tabulation/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package fr.iutfbleau.but2.tabulation; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/build.gradle.kts b/DEV4.5/TrainEXAM/Tabulation/build.gradle.kts deleted file mode 100644 index 2bbd2a9..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/build.gradle.kts +++ /dev/null @@ -1,4 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -plugins { - alias(libs.plugins.androidApplication) apply false -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/gradle.properties b/DEV4.5/TrainEXAM/Tabulation/gradle.properties deleted file mode 100644 index 4387edc..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. For more details, visit -# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Tabulation/gradle/libs.versions.toml b/DEV4.5/TrainEXAM/Tabulation/gradle/libs.versions.toml deleted file mode 100644 index 4c0cc21..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/gradle/libs.versions.toml +++ /dev/null @@ -1,22 +0,0 @@ -[versions] -agp = "8.3.0" -junit = "4.13.2" -junitVersion = "1.1.5" -espressoCore = "3.5.1" -appcompat = "1.6.1" -material = "1.11.0" -activity = "1.8.0" -constraintlayout = "2.1.4" - -[libraries] -junit = { group = "junit", name = "junit", version.ref = "junit" } -ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } -espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } -appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } -material = { group = "com.google.android.material", name = "material", version.ref = "material" } -activity = { group = "androidx.activity", name = "activity", version.ref = "activity" } -constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" } - -[plugins] -androidApplication = { id = "com.android.application", version.ref = "agp" } - diff --git a/DEV4.5/TrainEXAM/Tabulation/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/TrainEXAM/Tabulation/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/TrainEXAM/Tabulation/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Tabulation/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/TrainEXAM/Tabulation/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index abcdfa8..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Mon Mar 25 21:36:18 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/TrainEXAM/Tabulation/gradlew b/DEV4.5/TrainEXAM/Tabulation/gradlew deleted file mode 100644 index 4f906e0..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/TrainEXAM/Tabulation/gradlew.bat b/DEV4.5/TrainEXAM/Tabulation/gradlew.bat deleted file mode 100644 index 107acd3..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/TrainEXAM/Tabulation/settings.gradle.kts b/DEV4.5/TrainEXAM/Tabulation/settings.gradle.kts deleted file mode 100644 index 40cef50..0000000 --- a/DEV4.5/TrainEXAM/Tabulation/settings.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -pluginManagement { - repositories { - google { - content { - includeGroupByRegex("com\\.android.*") - includeGroupByRegex("com\\.google.*") - includeGroupByRegex("androidx.*") - } - } - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} - -rootProject.name = "Tabulation" -include(":app") - \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/.gitignore b/DEV4.5/TrainEXAM/Teinte/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/.gitignore b/DEV4.5/TrainEXAM/Teinte/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/compiler.xml b/DEV4.5/TrainEXAM/Teinte/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/deploymentTargetDropDown.xml b/DEV4.5/TrainEXAM/Teinte/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/gradle.xml b/DEV4.5/TrainEXAM/Teinte/.idea/gradle.xml deleted file mode 100644 index 32522c1..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/migrations.xml b/DEV4.5/TrainEXAM/Teinte/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/misc.xml b/DEV4.5/TrainEXAM/Teinte/.idea/misc.xml deleted file mode 100644 index 0ad17cb..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/.idea/vcs.xml b/DEV4.5/TrainEXAM/Teinte/.idea/vcs.xml deleted file mode 100644 index c2365ab..0000000 --- a/DEV4.5/TrainEXAM/Teinte/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/.gitignore b/DEV4.5/TrainEXAM/Teinte/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/build.gradle.kts b/DEV4.5/TrainEXAM/Teinte/app/build.gradle.kts deleted file mode 100644 index b4d9740..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/build.gradle.kts +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - alias(libs.plugins.androidApplication) -} - -android { - namespace = "fr.iutfbleau.but2.teinte" - compileSdk = 34 - - defaultConfig { - applicationId = "fr.iutfbleau.but2.teinte" - 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(libs.appcompat) - implementation(libs.material) - implementation(libs.activity) - implementation(libs.constraintlayout) - testImplementation(libs.junit) - androidTestImplementation(libs.ext.junit) - androidTestImplementation(libs.espresso.core) -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/proguard-rules.pro b/DEV4.5/TrainEXAM/Teinte/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/androidTest/java/fr/iutfbleau/but2/teinte/ExampleInstrumentedTest.java b/DEV4.5/TrainEXAM/Teinte/app/src/androidTest/java/fr/iutfbleau/but2/teinte/ExampleInstrumentedTest.java deleted file mode 100644 index ccfcb49..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/androidTest/java/fr/iutfbleau/but2/teinte/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package fr.iutfbleau.but2.teinte; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("fr.iutfbleau.but2.teinte", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/AndroidManifest.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/AndroidManifest.xml deleted file mode 100644 index 7e98f3c..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Teinte" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/java/fr/iutfbleau/but2/teinte/ColorPicker.java b/DEV4.5/TrainEXAM/Teinte/app/src/main/java/fr/iutfbleau/but2/teinte/ColorPicker.java deleted file mode 100644 index 0125db9..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/java/fr/iutfbleau/but2/teinte/ColorPicker.java +++ /dev/null @@ -1,32 +0,0 @@ -package fr.iutfbleau.but2.teinte; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.util.AttributeSet; -import android.view.View; - -public class ColorPicker extends View { - - Paint color; - - public ColorPicker(Context context, AttributeSet attrs) { - super(context, attrs); - init(); - } - - public ColorPicker(Context context, AttributeSet attrs, int defStyleAttr) { - super(context, attrs, defStyleAttr); - init(); - } - - private void init() { - color = new Paint(); - } - - @Override - protected void onDraw(Canvas canvas) { - super.onDraw(canvas); - //canvas.drawRect(0, 0, getWidth(), getHeight(), innerPaint); - } -} diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/java/fr/iutfbleau/but2/teinte/MainActivity.java b/DEV4.5/TrainEXAM/Teinte/app/src/main/java/fr/iutfbleau/but2/teinte/MainActivity.java deleted file mode 100644 index 13c03be..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/java/fr/iutfbleau/but2/teinte/MainActivity.java +++ /dev/null @@ -1,69 +0,0 @@ -package fr.iutfbleau.but2.teinte; - -import android.annotation.SuppressLint; -import android.graphics.Color; -import android.os.Bundle; -import android.text.Editable; -import android.text.TextWatcher; -import android.widget.EditText; -import android.widget.RelativeLayout; -import androidx.appcompat.app.AppCompatActivity; - -public class MainActivity extends AppCompatActivity { - - private EditText editTextRed, editTextGreen, editTextBlue; - private RelativeLayout relativeLayout; - - @SuppressLint("WrongViewCast") - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - - editTextRed = findViewById(R.id.rouge); - editTextGreen = findViewById(R.id.vert); - editTextBlue = findViewById(R.id.bleu); - relativeLayout = findViewById(R.id.couleur); - - editTextRed.addTextChangedListener(textWatcher); - editTextGreen.addTextChangedListener(textWatcher); - editTextBlue.addTextChangedListener(textWatcher); - } - - private TextWatcher textWatcher = new TextWatcher() { - @Override - public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { - } - - @Override - public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { - updateBackgroundColor(); - } - - @Override - public void afterTextChanged(Editable editable) { - } - }; - - private void updateBackgroundColor() { - int red = parseColor(editTextRed.getText().toString()); - int green = parseColor(editTextGreen.getText().toString()); - int blue = parseColor(editTextBlue.getText().toString()); - - if (red != -1 && green != -1 && blue != -1) { - relativeLayout.setBackgroundColor(Color.rgb(red, green, blue)); - } - } - - private int parseColor(String text) { - try { - int value = Integer.parseInt(text); - if (value < 0 || value > 255) { - return -1; - } - return value; - } catch (NumberFormatException e) { - return -1; - } - } -} diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/layout/activity_main.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 62b19eb..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@android:color/background_dark" - android:padding="50dp" - tools:context=".MainActivity" - > - - <View - android:id="@+id/couleur" - android:layout_width="match_parent" - android:layout_height="0dp" - android:background="@android:color/holo_purple" - android:layout_alignParentTop="true" - android:layout_above="@id/vert" - /> - - <EditText - android:id="@+id/rouge" - android:layout_width="75dp" - android:layout_height="wrap_content" - android:text="170" - android:textColor="@android:color/holo_red_dark" - android:textAlignment="center" - android:textSize="16pt" - android:layout_alignParentBottom="true" - android:layout_toLeftOf="@id/vert" - /> - - <EditText - android:id="@+id/vert" - android:layout_width="75dp" - android:layout_height="wrap_content" - android:text="102" - android:textColor="@android:color/holo_green_dark" - android:textAlignment="center" - android:textSize="16pt" - android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true" - /> - - <EditText - android:id="@+id/bleu" - android:layout_width="75dp" - android:layout_height="wrap_content" - android:text="204" - android:textColor="@android:color/holo_blue_dark" - android:textAlignment="center" - android:textSize="16pt" - android:layout_alignParentBottom="true" - android:layout_toRightOf="@id/vert" - /> - -</RelativeLayout> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values-night/themes.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values-night/themes.xml deleted file mode 100644 index e24e251..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Teinte" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/colors.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/strings.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/strings.xml deleted file mode 100644 index c8f5a42..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Teinte</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/themes.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/themes.xml deleted file mode 100644 index 092f8ac..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Teinte" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Teinte" parent="Base.Theme.Teinte" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/xml/backup_rules.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/TrainEXAM/Teinte/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/app/src/test/java/fr/iutfbleau/but2/teinte/ExampleUnitTest.java b/DEV4.5/TrainEXAM/Teinte/app/src/test/java/fr/iutfbleau/but2/teinte/ExampleUnitTest.java deleted file mode 100644 index 95d328b..0000000 --- a/DEV4.5/TrainEXAM/Teinte/app/src/test/java/fr/iutfbleau/but2/teinte/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package fr.iutfbleau.but2.teinte; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/build.gradle.kts b/DEV4.5/TrainEXAM/Teinte/build.gradle.kts deleted file mode 100644 index 2bbd2a9..0000000 --- a/DEV4.5/TrainEXAM/Teinte/build.gradle.kts +++ /dev/null @@ -1,4 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -plugins { - alias(libs.plugins.androidApplication) apply false -} \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/gradle.properties b/DEV4.5/TrainEXAM/Teinte/gradle.properties deleted file mode 100644 index 4387edc..0000000 --- a/DEV4.5/TrainEXAM/Teinte/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. For more details, visit -# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/TrainEXAM/Teinte/gradle/libs.versions.toml b/DEV4.5/TrainEXAM/Teinte/gradle/libs.versions.toml deleted file mode 100644 index 4c0cc21..0000000 --- a/DEV4.5/TrainEXAM/Teinte/gradle/libs.versions.toml +++ /dev/null @@ -1,22 +0,0 @@ -[versions] -agp = "8.3.0" -junit = "4.13.2" -junitVersion = "1.1.5" -espressoCore = "3.5.1" -appcompat = "1.6.1" -material = "1.11.0" -activity = "1.8.0" -constraintlayout = "2.1.4" - -[libraries] -junit = { group = "junit", name = "junit", version.ref = "junit" } -ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } -espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } -appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } -material = { group = "com.google.android.material", name = "material", version.ref = "material" } -activity = { group = "androidx.activity", name = "activity", version.ref = "activity" } -constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" } - -[plugins] -androidApplication = { id = "com.android.application", version.ref = "agp" } - diff --git a/DEV4.5/TrainEXAM/Teinte/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/TrainEXAM/Teinte/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/TrainEXAM/Teinte/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/TrainEXAM/Teinte/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/TrainEXAM/Teinte/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 734d419..0000000 --- a/DEV4.5/TrainEXAM/Teinte/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Tue Mar 26 00:33:47 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/TrainEXAM/Teinte/gradlew b/DEV4.5/TrainEXAM/Teinte/gradlew deleted file mode 100644 index 4f906e0..0000000 --- a/DEV4.5/TrainEXAM/Teinte/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/TrainEXAM/Teinte/gradlew.bat b/DEV4.5/TrainEXAM/Teinte/gradlew.bat deleted file mode 100644 index 107acd3..0000000 --- a/DEV4.5/TrainEXAM/Teinte/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/TrainEXAM/Teinte/settings.gradle.kts b/DEV4.5/TrainEXAM/Teinte/settings.gradle.kts deleted file mode 100644 index 61866a2..0000000 --- a/DEV4.5/TrainEXAM/Teinte/settings.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -pluginManagement { - repositories { - google { - content { - includeGroupByRegex("com\\.android.*") - includeGroupByRegex("com\\.google.*") - includeGroupByRegex("androidx.*") - } - } - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} - -rootProject.name = "Teinte" -include(":app") - \ No newline at end of file diff --git a/DEV4.5/croix/.gitignore b/DEV4.5/croix/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/croix/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/croix/.idea/.gitignore b/DEV4.5/croix/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/croix/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/croix/.idea/compiler.xml b/DEV4.5/croix/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/croix/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/croix/.idea/deploymentTargetDropDown.xml b/DEV4.5/croix/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 0c0c338..0000000 --- a/DEV4.5/croix/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="deploymentTargetDropDown"> - <value> - <entry key="app"> - <State /> - </entry> - </value> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/croix/.idea/gradle.xml b/DEV4.5/croix/.idea/gradle.xml deleted file mode 100644 index 0897082..0000000 --- a/DEV4.5/croix/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleMigrationSettings" migrationVersion="1" /> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - <option name="resolveExternalAnnotations" value="false" /> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/croix/.idea/migrations.xml b/DEV4.5/croix/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/DEV4.5/croix/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectMigrations"> - <option name="MigrateToGradleLocalJavaHome"> - <set> - <option value="$PROJECT_DIR$" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/croix/.idea/misc.xml b/DEV4.5/croix/.idea/misc.xml deleted file mode 100644 index 8978d23..0000000 --- a/DEV4.5/croix/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/croix/.idea/vcs.xml b/DEV4.5/croix/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/DEV4.5/croix/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/croix/app/.gitignore b/DEV4.5/croix/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/croix/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/croix/app/build.gradle b/DEV4.5/croix/app/build.gradle deleted file mode 100644 index cb387a4..0000000 --- a/DEV4.5/croix/app/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -plugins { - id 'com.android.application' -} - -android { - namespace 'com.example.croix' - compileSdk 33 - - defaultConfig { - applicationId "com.example.croix" - minSdk 24 - 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 - } -} - -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/croix/app/proguard-rules.pro b/DEV4.5/croix/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/croix/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/croix/app/src/androidTest/java/com/example/croix/ExampleInstrumentedTest.java b/DEV4.5/croix/app/src/androidTest/java/com/example/croix/ExampleInstrumentedTest.java deleted file mode 100644 index ed91b3c..0000000 --- a/DEV4.5/croix/app/src/androidTest/java/com/example/croix/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.croix; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.croix", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/AndroidManifest.xml b/DEV4.5/croix/app/src/main/AndroidManifest.xml deleted file mode 100644 index d242ec8..0000000 --- a/DEV4.5/croix/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Croix" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/java/com/example/croix/MainActivity.java b/DEV4.5/croix/app/src/main/java/com/example/croix/MainActivity.java deleted file mode 100644 index 160d32b..0000000 --- a/DEV4.5/croix/app/src/main/java/com/example/croix/MainActivity.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.example.croix; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - } -} \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/croix/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/croix/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/croix/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/croix/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/croix/app/src/main/res/layout/activity_main.xml b/DEV4.5/croix/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 802a9d2..0000000 --- a/DEV4.5/croix/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,51 +0,0 @@ - <?xml version="1.0" encoding="utf-8"?> -<TableLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="200dp" - android:layout_height="match_parent" - android:paddingLeft="16dp" - android:paddingRight="16dp"> - <TableRow> - <TextView - android:layout_weight="1"> - </TextView> - <Button - android:text="Λ" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_weight="1"/> - <TextView - android:layout_weight="1"> - </TextView> - </TableRow> - - <TableRow> - <Button - android:text="<" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="O" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text=">" - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - - <TableRow> - <TextView - android:layout_weight="1"> - </TextView> - <Button - android:text="V" - android:layout_gravity="center" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <TextView - android:layout_weight="1"> - </TextView> - </TableRow> - -</TableLayout> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/croix/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/croix/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/croix/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/croix/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/croix/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/croix/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/croix/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/croix/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/croix/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/croix/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/croix/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/croix/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/croix/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/croix/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/croix/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/croix/app/src/main/res/values-night/themes.xml b/DEV4.5/croix/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 6154434..0000000 --- a/DEV4.5/croix/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Croix" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/values/colors.xml b/DEV4.5/croix/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/croix/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/values/strings.xml b/DEV4.5/croix/app/src/main/res/values/strings.xml deleted file mode 100644 index a4c319b..0000000 --- a/DEV4.5/croix/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">croix</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/values/themes.xml b/DEV4.5/croix/app/src/main/res/values/themes.xml deleted file mode 100644 index 3068b96..0000000 --- a/DEV4.5/croix/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Croix" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Croix" parent="Base.Theme.Croix" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/xml/backup_rules.xml b/DEV4.5/croix/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/croix/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/croix/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/croix/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/croix/app/src/test/java/com/example/croix/ExampleUnitTest.java b/DEV4.5/croix/app/src/test/java/com/example/croix/ExampleUnitTest.java deleted file mode 100644 index e3f9e5c..0000000 --- a/DEV4.5/croix/app/src/test/java/com/example/croix/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.croix; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/croix/build.gradle b/DEV4.5/croix/build.gradle deleted file mode 100644 index a100ce0..0000000 --- a/DEV4.5/croix/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/gradle.properties b/DEV4.5/croix/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/croix/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/croix/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/croix/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/croix/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/croix/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/croix/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index b4cf7e9..0000000 --- a/DEV4.5/croix/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Jan 25 15:49:44 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/croix/gradlew b/DEV4.5/croix/gradlew deleted file mode 100755 index 4f906e0..0000000 --- a/DEV4.5/croix/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/croix/gradlew.bat b/DEV4.5/croix/gradlew.bat deleted file mode 100644 index ac1b06f..0000000 --- a/DEV4.5/croix/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/croix/settings.gradle b/DEV4.5/croix/settings.gradle deleted file mode 100644 index 45d9f7d..0000000 --- a/DEV4.5/croix/settings.gradle +++ /dev/null @@ -1,16 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} -rootProject.name = "croix" -include ':app' diff --git a/DEV4.5/pave/.gitignore b/DEV4.5/pave/.gitignore deleted file mode 100644 index aa724b7..0000000 --- a/DEV4.5/pave/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild -.cxx -local.properties diff --git a/DEV4.5/pave/.idea/.gitignore b/DEV4.5/pave/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/DEV4.5/pave/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/DEV4.5/pave/.idea/compiler.xml b/DEV4.5/pave/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/DEV4.5/pave/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="17" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/pave/.idea/gradle.xml b/DEV4.5/pave/.idea/gradle.xml deleted file mode 100644 index a9f4e52..0000000 --- a/DEV4.5/pave/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="GradleSettings"> - <option name="linkedExternalProjectsSettings"> - <GradleProjectSettings> - <option name="testRunner" value="GRADLE" /> - <option name="distributionType" value="DEFAULT_WRAPPED" /> - <option name="externalProjectPath" value="$PROJECT_DIR$" /> - <option name="modules"> - <set> - <option value="$PROJECT_DIR$" /> - <option value="$PROJECT_DIR$/app" /> - </set> - </option> - </GradleProjectSettings> - </option> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/pave/.idea/misc.xml b/DEV4.5/pave/.idea/misc.xml deleted file mode 100644 index 0ad17cb..0000000 --- a/DEV4.5/pave/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/build/classes" /> - </component> - <component name="ProjectType"> - <option name="id" value="Android" /> - </component> -</project> \ No newline at end of file diff --git a/DEV4.5/pave/app/.gitignore b/DEV4.5/pave/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/DEV4.5/pave/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/DEV4.5/pave/app/build.gradle b/DEV4.5/pave/app/build.gradle deleted file mode 100644 index e9b85d3..0000000 --- a/DEV4.5/pave/app/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -plugins { - id 'com.android.application' -} - -android { - namespace 'com.example.pave' - compileSdk 33 - - defaultConfig { - applicationId "com.example.pave" - minSdk 24 - 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 - } -} - -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/pave/app/proguard-rules.pro b/DEV4.5/pave/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/DEV4.5/pave/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/DEV4.5/pave/app/src/androidTest/java/com/example/pave/ExampleInstrumentedTest.java b/DEV4.5/pave/app/src/androidTest/java/com/example/pave/ExampleInstrumentedTest.java deleted file mode 100644 index 7b0d44f..0000000 --- a/DEV4.5/pave/app/src/androidTest/java/com/example/pave/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.pave; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.example.pave", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/AndroidManifest.xml b/DEV4.5/pave/app/src/main/AndroidManifest.xml deleted file mode 100644 index 916e962..0000000 --- a/DEV4.5/pave/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools"> - - <application - android:allowBackup="true" - android:dataExtractionRules="@xml/data_extraction_rules" - android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/Theme.Pave" - tools:targetApi="31"> - <activity - android:name=".MainActivity" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/java/com/example/pave/MainActivity.java b/DEV4.5/pave/app/src/main/java/com/example/pave/MainActivity.java deleted file mode 100644 index 6db338c..0000000 --- a/DEV4.5/pave/app/src/main/java/com/example/pave/MainActivity.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.example.pave; - -import androidx.appcompat.app.AppCompatActivity; - -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - } -} \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/DEV4.5/pave/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 2b068d1..0000000 --- a/DEV4.5/pave/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> - <aapt:attr name="android:fillColor"> - <gradient - android:endX="85.84757" - android:endY="92.4963" - android:startX="42.9492" - android:startY="49.59793" - android:type="linear"> - <item - android:color="#44000000" - android:offset="0.0" /> - <item - android:color="#00000000" - android:offset="1.0" /> - </gradient> - </aapt:attr> - </path> - <path - android:fillColor="#FFFFFF" - android:fillType="nonZero" - android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" - android:strokeWidth="1" - android:strokeColor="#00000000" /> -</vector> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/drawable/ic_launcher_background.xml b/DEV4.5/pave/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/DEV4.5/pave/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="108" - android:viewportHeight="108"> - <path - android:fillColor="#3DDC84" - android:pathData="M0,0h108v108h-108z" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,29L89,29" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,39L89,39" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,49L89,49" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,59L89,59" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,69L89,69" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M19,79L89,79" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M29,19L29,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M39,19L39,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M49,19L49,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M59,19L59,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M69,19L69,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> - <path - android:fillColor="#00000000" - android:pathData="M79,19L79,89" - android:strokeWidth="0.8" - android:strokeColor="#33FFFFFF" /> -</vector> diff --git a/DEV4.5/pave/app/src/main/res/layout/activity_main.xml b/DEV4.5/pave/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 09bf02f..0000000 --- a/DEV4.5/pave/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,81 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<TableLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="16dp" - android:paddingRight="16dp" - android:stretchColumns="*" - android:shrinkColumns="*"> - <TableRow> - <Button - android:text="VerrNum" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="/" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="*" - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - - <TableRow> - <Button - android:text="7" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="8" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="9" - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - - <TableRow> - <Button - android:text="4" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="5" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="6" - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - - <TableRow> - <Button - android:text="1" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="2" - android:layout_height="wrap_content" - android:layout_weight="1"/> - <Button - android:text="3" - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - - <TableRow> - <Button - android:text="0" - android:layout_height="wrap_content" - android:layout_weight="2"/> - <Button - android:text="." - android:layout_height="wrap_content" - android:layout_weight="1"/> - </TableRow> - -</TableLayout> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/DEV4.5/pave/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/pave/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/DEV4.5/pave/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 6f3b755..0000000 --- a/DEV4.5/pave/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@drawable/ic_launcher_foreground" /> - <monochrome android:drawable="@drawable/ic_launcher_foreground" /> -</adaptive-icon> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/DEV4.5/pave/app/src/main/res/mipmap-hdpi/ic_launcher.webp deleted file mode 100644 index c209e78..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-hdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/DEV4.5/pave/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp deleted file mode 100644 index b2dfe3d..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/DEV4.5/pave/app/src/main/res/mipmap-mdpi/ic_launcher.webp deleted file mode 100644 index 4f0f1d6..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-mdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/DEV4.5/pave/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp deleted file mode 100644 index 62b611d..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/DEV4.5/pave/app/src/main/res/mipmap-xhdpi/ic_launcher.webp deleted file mode 100644 index 948a307..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/DEV4.5/pave/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp deleted file mode 100644 index 1b9a695..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/DEV4.5/pave/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp deleted file mode 100644 index 28d4b77..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/DEV4.5/pave/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9287f50..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/DEV4.5/pave/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp deleted file mode 100644 index aa7d642..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/DEV4.5/pave/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp deleted file mode 100644 index 9126ae3..0000000 Binary files a/DEV4.5/pave/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and /dev/null differ diff --git a/DEV4.5/pave/app/src/main/res/values-night/themes.xml b/DEV4.5/pave/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 5b2e02a..0000000 --- a/DEV4.5/pave/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Pave" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your dark theme here. --> - <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> - </style> -</resources> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/values/colors.xml b/DEV4.5/pave/app/src/main/res/values/colors.xml deleted file mode 100644 index c8524cd..0000000 --- a/DEV4.5/pave/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="black">#FF000000</color> - <color name="white">#FFFFFFFF</color> -</resources> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/values/strings.xml b/DEV4.5/pave/app/src/main/res/values/strings.xml deleted file mode 100644 index 7299741..0000000 --- a/DEV4.5/pave/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">pave</string> -</resources> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/values/themes.xml b/DEV4.5/pave/app/src/main/res/values/themes.xml deleted file mode 100644 index b6297de..0000000 --- a/DEV4.5/pave/app/src/main/res/values/themes.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:tools="http://schemas.android.com/tools"> - <!-- Base application theme. --> - <style name="Base.Theme.Pave" parent="Theme.Material3.DayNight.NoActionBar"> - <!-- Customize your light theme here. --> - <!-- <item name="colorPrimary">@color/my_light_primary</item> --> - </style> - - <style name="Theme.Pave" parent="Base.Theme.Pave" /> -</resources> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/xml/backup_rules.xml b/DEV4.5/pave/app/src/main/res/xml/backup_rules.xml deleted file mode 100644 index fa0f996..0000000 --- a/DEV4.5/pave/app/src/main/res/xml/backup_rules.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample backup rules file; uncomment and customize as necessary. - See https://developer.android.com/guide/topics/data/autobackup - for details. - Note: This file is ignored for devices older that API 31 - See https://developer.android.com/about/versions/12/backup-restore ---> -<full-backup-content> - <!-- - <include domain="sharedpref" path="."/> - <exclude domain="sharedpref" path="device.xml"/> ---> -</full-backup-content> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/main/res/xml/data_extraction_rules.xml b/DEV4.5/pave/app/src/main/res/xml/data_extraction_rules.xml deleted file mode 100644 index 9ee9997..0000000 --- a/DEV4.5/pave/app/src/main/res/xml/data_extraction_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - Sample data extraction rules file; uncomment and customize as necessary. - See https://developer.android.com/about/versions/12/backup-restore#xml-changes - for details. ---> -<data-extraction-rules> - <cloud-backup> - <!-- TODO: Use <include> and <exclude> to control what is backed up. - <include .../> - <exclude .../> - --> - </cloud-backup> - <!-- - <device-transfer> - <include .../> - <exclude .../> - </device-transfer> - --> -</data-extraction-rules> \ No newline at end of file diff --git a/DEV4.5/pave/app/src/test/java/com/example/pave/ExampleUnitTest.java b/DEV4.5/pave/app/src/test/java/com/example/pave/ExampleUnitTest.java deleted file mode 100644 index faf0b32..0000000 --- a/DEV4.5/pave/app/src/test/java/com/example/pave/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.pave; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/DEV4.5/pave/build.gradle b/DEV4.5/pave/build.gradle deleted file mode 100644 index a100ce0..0000000 --- a/DEV4.5/pave/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/pave/gradle.properties b/DEV4.5/pave/gradle.properties deleted file mode 100644 index 3e927b1..0000000 --- a/DEV4.5/pave/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file diff --git a/DEV4.5/pave/gradle/wrapper/gradle-wrapper.jar b/DEV4.5/pave/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e708b1c..0000000 Binary files a/DEV4.5/pave/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/DEV4.5/pave/gradle/wrapper/gradle-wrapper.properties b/DEV4.5/pave/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 4f28788..0000000 --- a/DEV4.5/pave/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Jan 25 16:09:17 CET 2024 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/DEV4.5/pave/gradlew b/DEV4.5/pave/gradlew deleted file mode 100755 index 4f906e0..0000000 --- a/DEV4.5/pave/gradlew +++ /dev/null @@ -1,185 +0,0 @@ -#!/usr/bin/env sh - -# -# Copyright 2015 the original author or authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn () { - echo "$*" -} - -die () { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=`expr $i + 1` - done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` - -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" - -exec "$JAVACMD" "$@" diff --git a/DEV4.5/pave/gradlew.bat b/DEV4.5/pave/gradlew.bat deleted file mode 100644 index ac1b06f..0000000 --- a/DEV4.5/pave/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@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/pave/settings.gradle b/DEV4.5/pave/settings.gradle deleted file mode 100644 index 57b4548..0000000 --- a/DEV4.5/pave/settings.gradle +++ /dev/null @@ -1,16 +0,0 @@ -pluginManagement { - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - google() - mavenCentral() - } -} -rootProject.name = "pave" -include ':app' diff --git a/DEV5.2/NIM b/DEV5.2/NIM new file mode 160000 index 0000000..7193500 --- /dev/null +++ b/DEV5.2/NIM @@ -0,0 +1 @@ +Subproject commit 7193500dc515d1f733d3a4a9c763ed8899086c24 diff --git a/DEV5.2/parties.csv b/DEV5.2/parties.csv new file mode 100644 index 0000000..5d88893 --- /dev/null +++ b/DEV5.2/parties.csv @@ -0,0 +1 @@ +(0:1),(1:3),(0:1),(2:3),(0:1),(2:2),(1:1),Vous