Thanks to visit codestin.com
Credit goes to github.com

Skip to content

akadjoker/AndroidJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android WebApp Builder

This is a custom build system for creating lightweight Android apps from HTML/JS/CSS projects. It wraps your web content in a native Android WebView and builds a signed APK without using Gradle or Android Studio.

Features

  • Minimal Android WebView wrapper
  • No need for Java/Kotlin code (template included)
  • Uses local HTML, CSS, JS (offline)
  • Fully customizable layout and assets
  • Generates signed APKs
  • Works via simple CLI: create, compile, clean
  • Ideal for prototyping or wrapping web UIs as native Android apps

Folder Structure

builder/
├── builder.py                # Main build script
├── template/
│   ├── assets/               # HTML/CSS/JS template
│   ├── icons/                # Default launcher icons
│   └── src/                  # Java source for MainActivity
└── samples/
    └── myapp/                # Example project

Requirements

  • Python 3
  • Android SDK (build-tools, platform-tools, etc.)
  • Java JDK 8+ (tested with JDK 24)
  • ADB for installing the app

Commands

Create a New Project

python3 builder.py create --path samples/myapp --package com.example.myapp 

This generates a new Android project with the default HTML/JS layout.

Compile the Project

python3 builder.py compile --path samples/myapp --run
  • Compiles Java code
  • Converts classes to DEX
  • Builds unsigned APK
  • Signs the APK
  • Installs and runs it on a connected device

Clean the Project

python3 builder.py clean --path samples/myapp

Removes temporary build files.

Customization

  • Modify the HTML, CSS, and JavaScript under assets/
  • Java code can be found in src/com/example/myapp/MainActivity.java
  • AndroidManifest is auto-generated from project.json

Output

  • Final APK is saved as samples/myapp/myapp.signed.apk

License

MIT License. Build system by DjokerSoft.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published