Templat aplikasi Penerima Deep Link
Buka layar aplikasi Anda dari tautan, kode QR, dan notifikasi, dengan demo perutean.
Ini template yang berjalan langsung. Fitur ponsel seperti kamera, getar, dan notifikasi berfungsi di aplikasi yang Anda buat.
Fitur ponsel yang digunakan templat ini
Fitur ini berasal dari bridge JavaScript FreeApp yang disertakan di setiap aplikasi yang dibuat dengan Free HTML to APK. Di browser biasa, templat tetap berjalan, dan panggilan tersebut tidak melakukan apa-apa.
Tautan dalam yang membuka aplikasi.
Tautan yang dibuka saat aplikasi berjalan.
Salin ke papan klip.
Getaran sekali (default 50 ms) atau pola [mati, hidup, mati, hidupβ¦].
Cara templat memanggilnya
const link = FreeApp.launchUrl(); // myapp://products/42
FreeApp.on('deeplink', d => route(d.url)); // while running
Sesuaikan dengan AI
Salin prompt ini ke ChatGPT, Gemini, atau Claude, ganti idenya dengan ide Anda, lalu tempel jawabannya kembali ke editor. Prompt ini sudah menjelaskan shell aplikasi dan fitur ponsel kepada AI.
Tampilkan prompt AI
Build a single-file mobile web app (index.html with inline CSS/JS) for Android WebView.
The app: Deep Link Receiver β a deep-link router that opens the right screen for links like myapp://products/42. Open screens of your app from links, QR codes and notifications, with a routing demo.
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-*).
- Must work fully offline: no CDN or external scripts, fonts or images; persist data in localStorage.
The page runs inside an Android app that injects a native bridge as window.FreeApp. Available APIs:
- FreeApp.launchUrl(): string | null β the deep link that opened the app
- FreeApp.on('deeplink', (d: {url}) => void): () => void β links opened while the app is running
- FreeApp.copy(text: string): void β copy to clipboard
- FreeApp.vibrate(ms?: number | number[]): void β one-shot buzz (default 50 ms) or an [off, on, off, onβ¦] pattern
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]Jadikan aplikasi Android
- Ketuk Edit dan buat online. Templat akan terbuka di editor online.
- Ubah teks, warna, dan kodenya, lalu pilih nama aplikasi, ikon, dan nama paket.
- Buat build. Anda mendapatkan APK yang ditandatangani untuk dipasang dan AAB untuk Google Play, gratis, tanpa akun dan tanpa watermark.
Templat Sistem lainnya
Manajer Papan Klip
Salin, tempel, dan simpan riwayat potongan teks.
Notifikasi
Kirim notifikasi lokal instan dan terjadwal.
Kunci Biometrik
Layar kunci dengan buka kunci sidik jari dan cadangan PIN.
Jaga Layar Tetap Menyala
Cegah layar tidur, dengan timer mati otomatis.
Kecerahan
Atur kecerahan layar dengan penggeser dan preset.
Lembar Berbagi
Bagikan teks, tautan, dan file yang dihasilkan ke aplikasi lain.