FBD is an Android WebView application designed to automate a very specific workflow:
load a target webpage, trigger a download action automatically, notify the user, and exit cleanly.
This app is built for speed, automation, and minimal user interaction, not for casual browsing.
Most WebView apps are bloated wrappers.
FBD is different: it exists to do one job efficiently.
Workflow:
- Open a predefined webpage
- Detect a specific page (
download.php) - Automatically click the download trigger (
id="hdlink") - Wait for the system download to start
- Show a confirmation toast
- Close the app immediately
No extra taps. No confusion.
- Lightweight Android WebView
- Fixed header + full WebView layout
- JavaScript injection for DOM interaction
- Automatic button click handling
- Download start detection
- Toast-based user feedback
- Auto-exit after task completion
- Minimal permissions
- No external browser dependency
app/
└── src/
└── main/
├── java/com/yourpackage/fbd/
│ └── MainActivity.kt
│ └── LauncherActivity.kt
├── res/
│ ├── layout/
│ │ └── activity_main.xml
│ │ └── activity_launcher.xml
│ └── values/
│ └── styles.xml
└── AndroidManifest.xml
The application asks for only one permission:
<uses-permission android:name="android.permission.INTERNET" />
The app checks the loaded URL and triggers logic only when the target page is reached.
Used to automatically click the download button:
document.getElementById("hdlink")?.click();Once the system confirms the download has started:
-
A toast is shown: “Download started”
-
The application exits immediately
You can easily modify:
-
Target URL
-
Page match condition
-
Button ID to trigger
-
Auto-exit behavior
-
Header UI elements
-
DOM-dependent (site structure changes can break automation)
-
Not intended for dynamic JS-heavy sites
-
Requires the target site to allow WebView interaction
-
This is a precision tool, not a universal downloader.
-
Automated file triggering
-
Controlled download flows
-
Single-purpose web automation
-
Lightweight wrapper for repetitive tasks
-
Can be used as a template for other such websites
Open for educational and personal use.
itsmmt305
Built to finish the job and get out.
