commit bd31803f958d18433304423787916964095701fd Author: weishaupt <1+weishaupt@noreply.localhost> Date: Thu Dec 3 01:19:08 2026 +0000 Add project root diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a3a3629 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.gradle/ +.kotlin/ +build/ +local.properties +*.jks +*.keystore diff --git a/README.md b/README.md new file mode 100644 index 0000000..36b9da5 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# KnockPad + +Yet another knock-off notepad. A handwriting notepad for Android, built for a Galaxy Tab with an S Pen and a Galaxy Fold with a finger. + +Your handwriting stays your handwriting. It only turns into text when you tell it to. + +## Features + +- Infinite canvas: pinch to zoom, drag to move, no pages +- S Pen or finger: with a pen, the pen writes and fingers move the page, with palm rejection; without one, one finger writes and two fingers move +- Pen (pressure sensitive), pencil and marker, each with its own thickness; the marker draws under the ink +- Smoothing that respaces each stroke evenly and then smooths it, so it works the same at any writing speed +- Shapes: circle, square, triangle, any polygon up to 12 sides, plus hold-to-snap on rough lines, boxes and circles +- Lasso to text: select handwriting and convert it with Google's on-device handwriting reader; the text appears in a window at the top and the ink stays put +- Two erasers (whole stroke, part of a stroke), S Pen side button erases +- Paper: cream, white, light gray, vellum; blank, lined, grid or dots +- Photos, folders, search (titles, converted text and handwriting) +- Export to PNG, PDF or .txt +- `.knock` files to move notes between devices (LocalSend, email, whatever); no account, no sync, no cloud + +## Install + +Grab `KnockPad-0.1.1.apk` from this repo and open it on the device. Android 10 or newer, 64-bit. + +## Building + +Kotlin, plain Android views, no Compose. Needs the Android SDK (compileSdk 35) and Gradle 8.11 or newer, then `gradle assembleRelease`. + +Release builds are signed with `knockpad.jks` in the project root. That key is not in this repo; without it you can still build, but your APK won't install over the official one. + +The converted-text font is DejaVu Sans Condensed (free license). diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..60678e4 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,4 @@ +plugins { + id("com.android.application") version "8.10.1" apply false + id("org.jetbrains.kotlin.android") version "2.1.21" apply false +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..19a3495 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,4 @@ +org.gradle.jvmargs=-Xmx3g -Dfile.encoding=UTF-8 +android.useAndroidX=true +kotlin.code.style=official +android.nonTransitiveRClass=true diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..ce2ab00 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,16 @@ +pluginManagement { + repositories { + google() + mavenCentral() + gradlePluginPortal() + } +} +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + } +} +rootProject.name = "KnockPad" +include(":app")