WebView Website to App - Android Template (Native, No Libraries)
WebView Website to App is a lightweight, 100% original Android template that converts any website into a native Android app. No third-party libraries, no ads, no tracking. Configure your site URL, app name, brand color and icon, run one build command, and get a signed release APK.
WHY THIS TEMPLATE
- 100% original code, written from scratch: a single commented MainActivity (~150 lines). Nothing copied from other marketplace items or tutorials, so licensing is clean.
- No dependencies: pure Android framework. No Gradle libraries to break, no ad SDKs, no analytics.
- Builds without Android Studio: a single build.sh script produces a signed APK with only a JDK and the Android SDK command-line tools.
- Configurable without touching code: edit assets/config.properties and rebuild.
FEATURES
- Full-screen WebView with JavaScript, DOM storage and cookies enabled
- Configurable site URL, app name, brand color (status bar + accent), and launcher icon
- Offline / connection-error screen with Retry button
- Pull-to-refresh (switchable)
- Top page-loading progress bar (switchable)
- External links open in the phone's browser (switchable); tel:, mailto: and WhatsApp links open the right app
- Back button navigates page history
- Keeps page state on screen rotation
- Signed release APK output (v1+v2+v3 signature schemes)
- Targets Android 5.0+ (API 21), target SDK 34
WHAT'S INCLUDED
- Complete Android source (Java), commented
- assets/config.properties, all settings in one place
- build.sh, one-command build producing a signed APK
- README.md, full setup and customization guide
REQUIREMENTS
- JDK 17
- Android SDK command-line tools with platforms;android-34 and build-tools;34.0.0
- A website you own or have rights to wrap
NOTES
- Google Play may reject apps that are only a thin wrapper of a website with no added value; add real content or features for store approval.
- The template creates its own demo keystore on first build. For a real release, create and keep your own keystore.
- TESTED: the demo APK built from this exact source was installed and run on an Appetize cloud Android device (Pixel 7, Android 13) on Nov 30, 2026. It loads the configured site in the WebView with the brand color applied; the product images are real captures from that run.