From ca4f1c96a33bbb02bdb4e40f27c2042fe9aea077 Mon Sep 17 00:00:00 2001 From: hajdam Date: Sun, 1 Sep 2024 23:36:10 +0200 Subject: [PATCH] Release 0.2.0 --- .idea/deploymentTargetSelector.xml | 8 ++++++++ README.md | 4 ++-- app/build.gradle | 8 ++++---- app/src/main/AndroidManifest.xml | 3 ++- .../java/org/exbin/bined/editor/android/MainActivity.java | 5 +++++ app/src/main/res/menu/menu_main.xml | 6 +++++- app/src/main/res/values/strings.xml | 3 ++- changes.txt | 4 ++-- 8 files changed, 30 insertions(+), 11 deletions(-) diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index b268ef3..3a7c46b 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,6 +4,14 @@ diff --git a/README.md b/README.md index 60904dc..3bf566b 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ Features UNDER DEVELOPMENT - * TODO: Data as hexadecimal codes and text preview - * TODO: Insert and overwrite edit modes + * Data as hexadecimal codes and text preview + * Insert and overwrite edit modes * TODO: Support for selection and clipboard actions * TODO: Support for showing unprintable/whitespace characters * TODO: Support for undo/redo diff --git a/app/build.gradle b/app/build.gradle index 2266154..7819132 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,13 +11,13 @@ android { keyPassword 'H4$PuXmt' } } - compileSdkVersion 33 + compileSdkVersion 34 defaultConfig { applicationId "org.exbin.bined.editor.android" minSdkVersion 27 - targetSdkVersion 33 - versionCode 1 - versionName "1.0" + targetSdkVersion 34 + versionCode 3 + versionName "0.2.0" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' signingConfig signingConfigs.release } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4bcf341..9d65df1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -26,6 +26,7 @@ android:exported="true" /> - + + \ No newline at end of file diff --git a/app/src/main/java/org/exbin/bined/editor/android/MainActivity.java b/app/src/main/java/org/exbin/bined/editor/android/MainActivity.java index 15c1b17..76f9d5a 100644 --- a/app/src/main/java/org/exbin/bined/editor/android/MainActivity.java +++ b/app/src/main/java/org/exbin/bined/editor/android/MainActivity.java @@ -6,6 +6,7 @@ import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; +import android.os.Build; import android.os.Bundle; import android.text.Editable; import android.text.method.KeyListener; @@ -77,6 +78,10 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { setContentView(R.layout.activity_main); this.storageReadPermissionGranted = ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED; this.storageWritePermissionGranted = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED; + if (Build.VERSION.SDK_INT > 32) { + storageReadPermissionGranted = true; + storageWritePermissionGranted = true; + } Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); diff --git a/app/src/main/res/menu/menu_main.xml b/app/src/main/res/menu/menu_main.xml index 355240c..fcda475 100644 --- a/app/src/main/res/menu/menu_main.xml +++ b/app/src/main/res/menu/menu_main.xml @@ -43,6 +43,10 @@ android:id="@+id/hex_chars_case" android:enabled="false" android:title="@string/hex_characters_case" /> + - Exit Test - Name: BinEd - Binary/Hex Editor\nVersion: 0.2\nVendor: ExBin Project\nLicense: Apache License, Version 2.0\nHomepage: https://bined.exbin.org/android + Name: BinEd - Binary/Hex Editor\nVersion: 0.2.0\nVendor: ExBin Project\nLicense: Apache License, Version 2.0\nHomepage: https://bined.exbin.org/android BinEd Logo Appearance SettingsActivity2 @@ -60,6 +60,7 @@ View Mode Code Type Hex Characters Case + Encoding Non-printing Characters Go To Position Edit diff --git a/changes.txt b/changes.txt index 216b6ca..f507286 100644 --- a/changes.txt +++ b/changes.txt @@ -1,2 +1,2 @@ -0.2.0 -- First release +0.2.0 (2024-09-01) +- First release