IPF (IP Finder) is a lightweight Android application that displays the IPv4 address of ap0 or wlan0 interfaces without requiring a WiFi connection.
- Shows local IPv4 address of
ap0(Hotspot) andwlan0(WiFi) interfaces. - Does not require an active internet or WiFi connection.
- Copy IP address to clipboard with a single tap.
- Built-in refresh button to update IP info.
- Simple, fast, and effective!
This app is especially useful for developers, testers, or tech enthusiasts who:
- Run servers on Android (like HTTP file servers).
- Need local IP for ADB over WiFi or similar.
- Want to debug or view local network interfaces quickly.
The app queries available NetworkInterfaces, then checks for wlan0 or ap0. If an active IPv4 address is present, it displays it.
if (networkInterface.getName().equalsIgnoreCase("wlan0") ||
networkInterface.getName().equalsIgnoreCase("ap0")) {
// Fetch and return the IPv4 address
}If no IP is available, it shows 127.0.0.1 with a warning.
You can directly open this project in AIDE, the Android IDE. Just:
- Install AIDE.
- Clone this repo.
- Open
MainActivity.javaand run the app.
If you're using Termux, you probably don’t need this app. Just run:
ifconfig- Android SDK (API level 16+ recommended)
- AIDE or Android Studio
- No extra libraries or permissions required
- Might not work on all devices or ROMs if the system restricts access to network interfaces.
- Only shows IP for
ap0orwlan0, not other interfaces.
This project is open-source. Do whatever you want with it. Attribution appreciated but not required.