Skip to content

Commit

Permalink
added about page
Browse files Browse the repository at this point in the history
  • Loading branch information
xdsopl committed Apr 25, 2024
1 parent 2718a51 commit 7fd95be
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildFeatures {
buildConfig true
}

buildTypes {
release {
minifyEnabled false
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/xdsopl/robot36/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@ public boolean onOptionsItemSelected(MenuItem item) {
showTextPage(getString(R.string.privacy_policy), getString(R.string.privacy_policy_text));
return true;
}
if (id == R.id.action_about) {
showTextPage(getString(R.string.about), getString(R.string.about_text, BuildConfig.VERSION_NAME));
return true;
}
return super.onOptionsItemSelected(item);
}

Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@
<item
android:id="@+id/action_privacy_policy"
android:title="@string/privacy_policy" />
<item
android:id="@+id/action_about"
android:title="@string/about" />
</menu>
7 changes: 7 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,11 @@ Having access to the microphone is considered to be a sensitive permission and y
The data recorded from the microphone is only used to fed the SSTV decoder, VU meter and the spectrum analyzer for visualization of its frequency content.
The app uses a very small temporary buffer in volatile memory and constantly overwrites this buffer with new data from the microphone.
The resulting images from the SSTV decoder is the only data that gets stored in persistent storage on your Android device.</string>
<string name="about">About Robot36</string>
<string name="about_text">Robot36 %1$s\nCopyright 2024 Ahmet Inan
\n\nPlease read DISCLAIMER at the bottom of this page.
\n\nRobot36 decodes SSTV encoded audio signals to images.
\n\nImplementation:\nhttps://github.com/xdsopl/robot36\nBSD Zero Clause License
\n\nMode specifications:\nhttp://www.barberdsp.com/downloads/Dayton%%20Paper.pdf\nby JL Barber - 2000
\n\nDISCLAIMER:\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</string>
</resources>

0 comments on commit 7fd95be

Please sign in to comment.