Fast Share is a high-speed, offline file-transfer Android application. Built natively with Java, it leverages the Google Nearby Connections API to facilitate seamless peer-to-peer (P2P) file sharing without requiring an active internet connection.
Designed with a focus on speed and stability, Fast Share utilizes NIO (Non-blocking I/O) Zero-Copy transfer protocols to maximize hardware bandwidth, reaching speeds up to 50 MB/s (hardware dependent).
- 100% Offline Sharing: Transfer files locally via Bluetooth, Wi-Fi Direct, and Hotspot without consuming mobile data.
- Ultra-Fast Transfer Engine: Uses
FileChannel.transferTo()(Zero-Copy) for instant payload saving and large file (e.g., 10GB+ movies) handling without CPU bottlenecks. - Universal File Support: Share installed Apps (extracted as APKs), Photos, Videos, and any system Documents.
- Smart Device Discovery:
- Interactive Radar UI to discover nearby users.
- QR Code Scanner for instant, secure device pairing.
- Real-Time Dashboard: Custom liquid wave progress UI, live speed tracking (MB/s), and real-time payload estimations.
- Hardware Stabilization: Smart micro-delays between metadata and payload transmission to prevent crashes on low-end devices.
- Transfer History: Built-in history tracking to review sent and received files.
- Profile Customization: Choose from distinct avatar icons and customize device display names.
- Storage Management: Real-time internal storage tracking and one-tap access to Android's storage manager.
- Monetization Ready: Seamlessly integrated with Unity Ads (Banner & Interstitial) with intelligent ad-loading that preserves the user experience.
- Language: Java
- UI: XML / Material Design Components
- Core API: Google Play Services Nearby Connections API (
18.5.0) - Barcode/QR Scanner: ZXing Android Embedded (
4.3.0) - Ads SDK: Unity Ads (
4.12.2) - Build System: Gradle (7.5) / AGP (7.4.2)
app/src/main/java/com/fastshare/transfer/
├── MainActivity.java # Dashboard, Profile, Storage & Permissions
├── FilePickerActivity.java # Multi-tab file selector (Apps, Photos, Files)
├── DeviceDiscoveryActivity.java# Radar UI, Advertising/Discovery & QR Scanning
├── TransferActivity.java # NIO Engine, Payload routing, Wave UI
├── HistoryActivity.java # Transfer logs and details
├── PortraitCaptureActivity.java# Custom ZXing orientation lock
└── WaveProgressView.java # Custom UI component for transfer progress
- Android Studio (Flamingo/Giraffe or later) OR AndroidIDE (for on-device compilation).
- Minimum SDK:
24(Android 7.0 Nougat) - Target SDK:
34(Android 14)
- Clone the repository:
git clone https://github.com/simplefysakib/FastShare.git
- Open the Project: Open the cloned directory in Android Studio.
- Sync Gradle:
Ensure
gradle-wrapper.propertiesis set to Gradle7.5. Sync the project to download dependencies. - Run the App:
Connect an Android device (or emulator with Bluetooth/Wi-Fi support) and press Run (
Shift + F10).
Note on App Signing: To generate a release APK for app stores, configure the
signingConfigsblock inapp/build.gradlewith your JKS keystore details.
- Tap the large SEND button on the Home Screen.
- Navigate through the
Apps,Photos, orFilestabs. Select multiple items. - Tap Send Selected.
- Wait for the Radar to discover the receiver's avatar, or tap Scan QR to scan the receiver's screen.
- Watch the blazing fast transfer on the Progress Screen!
- Tap the large RECEIVE button on the Home Screen.
- Your device will instantly generate a QR code and begin advertising its presence.
- Accept the incoming connection prompt.
- Received files are automatically saved to
Internal Storage > Downloads > FastShare.
Fast Share requests permissions strictly necessary for P2P networking and file management:
BLUETOOTH_SCAN,BLUETOOTH_ADVERTISE,BLUETOOTH_CONNECT(Android 12+)NEARBY_WIFI_DEVICES(Android 13+)ACCESS_FINE_LOCATION(Required by Google Nearby API for discovery)READ/WRITE_EXTERNAL_STORAGE(Android 10 and below)MANAGE_EXTERNAL_STORAGE(Android 11+ for full file access and APK extraction)
This project is licensed under the MIT License - see the LICENSE file for details.