A small Android app for the Nikon ZR that does the two things SnapBridge makes hard: wake the camera over Bluetooth, join its Wi-Fi, and pull photos and videos onto the phone. Remote monitoring and control over the same link is the next step.
Personal project, built for one Nikon ZR and one Android phone. It works, but it is not a product.
The ZR speaks Nikon's "LSS" Bluetooth LE service and standard PTP/IP over Wi-Fi. Everything the app does was worked out from the protocol as SnapBridge uses it:
- Bluetooth. Scan for the LSS service, connect, enable notifications, then run Nikon's four-stage challenge-response on the authentication characteristic. The camera then hands over its Wi-Fi SSID and passphrase, Blowfish-encrypted with the session key, and accepts a "turn on Wi-Fi" write.
- Wi-Fi. The app asks Android to join that network through
WifiNetworkSpecifier, so the system shows its own connect sheet and no Settings trip is needed. - PTP/IP. A plain ISO 15740 session on port 15740 lists the card, fetches thumbnails and
streams files into
Pictures/Z Controlthrough MediaStore.
Pairing has three stages and the camera stays on "waiting" until all three are done: the Bluetooth LE handshake and name/time writes, a classic Bluetooth bond (this is when the camera shows its confirmation code), then a second LE session. The camera rotates its LE address, so the app scans by service and name on every connect rather than storing an address.
You need the Nikon authentication library, which is not in this repository. Install SnapBridge on your phone, connect it over USB with debugging enabled, and run:
tools/extract-lssec.sh
That copies libLsSec-jni.so out of the SnapBridge APK into app/src/main/jniLibs/arm64-v8a/.
Then build with Android Studio or:
JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home" ./gradlew assembleDebug
The app targets arm64 only, minimum Android 12.
- Pairing, connect, browse, and download: working on a ZR with firmware 1.11.
- Remote live view and exposure control: in progress.
PolyForm Noncommercial 1.0.0. See LICENSE.md.