Skip to content

About

πŸš€ Offline Peer-to-Peer (P2P) LAN & Hotspot Messenger, High-Speed File Transfer, Real-Time Voice & Video Calls for Android built with Jetpack Compose.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Zero Network Connectivity Logo

Zero Network Connectivity πŸ“‘

A 100% Offline, Peer-to-Peer (P2P) LAN & Hotspot Messenger, High-Speed File Transfer, Real-Time Voice & Video Calls for Android.

Android API Kotlin Jetpack Compose Latest Release License Privacy


πŸ“₯ Download Latest APK (v1.0.1) β€’ Features β€’ Protocol Specs β€’ Tech Stack β€’ Build Guide


🌟 What is Zero Network Connectivity?

Zero Network Connectivity is an advanced, decentralized communication suite built natively for Android. It enables seamless communication and data transfer between Android devices without requiring:

  • ❌ No Internet connection
  • ❌ No Mobile data / SIM card
  • ❌ No Cloud servers or third-party accounts
  • ❌ No Tracking, telemetry, or metadata logging

Whether you are in remote locations, during emergency blackouts, on flights, inside campus LAN networks, or simply sharing huge files at maximum Wi-Fi hardware speeds, Zero Network Connectivity connects you directly device-to-device.


πŸš€ Key Features

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                          ZERO NETWORK CONNECTIVITY v1.0.1                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   πŸ“‘ ZERO-CONFIG P2P  β”‚    πŸ’¬ RICH MESSAGING    β”‚    πŸ“ž ULTRA-LOW LATENCY CALLS  β”‚
β”‚ β€’ Subnet Broadcast    β”‚ β€’ Instant Text Delivery β”‚ β€’ Real-Time PCM Voice Calls    β”‚
β”‚ β€’ Fast IP Ping Sweep  β”‚ β€’ Telegram Voice Notes  β”‚ β€’ CameraX Live Video Streaming β”‚
β”‚ β€’ 1-Tap QR Connect    β”‚ β€’ Auto-Save to Gallery  β”‚ β€’ Echo & Noise Cancellation    β”‚
β”‚ β€’ Radar Pulse Radar   β”‚ β€’ Group LAN Chats       β”‚ β€’ Speaker/Mute/Cam Flipping    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“‘ 1. Zero-Config Device Discovery

  • Subnet-Wide Broadcasting: Automatically computes active Wi-Fi interface broadcast addresses (e.g. 192.168.1.255, 192.168.43.255).
  • Parallel Subnet Ping Sweep: Rapidly probes 1..254 on Port 1050 to instantly locate peers even across restrictive access points.
  • Connect with QR: Generate peer credentials as an offline QR code and scan via built-in CameraX analyzer for instant pairing.
  • Radar Pulse Visualizer: Fluid animated radar display tracking nearby active peers.

πŸ’¬ 2. Modern Telegram & Signal-Inspired Messaging

  • Hold-to-Record Voice Notes: Telegram-style hold-to-record mic with live waveform audio visualizer, elapsed timer, slide-left-to-cancel, and release-to-send.
  • High-Speed Media Sharing: Send HD Photos, 4K Videos, Audio tracks, and Documents at raw Wi-Fi throughput.
  • Automatic Gallery Indexing: Incoming photos and videos are automatically written to Pictures/ZeroNetwork and Movies/ZeroNetwork with immediate MediaStore gallery indexing.
  • Offline LAN Groups: Create local multi-party groups for decentralized broadcast messaging.

πŸ“ž 3. Real-Time Offline Voice & Video Calls

  • PCM Audio Streaming: Sub-50ms latency voice streaming over UDP on Port 1052 with hardware AcousticEchoCanceler and NoiseSuppressor.
  • Live Video Streaming: High-framerate CameraX capture compressed via adaptive YUV-to-JPEG and transmitted over UDP on Port 1053.
  • Full Call Controls: Toggle microphone mute, switch to speakerphone, flip cameras, or disable video feeds on the fly.

βš™οΈ 4. Diagnostics & Deep Customization

  • Full-Width Sliding Drawer: Clean 3-line hamburger menu that slides away upon tab selection to grant 100% screen space.
  • Network Diagnostics: Real Hardware MAC address, Wi-Fi link speed in Mbps, frequency band (2.4 / 5 / 6 GHz), gateway, open ports, and live LAN ping latency tester.
  • Chat Customization: Adjustable bubble corner radius slider (4dp - 28dp), preset styles (Telegram, Signal, Modern, Minimal), dark wallpapers, and font size scaling.
  • Profile Picture Manager: Add, change, or remove avatars using Camera capture or Gallery picker.
  • GitHub Updater: Automatic check against GitHub Releases API with 2-second home screen alerts and in-app APK installer.

πŸ“‘ Protocol Specification

Zero Network Connectivity uses a lightweight, multi-port protocol designed for high efficiency and low battery consumption:

Port Transport Function Description
1050 UDP Discovery & Signals Periodic heartbeats, subnet broadcast, ping sweep, typing events, and call signaling packets.
1051 TCP File & Media Transfer Multi-threaded binary file transmission stream with chunks, checksums, and progress tracking.
1052 UDP Voice Calling Real-time 16kHz 16-bit PCM voice streaming with echo cancellation.
1053 UDP Video Calling Compressed JPEG camera frames streamed directly peer-to-peer.

πŸ›‘οΈ Security & Privacy First

flowchart LR
    A[πŸ“± Device A] <=== Direct Encrypted LAN Socket ===> B[πŸ“± Device B]
    A -.x No Cloud Servers x.- C[☁️ External Internet]
    B -.x No Cloud Servers x.- C
Loading
  • Zero Cloud Dependence: No servers, no authentication gateways, and no centralized databases.
  • Local Storage Only: All messages, conversations, and avatars are stored in an encrypted local Room SQLite database on your device.
  • Air-Gapped Ready: Works flawlessly in airplane mode with Wi-Fi / Hotspot turned on.

πŸ› οΈ Architecture & Tech Stack

com.zeronetwork.connectivity/
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ local/          # Room DB (AppDatabase, MessageDao, ConversationDao, PeerDao)
β”‚   β”œβ”€β”€ model/          # Data Models (ChatMessage, Peer, CallSession, NetworkStats)
β”‚   └── repository/     # ChatRepository, PeerRepository
β”œβ”€β”€ network/            # P2P Engine (LanDiscovery, LanFileTransfer, LanCallEngine, NetworkMonitor)
β”œβ”€β”€ ui/
β”‚   β”œβ”€β”€ components/     # SpringBubble, RadarPulse, VoiceRecorder, QrDialog, BottomDock
β”‚   β”œβ”€β”€ screens/        # ChatsTab, FindOthersScreen, CallScreens, SettingsScreen, ProfileScreen
β”‚   β”œβ”€β”€ theme/          # Material 3 Color Schemes, Typography, Shapes
β”‚   └── viewmodel/      # MainViewModel, ChatViewModel, CallViewModel, SettingsViewModel
└── MainActivity.kt     # Root Activity with Edge-to-Edge and Navigation Controller
  • Language: Kotlin 2.0.21
  • UI Framework: Jetpack Compose (Material 3)
  • Local Database: Room 2.6.1 + KSP
  • Camera & Barcodes: CameraX 1.4.1 + ZXing Core 3.5.3
  • Image Pipeline: Coil Compose 2.7.0
  • Target OS: Android 16 (API 36) β€’ Min SDK: Android 8.0 (API 26)

πŸ“₯ Getting Started & Installation

Option 1: Download Pre-Built Release APK

Download the latest verified APK directly from the releases page: πŸ‘‰ Download ZeroNetworkConnectivity-v1.0.1.apk

Option 2: Build from Source

# 1. Clone the repository
git clone https://github.com/smartworldarafath/Zero-Internet-Connectivity.git

