A native Kotlin app with a Connect Ageless AI button in the toolbar and the same live lead feed, powered by your PHP API.
m.php, the WebView content1. Native toolbar button. MainActivity renders a native
Material “◆ Connect Ageless AI” button. Tapping it calls into the web layer through a JavaScript bridge
(AgelessBridge.connect()) — no browser chrome, a real native control.
2. WebView live feed. The app loads m.php, a mobile-optimised view of the same
/api/leads.php and /api/stats.php endpoints the website uses — so leads appear on web and mobile simultaneously.
3. App-sourced leads. The “Send test lead (from app)” button fires events tagged
source: android, which show up with a 📱 badge on the dashboard.
4. Same backend. Point the app at your machine’s LAN IP and the phone talks to the exact same MySQL-backed API.
The full Android Studio project is in the /android folder. Set your server URL, then build:
Requires Android Studio (or command-line SDK) with API 34. The emulator reaches your PC at http://10.0.2.2/AgelessAi-Demo.