Free HTML to APK
← सभी टेम्पलेट
💡
सेंसर

लाइट मीटर ऐप टेम्पलेट

लक्स में आसपास की रोशनी का स्तर, लाइव गेज के साथ।

सेंसरऑफ़लाइन काम करता है1 फ़ोन फ़ीचर

✏️ ऑनलाइन एडिट और बिल्ड करें फ़ुल स्क्रीन में खोलें

यह टेम्पलेट लाइव चल रहा है। कैमरा, वाइब्रेशन और नोटिफ़िकेशन जैसे फ़ोन फ़ीचर आपके बनाए ऐप में काम करते हैं।

यह टेम्पलेट कौन-से फ़ोन फ़ीचर इस्तेमाल करता है

ये FreeApp JavaScript ब्रिज से आते हैं, जो Free HTML to APK से बने हर ऐप में शामिल होता है। सामान्य ब्राउज़र में भी टेम्पलेट चलता है, बस ये कॉल कुछ नहीं करतीं।

मोशन सेंसर

FreeApp.sensors.start() FreeApp.sensors.stop()

एक stop फ़ंक्शन लौटाता है, या उपलब्ध न हो तो null।

टेम्पलेट इन्हें कैसे कॉल करता है

const stop = window.FreeApp && FreeApp.sensors.start('light', d => {
  const lux = d.values[0];
  gauge.style.setProperty('--v', Math.min(lux / 1000, 1));
  label.textContent = Math.round(lux) + ' lx';
}, 200);

AI से इसे अपना बनाएँ

इस प्रॉम्प्ट को ChatGPT, Gemini या Claude में कॉपी करें, आइडिया को अपने हिसाब से बदलें, और जवाब को वापस एडिटर में पेस्ट करें। यह AI को ऐप शेल और फ़ोन फ़ीचर पहले से समझा देता है।

AI प्रॉम्प्ट दिखाएँ
Build a single-file mobile web app (index.html with inline CSS/JS) for Android WebView.

The app: Light Meter — an ambient light meter showing lux with a live gauge. Ambient light level in lux with a live gauge.

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.sensors.start(type: 'accelerometer' | 'gyroscope' | 'magnetometer' | 'light' | 'proximity' | 'pressure' | 'gravity' | 'linear_acceleration' | 'rotation' | 'humidity' | 'temperature' | 'steps' | 'step_detector', cb: (d: {type, values: number[], x, y, z, accuracy, t}) => void, intervalMs?: number): (() => void) | null — returns a stop function, or null if unavailable
- FreeApp.sensors.stop(type: string): void

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 ऐप में बदलें

  1. ऑनलाइन एडिट और बिल्ड करें पर टैप करें। टेम्पलेट ऑनलाइन एडिटर में खुल जाता है।
  2. टेक्स्ट, कलर और कोड बदलें, फिर ऐप का नाम, आइकन और पैकेज नाम चुनें।
  3. बिल्ड करें। आपको इंस्टॉल करने के लिए साइन किया हुआ APK और Google Play के लिए AAB मिलता है, मुफ़्त, बिना अकाउंट और बिना वॉटरमार्क।

✏️ ऑनलाइन एडिट और बिल्ड करें मुफ़्त पाएँGoogle Play पर