DocsYour devices
The Android app
OwnWing for Android is the iPhone app’s twin: a native app (no web pages inside) that signs in to your OwnWing ID once and holds your apps. It is new: today it signs in, shows your apps on its home screen with Settings, browses Files (read-only, with picture and text previews) and holds Photos: your library, albums (shared ones too), people, places and memories, and the backup of this phone’s camera roll to your server. The rest of what the iPhone app does is on its way.
It needs no Google services: it is built from free software only, for GitHub releases and F-Droid.
Get it
| Where | Updates |
|---|---|
GitHub releases: OwnWing-<version>.apk of the newest release |
install each new release’s .apk over the old one; the app checking the releases itself and offering each new version is on its way |
| F-Droid | through F-Droid, like your other apps from there |
Both are the same app, signed with the same key, so one updates the other. Installing the .apk
from a browser asks you once to allow installs from that browser.
To check a download, compare its SHA-256 with the release’s SHA256SUMS file:
sha256sum OwnWing-*.apk # on a computer; the line must match SHA256SUMS
Build it yourself
Before the first release, or to run your own build, build the APK on any Linux or Mac with Docker:
scripts/agent/android.sh assembleDebug
The APK is android/app/build/outputs/apk/debug/app-debug.apk. Copy it to the phone and open it
(Android asks to allow installs from that app once), or with USB debugging on:
adb install -r android/app/build/outputs/apk/debug/app-debug.apk
A build from source is the published app, app.ownwing. To build under your own application id
(<prefix>.ownwing, a reverse-DNS prefix you own) and signing key, copy android/config.example.properties to
android/config.properties and fill it in, then scripts/agent/android.sh assembleRelease. A build
signed with another key can’t update the released app, nor the other way round: uninstall one first.
Sign in
- Open OwnWing and type your OwnWing ID’s address, the one you sign in at in a browser (like
id.example.com). - Sign in with your username and passcode, and the 6-digit code if you turned on two-step codes.
The phone then appears in OwnWing ID under Sign-in & security › Devices, as an Android device. Signing it out there signs the app out; Settings › Sign Out in the app does the same from the phone.
Your OwnWing ID needs a certificate the phone trusts. With OwnWing’s own local certificate authority
(OWNWING_TLS=internal), install its root certificate on the phone first: ./ownwing ca exports it;
copy ownwing-root-ca.crt to the phone and open Android’s Settings › Security › Encryption &
credentials › Install a certificate › CA certificate (the names vary a little by phone). Or use a
public domain with a real certificate.
What it shows
- Home: a greeting, one search across your apps, then cards (Today, a quick note, recent files, a Photos memory) and each of your apps. Files, Photos, Notes, Calendar, Reminders and Contacts open inside the app; an app with no Android screens yet (an extension) opens in your browser.
- Settings (your picture at the top right): you, your accounts on this phone (switch, or add another person), your apps and their servers, sign-in and security (two-step codes, app passwords, connected agents, the app lock, devices; a sensitive change asks for your fingerprint or face unlock, or your passcode), storage, light or dark (one setting for every OwnWing app, here and on the web), the language (the phone’s), your OwnWing ID, About, and Sign Out. An admin also sees People and Groups.
- Files: My Drive (list or grid, sorted your way), Shared (people, the family space, links), Recent and Starred, and search by name and by the words inside documents. Pictures, video, audio, PDFs, text and code, and Word, Excel and PowerPoint files (their text and tables) open in a viewer you swipe through; text and code can be edited there. Upload files or whole folders, scan documents to a PDF, download a file or a folder as a ZIP, rename, move, copy, star, colour, trash and bring back (every change has an Undo), share with people or the family, make links, see versions, comments, tags, activity and earlier days, and keep private files in the Vault (it opens with your fingerprint or face unlock, or your passcode, for 10 minutes; a lock, not encryption).
- Notes: folders, tags and search, in a list or a gallery; a rich-text editor (headings, bold, italic, underline, strike, colours, links, lists, checklists, quotes, code, dividers, pictures and files, tables you edit); see others type as they type; pin, share with people or the family, version history, and export a note or a folder as Markdown or PDF. Text from another app’s share sheet can be added as a note. Locked notes ask for your fingerprint or face unlock (or your passcode). Edits made without a connection are kept on the phone and sent when your server answers. The home screen has a quick note.
- Photos: Home, your library by day (pinch to zoom), Memories, People, albums and shared albums, Places on a map, search, favourites, videos, trash; the family library beside your own. Backup (Photos › More › Backup) sends this phone’s camera roll to your server by itself, on Wi-Fi unless you allow mobile data, resuming where it stopped; Free up space deletes from the phone only what your server confirms it holds, and Android asks you once before it does. The map is your server’s own (the one Photos on the web shows), so where you look never leaves your server; a server without the map shows the places on a plain background.
- Calendar: day, week, month and list views; calendars with colours (show or hide, new, rename,
delete, subscribe to an
.icsaddress), events with all-day, repeats, alerts, a place, notes and invited people, one occurrence or the whole series; invitations you accept, maybe or decline; sharing a calendar with a person or the family; holidays and birthdays. - Reminders: Today, Scheduled, Flagged, Completed and All with their counts, your lists with colours and sharing, reminders with due dates and times, repeats, priority, flags, subtasks and an assignee.
- Contacts: the list with search as you type and the letter index, cards (call, message, e-mail, map), favourites, groups, address books and sharing, duplicates to merge, import (vCard, Google or Outlook CSV) and export.
OwnWing in other apps
- In every app’s file picker: OwnWing appears next to Drive and Downloads in Android’s “Open” and “Save” screens: browse My Drive, open a file, save into it, create, rename, move and delete. The Vault is never listed there.
- Save to OwnWing: share files, photos or videos from any app and pick the folder.
- Scan documents: Files › New › Scan documents. The phone’s camera takes each page (or pick them from your photos), you put them in order, choose colour or black and white, and the PDF goes into the folder. The app finds the paper in each photo and straightens it (turn Crop off on a page to keep the whole photo); it uses no scanner built on Google’s services.
- Search and AI in Files: search by meaning with type chips and a Sensitive chip, Ask your files and Tidy up from My Drive’s menu, and Settings › Search & AI. They run on your server; Ask and summaries need a GPU there.
Using it away from home
The phone reaches your apps whenever it reaches your server. Nothing of OwnWing is open to the internet by default, so away from home it needs a way back in: a tailnet is the easy one (tailnet.md).
Calendars, contacts and tasks in Android’s own apps
Settings › Sync with Android Apps adds one account to the phone, named for you and your server. Android’s Calendar and Contacts then hold your OwnWing calendars and contacts and keep them in step both ways (every hour, and when either side changes); remove the account (turn the switch off) and Android takes them away again. It signs in as this phone with its own OwnWing token: no app password, no extra sync app. Your phone asks once to read and change your calendars and contacts. With several people on one phone, only the person who turned it on is synced, while they are the one signed in.
- Calendar: each calendar is a calendar of the account (read-only ones too); events from a month back to a year ahead, with alerts. A repeating event is one repeating event; an occurrence changed on the server is not mirrored. Invitations are answered in OwnWing.
- Contacts: every address book you can see lands in the one account; a contact you make in Android goes to your first address book. Names, nickname, company, phones, e-mails, addresses, websites, birthday and notes go across; groups, relations and the favourite star stay in OwnWing (and are kept when you change a card on the phone).
- Reminders and tasks: Android has no tasks app of its own, so Reminders sync through OpenTasks (free, on F-Droid) when it is installed: each list a task list, each reminder a task, with the title, notes, due date, priority and done. Without it, Reminders stay in the app. Install OpenTasks, then turn the sync off and on again.
Files, and anything else, still sync with any WebDAV app using an app password (sync-clients.md); DAVx5 also still works for Calendar, Reminders and Contacts.
Troubleshooting
| Problem | What to do |
|---|---|
| “Can’t reach your server” | the phone must resolve your domain and reach the server: on the home Wi-Fi, or over the tailnet |
| A certificate warning | install the root from ./ownwing ca (above); after re-creating the install’s CA, install the new one |
| “App not installed” over an older version | the two builds are signed with different keys (yours and the release’s): uninstall the old one first |