QR और बारकोड स्कैनर ऐप टेम्पलेट
टॉर्च, फ़ॉर्मैट फ़िल्टर, कॉपी/खोलें/शेयर और स्कैन हिस्ट्री के साथ नेटिव फ़ुल-स्क्रीन स्कैनर।
यह टेम्पलेट लाइव चल रहा है। कैमरा, वाइब्रेशन और नोटिफ़िकेशन जैसे फ़ोन फ़ीचर आपके बनाए ऐप में काम करते हैं।
यह टेम्पलेट कौन-से फ़ोन फ़ीचर इस्तेमाल करता है
ये FreeApp JavaScript ब्रिज से आते हैं, जो Free HTML to APK से बने हर ऐप में शामिल होता है। सामान्य ब्राउज़र में भी टेम्पलेट चलता है, बस ये कॉल कुछ नहीं करतीं।
टॉर्च के साथ फ़ुल-स्क्रीन नेटिव QR / बारकोड स्कैनर; 'cancelled' के साथ reject होता है।
क्लिपबोर्ड पर कॉपी करें।
बाहरी ब्राउज़र / ऐप में खोलें।
Android शेयर शीट।
छोटा नेटिव टोस्ट।
टेम्पलेट इन्हें कैसे कॉल करता है
FreeApp.scanCode({ formats: ['QR_CODE'] })
.then(r => { result.textContent = r.text; })
.catch(e => { if (e.message !== 'cancelled') FreeApp.toast(e.message); });
AI से इसे अपना बनाएँ
इस प्रॉम्प्ट को ChatGPT, Gemini या Claude में कॉपी करें, आइडिया को अपने हिसाब से बदलें, और जवाब को वापस एडिटर में पेस्ट करें। यह AI को ऐप शेल और फ़ोन फ़ीचर पहले से समझा देता है।
AI प्रॉम्प्ट दिखाएँ
Build a single-file mobile web app (index.html with inline CSS/JS) for Android WebView.
The app: QR & Barcode Scanner — a QR code and barcode scanner with a scan history, copy, open-link and share buttons. Native full-screen scanner with torch, format filters, copy/open/share and scan history.
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.scanCode(opts?: {formats?: string[] /* e.g. ['QR_CODE','EAN_13','CODE_128'] */, facing?: 'back' | 'front'}): Promise<{text, format}> — full-screen native QR / barcode scanner with torch; rejects with 'cancelled'
- FreeApp.copy(text: string): void — copy to clipboard
- FreeApp.open(url: string): void — open in the external browser / app
- FreeApp.share(text: string, title?: string): void — Android share sheet
- 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]इसे Android ऐप में बदलें
- ऑनलाइन एडिट और बिल्ड करें पर टैप करें। टेम्पलेट ऑनलाइन एडिटर में खुल जाता है।
- टेक्स्ट, कलर और कोड बदलें, फिर ऐप का नाम, आइकन और पैकेज नाम चुनें।
- बिल्ड करें। आपको इंस्टॉल करने के लिए साइन किया हुआ APK और Google Play के लिए AAB मिलता है, मुफ़्त, बिना अकाउंट और बिना वॉटरमार्क।
और डिवाइस टेम्पलेट
फ़्लैशलाइट
स्ट्रोब और SOS मोड के साथ बड़े पावर बटन वाली टॉर्च।
वाइब्रेशन लैब
कस्टम हैप्टिक पैटर्न चलाएँ और बनाएँ।
लोकेशन ट्रैकर
GPS निर्देशांक, सटीकता और पैदल दूरी ट्रैकर।
डिवाइस जानकारी
फ़ोन मॉडल, स्क्रीन, OS, मेमोरी और ऐप का विवरण।
बैटरी मॉनिटर
बैटरी लेवल, चार्जिंग स्थिति और लाइव इतिहास चार्ट।
नेटवर्क स्टेटस
ऑनलाइन/ऑफ़लाइन स्थिति, कनेक्शन का प्रकार और बदलाव का लॉग।