Free HTML to APK
← All templates
πŸ“
Device

Where Am I app template

GPS position, street address lookup, maps, sharing and live distance tracking.

DeviceNeeds internet6 phone features

✏️ Edit & build online Open full screen

This is the template running live. Phone features such as the camera, vibration and notifications work in the app you build.

Phone features this template uses

These come from the FreeApp JavaScript bridge that every app built with Free HTML to APK includes. In a normal browser the template still runs, and the calls simply do nothing.

Address lookup

FreeApp.address()

Open in maps

FreeApp.maps()

Open a place or "lat,lng" in the maps app.

Share sheet

FreeApp.share()

Android share sheet.

Copy to clipboard

FreeApp.copy()

Copy to clipboard.

Toast messages

FreeApp.toast()

Short native toast.

How the template calls them

const pos = await FreeApp.location();
const a = await FreeApp.address(pos.lat, pos.lng);
console.log(a.address);

Make it yours with AI

Copy this prompt into ChatGPT, Gemini or Claude, change the idea to yours, and paste the answer back into the editor. It already explains the app shell and the phone features to the AI.

Show the AI prompt
Build a single-file mobile web app (index.html with inline CSS/JS) for Android WebView.

The app: Where Am I β€” a where-am-I app that shows the street address and tracks distance walked. GPS position, street address lookup, maps, sharing and live distance tracking.

Requirements:
- Mobile-first, touch-friendly UI (min 44px tap targets), works in portrait, supports light and dark mode.
- Use <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"> and pad for env(safe-area-inset-*).
- You may load libraries from a CDN (jsDelivr/unpkg); show a friendly message if the device is offline.

The page runs inside an Android app that injects a native bridge as window.FreeApp. Available APIs:
- FreeApp.location(opts?: {maxAge?: number}): Promise<{lat, lng, accuracy, altitude, speed, provider, time, fromLastKnown}>
- FreeApp.address(lat: number, lng: number): Promise<{address, city, country, countryCode, postalCode, street}>
- FreeApp.watchLocation(cb: (p) => void, opts?: {interval?: number, distance?: number}): () => void β€” returns a stop function
- FreeApp.maps(query: string): void β€” open a place or "lat,lng" in the maps app
- FreeApp.share(text: string, title?: string): void β€” Android share sheet
- FreeApp.copy(text: string): void β€” copy to clipboard
- FreeApp.toast(message: string): void β€” short native toast

Rules for the bridge:
- Always guard calls with `window.FreeApp &&` (or `if (window.FreeApp) { … }`) and provide a browser fallback so the page also works in a normal browser.
- The bridge may be injected after your script runs: do native setup inside `window.addEventListener('freeappready', …)` and also run it immediately if window.FreeApp already exists.
- Do not use alert/confirm for normal feedback; prefer FreeApp.toast when available.

Return the complete index.html in one code block.

My idea: [DESCRIBE YOUR APP IDEA HERE]

Turn it into an Android app

  1. Tap Edit & build online. The template opens in the online editor.
  2. Change the text, colors and code, then pick an app name, an icon and a package name.
  3. Build. You get a signed APK to install and an AAB for Google Play, free, with no account and no watermark.

✏️ Edit & build online GET IT FREE ONGoogle Play