Skip to content

adaymathers/Secure-Camera---ctOS

Repository files navigation

πŸ›‘οΈ Secure Camera - ctOS

Android Kotlin CameraX License

Professional surveillance camera application with real-time GPS tracking, HD video recording, anti-piracy protection and Watch Dogs-inspired UI. Built with modern Android architecture and enterprise-grade security features.

App Icon

✨ Features

πŸ“Έ Camera & Video

  • High-Definition Photo Capture with CameraX integration
  • HD Video Recording with audio support and enhanced processing
  • Real-time Preview with professional overlay
  • Orientation Detection (Portrait/Landscape adaptive UI)
  • Custom Camera Controls with Watch Dogs-style interface
  • Advanced Video Processing with 3-second sync delays for file integrity
  • Multiple Video Formats support with automatic gallery integration

πŸ›°οΈ Advanced GPS Tracking

  • Real-time Location Updates every 5 seconds
  • Multiple GPS Strategies (LastLocation + Live updates)
  • High Accuracy Mode with fallback providers
  • GPS Status Indicators with precision metrics
  • Location Embedding in photos and videos

πŸ“€ Advanced File Sharing

  • Dual Email Integration with automatic photo/video sending
  • Robust Video Attachments with FileProvider + URI fallback methods
  • Web Server Upload support for enterprise environments
  • Configurable Recipients and server endpoints
  • GPS Metadata included in all transmissions
  • Secure File Sharing via FileProvider with multiple fallback options
  • Gallery Integration - Videos automatically saved to device gallery
  • File System Synchronization for reliable email attachments

πŸ›‘οΈ Security & Anti-Piracy

  • Code Obfuscation with ProGuard
  • Signature Verification to prevent tampering
  • Installation Source Validation
  • Runtime Security Checks
  • Debug Protection mechanisms

🎨 Professional UI

  • ctOS-Inspired Design with green terminal aesthetics
  • Real-time Overlays showing GPS, timestamp, and status
  • Responsive Layouts for all screen orientations
  • Professional Typography with monospace fonts
  • Security Camera Interface elements

πŸ“± Requirements

  • Android 7.0 (API level 24) or higher
  • Camera Permission for photo/video capture
  • Location Permission for GPS tracking
  • Storage Permission for file saving
  • Internet Permission for email/server features
  • Microphone Permission for video audio recording

πŸš€ Installation

Option 1: Download APK

  1. Go to Releases
  2. Download the latest app-debug.apk
  3. Enable "Install from Unknown Sources" in Android settings
  4. Install the APK

Option 2: Build from Source

git clone https://github.com/adaymathers/Secure-Camera---ctOS.git
cd Secure-Camera---ctOS
./gradlew assembleDebug

πŸ› οΈ Development Setup

Prerequisites

  • Android Studio Arctic Fox or newer
  • Android SDK API 24-33
  • Kotlin 1.9.0+
  • Gradle 8.0+

Building

# Clone the repository
git clone https://github.com/adaymathers/Secure-Camera---ctOS.git

# Open in Android Studio or build via command line
cd Secure-Camera---ctOS
./gradlew assembleDebug

# APK location: app/build/outputs/apk/debug/app-debug.apk

βš™οΈ Configuration

Email Setup

  1. Open app β†’ βš™οΈ Settings
  2. Enter email address for automatic sending
  3. Configure SMTP settings (optional)

Web Server Upload

  1. Settings β†’ Enable "Web Server Mode"
  2. Enter server endpoint URL
  3. Configure authentication if required

GPS Settings

  • App automatically uses high-accuracy GPS
  • Ensure location services are enabled
  • Grant "Allow all the time" permission for best results

πŸ“ Project Structure

app/
β”œβ”€β”€ src/main/java/com/ctos/camerahc2/
β”‚   β”œβ”€β”€ MainActivity.kt              # Main camera interface
β”‚   β”œβ”€β”€ ConfigActivity.kt            # Settings configuration
β”‚   └── security/                    # Anti-piracy protection
β”œβ”€β”€ src/main/res/
β”‚   β”œβ”€β”€ layout/                      # UI layouts (portrait/landscape)
β”‚   β”œβ”€β”€ drawable/                    # Icons and graphics
β”‚   └── values/                      # Strings and themes
└── build.gradle                     # Dependencies and build config

πŸ”§ Technologies Used

πŸ›‘οΈ Security Features

This app implements multiple security layers:

  • Code Obfuscation: All code is obfuscated to prevent reverse engineering
  • Signature Verification: Validates app signature to detect tampering
  • Source Validation: Ensures installation from trusted sources
  • Runtime Checks: Continuous security monitoring during execution
  • Debug Protection: Prevents debugging and analysis tools

οΏ½ Changelog

v2.5 (September 2025) πŸš€

  • βœ… FIXED: Video email attachments now work reliably
  • ✨ NEW: Custom ctOS icon integrated across all resolutions
  • πŸ”„ ENHANCED: Dual file sharing methods (FileProvider + URI fallback)
  • ⏱️ IMPROVED: 3-second video processing delay with filesystem sync
  • πŸ“§ ROBUST: Comprehensive email attachment debugging and validation
  • πŸ—‘οΈ CLEANED: Removed landscape layouts (portrait-only optimization)
  • πŸ—οΈ BUILD: Added R8 obfuscation dictionary for better compilation

v2.4 (September 2025)

  • πŸ“Ή NEW: HD Video recording with audio support
  • πŸ“± ENHANCED: Gallery integration for automatic video saving
  • πŸ›‘οΈ SECURITY: Anti-piracy protection implementation
  • 🎨 UI: Watch Dogs-inspired interface improvements

v2.3 (September 2025)

  • πŸ›°οΈ ENHANCED: Advanced GPS tracking with multiple strategies
  • πŸ“§ NEW: Automatic email transmission functionality
  • βš™οΈ CONFIG: Settings activity for app configuration
  • πŸ”’ SECURITY: Enhanced security measures and validation

οΏ½πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

🀝 Contributing

  1. Fork the project
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ž Support

  • Issues: GitHub Issues
  • Documentation: Wiki
  • Security: Report security issues privately

🎯 Roadmap

  • Cloud Backup integration
  • Multi-camera support
  • Motion Detection alerts
  • Live Streaming capabilities
  • Facial Recognition (optional)
  • Dark Mode theme

⚑ Built with passion for security and surveillance technology

About

πŸ›‘οΈ Secure Camera - ctOS | Professional surveillance camera app with real-time GPS tracking, HD video recording, anti-piracy protection & Watch Dogs-inspired UI. Features CameraX integration, automatic email sending, orientation detection & security overlays. Android 7.0+ πŸ“±πŸŽ―

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors