SMB Explorer
An Android app for browsing SMB2/3 shares on a local network. It has a dark interface, encrypted saved connections, folder search and sorting, and an image viewer for photos and animated GIFs.
The app is under active development. See PLAN.md for the planned file actions, video playback, and further performance work.
The launcher icon's editable source is artwork/app-icon.svg; Android uses matching vector drawables for the adaptive and monochrome icon.
What works now
- Save multiple SMB connections after testing them. Credentials are encrypted with a device-bound Android Keystore key; app backup is disabled.
- Browse folders, use breadcrumbs, search the current folder, filter by file type, sort by name in either direction, newest/oldest, largest/smallest, or file type, and refresh a listing.
- Open images and animated GIFs, then swipe through images in the same folder. The viewer reads at most 64 MB per file.
- Reuse an SMB session while browsing and viewing images, keep up to 20 recent folder listings in memory, and preload nearby images in the viewer. Still images are decoded ahead of swipes within a bounded memory cache.
Video playback, downloads, deletion, thumbnails, and offline files are not implemented yet. Other files currently show their details.
Install
Download the APK from the latest Gitea release. Without release signing secrets, the workflow attaches a debug-signed test APK; with them, it attaches a release-signed APK. Android 9 or newer is required.
On first launch, enter the NAS address, share name, and credentials, then tap Test & save connection. The device must be able to reach the SMB server, usually on port 445. Open the saved share from the home screen. The connection menu (⋮) contains Edit connection and Remove connection.
Build from source
Requirements: JDK 17, Android SDK platform 37, and Android build tools 36.0.0. Set ANDROID_HOME or create a local local.properties pointing to the SDK.
./gradlew :app:assembleDebug
On Windows, run gradlew.bat :app:assembleDebug. The APK is written to app/build/outputs/apk/debug/app-debug.apk. Install it with adb install -r app/build/outputs/apk/debug/app-debug.apk.
The optional Advanced connection test reads three 64 KiB ranges of a selected file and reports their hashes. It is a diagnostic tool, not part of normal browsing.
Gitea builds and releases
Every branch push runs the Android workflow on a runner labelled debian. The job builds debug and release APKs, uploads them as an Actions artifact, and creates a Gitea pre-release tagged build-<run ID>-<attempt> with one installable APK. The runner needs outbound access to the action repositories, Gradle, Maven, and Android SDK downloads. The repository must allow the job token to write releases.
To attach a signed release APK instead of a debug APK, configure these repository Actions secrets:
| Secret | Value |
|---|---|
ANDROID_KEYSTORE_BASE64 |
Base64-encoded release .jks keystore |
ANDROID_KEYSTORE_PASSWORD |
Keystore password |
ANDROID_KEY_ALIAS |
Key alias |
ANDROID_KEY_PASSWORD |
Key password |
Keep the keystore and passwords backed up outside the repository. Android updates must use the same signing key. Never commit credentials, keystores, or local.properties.
Contributing and license
See CONTRIBUTING.md for development and issue guidance. Copyright (C) 2026 Alvin Zilverstand. SMB Explorer is licensed under the GNU General Public License, version 3 only (GPL-3.0-only).