# 2. Open directory
cd Zero-Internet-Connectivity

# 3. Build debug APK
./gradlew assembleDebug

# 4. Build optimized release APK
./gradlew assembleRelease


β˜• Support / Buy Me a Coffee & Become a Sponsor

If you find Zero Internet Connectivity helpful and want to support ongoing development, maintenance, and new features, consider contributing through any of the options below! Your support means the world and helps keep this project open-source.

<td align="center" width="25%" valign="top">
  <h4><img src="assets/icons/supportkori.png" alt="SupportKori" height="26" /> SupportKori</h4>
  <a href="https://www.supportkori.com/arafathrahman" target="_blank">
    <img src="assets/supportkori-qr.jpg" alt="SupportKori QR" width="180" style="border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.15);" />
  </a><br/><br/>
  <a href="https://www.supportkori.com/arafathrahman" target="_blank">
    <img src="assets/icons/supportkori.png" alt="SupportKori" width="52" />
  </a><br/>
  <sub>Cards / bKash / Nagad / Global</sub>
</td>
<td align="center" width="25%" valign="top">
  <h4><img src="assets/icons/nsave.png" alt="nsave" height="26" /> nsave</h4>
  <img src="assets/nsave-qr.jpg" alt="nsave QR" width="180" style="border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.15);" /><br/><br/>
  <img src="assets/icons/nsave.png" alt="nsave" width="52" /><br/>
  <sub>Ntag: <code>@arafath_rahman9</code></sub>
</td>
<td align="center" width="25%" valign="top">
  <h4><img src="assets/icons/redotpay.png" alt="RedotPay" height="26" /> RedotPay</h4>
  <img src="assets/redotpay-qr.jpg" alt="RedotPay QR" width="180" style="border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.15);" /><br/><br/>
  <img src="assets/icons/redotpay.png" alt="RedotPay" width="52" /><br/>
  <sub>ID: <code>1965421414</code></sub>
</td>
<td align="center" width="25%" valign="top">
  <h4><img src="assets/icons/payoneer.png" alt="Payoneer" height="26" /> Payoneer</h4>
  <img src="assets/payoneer-info.jpg" alt="Payoneer Info" width="180" style="border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.15);" /><br/><br/>
  <a href="mailto:arafathrahman710@gmail.com?subject=Support%20via%20Payoneer">
    <img src="assets/icons/payoneer.png" alt="Payoneer" width="52" />
  </a><br/>
  <sub>Email: <code>arafathrahman710@gmail.com</code></sub>
</td>

Method Details / Direct Link
SupportKori SupportKori https://www.supportkori.com/arafathrahman
nsave nsave Ntag: @arafath_rahman9 β€’ Md Arafath Rahman
RedotPay RedotPay Account ID: 1965421414
Payoneer Payoneer Email: arafathrahman710@gmail.com β€’ Customer ID: 70366820

🀝 Contributing

Contributions are welcome! Please read our Contributing Guidelines and Code of Conduct before submitting pull requests.


πŸ“„ License

This project is open source and available under the MIT License.


Crafted with ❀️ by Md Arafath Rahman

GitHub β€’ Contact


Buy Me a Coffee
β–² Tap the sticker for the full support page β€” or expand every payment option & the payment QR codes right here
Show all payment options & QR codes

SupportKori SupportKori

SupportKori QR
Cards / bKash / Nagad
supportkori.com/arafathrahman

nsave nsave

nsave QR
Ntag: @arafath_rahman9

RedotPay RedotPay

RedotPay QR
Account ID: 1965421414

Payoneer Payoneer

Payoneer info
arafathrahman710@gmail.com
Customer ID: 70366820

🌍 Outside Bangladesh? One-tap online support β€” cards, Apple Pay & Google Pay:

Buy Me a Coffee online

About

πŸš€ Offline Peer-to-Peer (P2P) LAN & Hotspot Messenger, High-Speed File Transfer, Real-Time Voice & Video Calls for Android built with Jetpack Compose.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages