Search CodeHorizon

Products

CSS Class HighlighterChrome extension · Live ShopGradeChrome extension + web app · Live SecureVaultAndroid app · Live Companion AIAndroid app · Live Speaker CleanerAndroid app · Live NickedAndroid game · Live CompassAndroid app · In testing TubeFocusChrome extension · Live TabClusterPast Chrome extension · Past project NotiloPast Chrome extension · Past project

Insights

Android now checks who built an app before it installs itAndroid WebMCP lets your website hand AI agents a proper set of toolsWeb and AI Your next customer might be an AI agent. Here is what it reads in your storeShopify Manifest V2 is gone. This is what a Chrome extension looks like nowChrome extensions Google sends fewer clicks now. Here is how a business website should adaptSearch

Pages

HomeThe studio ServicesWebsites, stores, extensions and apps Case studiesSelected work ProcessHow a project runs All productsThe complete collection InsightsPlatform changes, explained JournalEvery release, newest first Start a projectPlan it in a minute
move openEsc close

Compass

Android appIn testing

Find north at a glance, and know when to trust it.

Compass is a digital compass for Android with a big clear heading, true north for where you are, and a warning when metal or a magnet is pulling the needle. No ads and no account. It is in testing on Google Play.

Platform
Android
Version
1.0.1
Status
In testing on Google Play
Price
Free, optional one-time Pro
Role
Sole developer
Timeline
Oct 2026
Stack
KotlinJetpack ComposeMaterial 3 ExpressiveGoogle Play BillingSensorManager

The problem

Why Compass exists

Your phone's sensor finds magnetic north, but maps use true north, and the gap can be many degrees depending on where you are. Most of the time nothing tells you. Phone compasses also drift, and a metal case or a laptop nearby pulls the needle without any warning. Compass does the sum for you, and says when its reading is off.

Before

  • A heading that is magnetic, not true
  • A needle pulled by metal, with no warning
  • Ads around a simple tool

With Compass

  • True north worked out for where you are
  • A card that says when the reading is off
  • No ads and no account
The hardest part
A heading that stays right however you hold the phone: flat, upright, or tilted to one side.

How it works

How you use it, step by step.

From opening the app to the thing you came for.

  1. Find north at a glance: a big clear heading and a dial that turns with your phone
  2. True north, worked out: a 12.7 degree east correction under the title
  3. Lock a bearing, then follow it: how far to turn to stay on course
  4. Tells you when it is off: a card for magnetic interference
Find north at a glance: a big clear heading and a dial that turns with your phone
True north, worked out: a 12.7 degree east correction under the title
Lock a bearing, then follow it: how far to turn to stay on course
Tells you when it is off: a card for magnetic interference

Under the hood

How it is built.

A single-screen compass in Jetpack Compose. The heading comes from the phone’s fused rotation vector, or from the accelerometer and magnetometer on a phone without a gyroscope. The dial turns on an expressive spring, stepped per frame so it never stalls between sensor readings. True north is free and works out the local magnetic declination on the phone, and a one-time Compass Pro adds bearing lock and four dial styles.

  1. 01

    Sensors

    Rotation vector and magnetometer

    The fused rotation vector gives a smooth heading. The magnetometer is always read too, for its accuracy and the field strength.

  2. 02

    Heading

    One angle from a rotation matrix

    The rotation matrix is remapped for the way the screen is turned, then reduced to one angle by a function small enough to unit test.

  3. 03

    True north

    Declination, on the phone

    Android’s GeomagneticField turns an approximate location into a correction. Only the angle is saved, so it keeps working offline.

  4. 04

    Dial

    A spring, a tick and a warning

    The dial follows the heading on a spring, a light tick marks N, E, S and W, and a card appears when the reading can’t be trusted.

01

It watches the field, not just the needle

Earth’s magnetic field is roughly 25 to 65 microtesla. Far outside that, a magnet or metal is skewing the reading, so the app shows the calibration card even when the sensor still reports good accuracy.

02

Google Play decides who owns Pro

A saved flag is only a head start, so Pro is there the moment the app opens. Every launch and resume checks with Google Play again, so a refund locks it again.

Kotlinsensor/CompassSensor.ktlines 121 to 124
fun headingOf(r: FloatArray): Float {
    val degrees = Math.toDegrees(atan2(-r[3], r[0]).toDouble()).toFloat()
    return (degrees + 360f) % 360f
}
From the sourceOne line of trigonometry, tested in every poseTipping the phone turns it about the screen’s x axis, and tilting only lifts one end, so the direction square to that axis stays put. Being a plain function of the matrix, it can be tested with no phone at all.

Decisions

The calls I made, and what they cost.

Each decision lists the reason for it and what it gave up.

  1. 01

    Approximate location only, and only for True north

    Why

    Declination changes by well under a degree across a city, so coarse location is plenty, and the compass itself never needs it.

    Trade-off

    On a phone with no location yet, True north has nothing to work from.

  2. 02

    The compass and true north stay free, with no ads

    Why

    Pro only adds bearing lock and dial styles, so the reading itself is never behind a payment.

    Trade-off

    The free app earns nothing, so it rests on people wanting what Pro adds.

A bug worth telling

Tilt the phone, and north moved

What happened
Tilting the phone 30 degrees to one side moved the heading by about 26 degrees.
Why
The first version added where the top edge and the back of the phone point, flattened onto the ground. That is steady as you tip the phone forward or back, but a sideways tilt skews the sum.
The fix
The heading is now the level direction square to the screen’s x axis, which tipping and tilting both leave alone. Unit tests build poses from plain motions and check the reading in each.

Screens

What it looks like.

01 / 06
01Find north at a glance: a big clear heading and a dial that turns with your phone
02True north, worked out: a 12.7 degree east correction under the title
03Lock a bearing, then follow it: how far to turn to stay on course
04Make the dial yours: four dial styles to choose from
05Easy on the eyes at night: the dark theme with the Midnight dial
06Tells you when it is off: a card for magnetic interference

Features

What you get.

01

True north, for free

Switch between magnetic and true north. The correction, like 12.7° E, shows under the title and works offline.

02

Steady at any angle

Accurate held upright, flat or tilted, with unit tests across poses and bearings.

03

Knows when it is off

Watches the sensor's accuracy and the strength of the magnetic field, and warns you about interference.

04

A tick you can feel

A light vibration as you pass north, east, south and west.

05

Bearing lock (Pro)

Lock a direction and follow the arc, with how far to turn in degrees.

06

Four dial styles (Pro)

Cookie, Sunny, Scallop and Midnight, in a light and dark theme that follows your phone.

Your data

No ads, no analytics and no account. Your location is optional, used only for True north, and never leaves your phone: only the correction angle is stored. Compass Pro is a one-time purchase handled by Google Play.

Questions

Good questions.

Something else? Ask me directly.

When can I download it?

Compass is in testing on Google Play now and opens to everyone once testing ends. Its page here will link to Google Play when it does.

What is the difference between true north and magnetic north?

Your phone's sensor finds magnetic north. Maps use true north. The gap between them, the magnetic declination, depends on where you are. Switch on True north and Compass adds it for you.

Why does it ask for my location?

Only for True north, and only if you switch it on. It uses your approximate location, on your phone, to work out the correction. Your location never leaves your device, and the compass itself works without it.

Does it work offline?

Yes. The compass needs no connection, and True north keeps using the last correction it worked out.

Are there ads?

No. Compass has no ads, no analytics and no account. An optional one-time Compass Pro adds bearing lock and four dial styles. There is no subscription.

Why is my reading wrong?

Metal, magnets, laptops and magnetic cases all pull the sensor. Compass warns you when the magnetic field looks wrong and shows you how to recalibrate with a quick figure 8.

Milestones

From the first line to today.

  1. 29 Oct 2026

    1.0.0, in testing on Google Play

    A compass with true north, calibration help, bearing lock and dial styles (Pro).

  2. 29 Oct 2026

    1.0.1

    The privacy policy can be opened from inside the app.

  1. Launchv1.0.1

    Compass: Digital & True North is in testing on Google Play

    A new compass app for Android: a big clear heading, true north for where you are, and a warning when something is pulling the needle.

    • See your heading in degrees and words, held upright, flat or tilted, in portrait and landscape.
    • True north works out the correction for where you are, using only your approximate location, on your phone.
    • Compass tells you when metal or a magnet is interfering, and shows you how to recalibrate.
    • No ads and no account. An optional one-time Compass Pro adds bearing lock and four dial styles.

For businesses

Like how Compass turned out? I can build yours.

Websites, Shopify stores, Chrome extensions and Android apps, designed and engineered with the same care as my own products.

Booking new projects

Tell me what you’re building.

I read every message myself and reply within a day or two with honest next steps.

  1. 01You share the ideaA few lines is plenty. Links to anything similar help.
  2. 02We talk it throughOne short conversation by email or a quick call.
  3. 03You get a clear planScope, timing and a price that fits, before any work starts.
Just say helloFour fields, that is all

Your details come straight to my inbox and are only used to reply. Nothing is stored on this site or shared.

Project plannerTakes about a minute
01What do you need?Pick any that fit. Skip it for a quick hello.
02Budget
03Timeline
04Tell me about it

Your details come straight to my inbox and are only used to reply. Nothing is stored on this site or shared.