# SmsForwarder | pppscn | Knowledge Base | Instagit

短信转发器——监控Android手机短信、来电、APP通知，并根据指定规则转发到其他手机：钉钉群自定义机器人、钉钉企业内机器人、企业微信群机器人、飞书机器人、企业微信应用消息、邮箱、bark、webhook、Telegram机器人、Server酱、PushPlus、手机短信等。包括主动控制服务端与客户端，让你轻松远程发短信、查短信、查通话、查话簿、查电量等。（V3.0 新增）PS.这个APK主要是学习与自用，如有BUG请提ISSUE，同时欢迎大家提PR指正

GitHub Stars: 26.6k

Repository: https://github.com/pppscn/SmsForwarder

---

## Articles

### [How to Troubleshoot SmsForwarder Message Forwarding Failures Using Logs](/pppscn/SmsForwarder/how-to-troubleshoot-smsforwarder-message-forwarding-failures-using-logs)

Troubleshoot SmsForwarder message forwarding failures with ease. Learn to effectively use local logs and Logcat to diagnose and resolve issues. Essential guide for developers.

- Tags: how-to-guide
- Published: 2026-06-22

### [SmsForwarder Pure Client Mode: Use Cases and Implementation Guide](/pppscn/SmsForwarder/what-are-the-use-cases-for-smsforwarders-pure-client-mode)

Explore SmsForwarder pure client mode use cases. Control your device remotely, send SMS, and query device status, all while disabling forwarding services for enhanced security and focused control.

- Tags: how-to-guide
- Published: 2026-06-22

### [How the Bark Notification Push Integration Works in SmsForwarder](/pppscn/SmsForwarder/how-does-the-bark-notification-push-integration-work-in-smsforwarder)

Learn how SmsForwarder's Bark notification integration transforms messages into HTTP POST requests via the Bark API. Supports verification code detection, AES encryption, and Basic Auth.

- Tags: deep-dive
- Published: 2026-06-22

### [How SmsForwarder Implements Lock Screen State Detection and Conditional Forwarding](/pppscn/SmsForwarder/how-does-smsforwarder-implement-lock-screen-state-detection-and-conditional-forwarding)

Discover how SmsForwarder detects lock screen state and conditionally forwards messages. Learn about its use of LockScreenReceiver, SharedPreferences, and WorkManager for efficient message management.

- Tags: internals
- Published: 2026-06-22

### [Bluetooth and Network State Change Triggers in SmsForwarder: A Complete Guide](/pppscn/SmsForwarder/what-are-the-bluetooth-and-network-state-change-triggers-in-smsforwarder)

Discover Bluetooth and network state change triggers in SmsForwarder. Learn how this guide details event handling for seamless message forwarding based on device and connectivity status.

- Tags: how-to-guide
- Published: 2026-06-22

### [How SmsForwarder Implements Call Logging and Call Event Forwarding: PhoneUtils and CallReceiver Analysis](/pppscn/SmsForwarder/how-does-smsforwarder-implement-call-logging-and-call-event-forwarding)

Discover how SmsForwarder implements call logging and event forwarding using PhoneUtils and CallReceiver. Learn to track call details and forward events efficiently.

- Tags: internals
- Published: 2026-06-22

### [How Cron-Based Scheduled Tasks Are Implemented in SmsForwarder: WorkManager and Cron Parser Integration](/pppscn/SmsForwarder/how-are-cron-based-scheduled-tasks-implemented-in-smsforwarder)

Discover how SmsForwarder implements cron scheduled tasks using WorkManager and CronParser. Learn about CronWorker for execution and CronJobScheduler for timing.

- Tags: internals
- Published: 2026-06-22

### [SmsForwarder Battery Monitoring and Charging State Trigger System: A Deep Dive into the Source Code](/pppscn/SmsForwarder/what-is-smsforwarders-battery-monitoring-and-charging-state-trigger-system)

Explore SmsForwarder's battery monitoring and charging state trigger system. Learn how it uses Android BroadcastReceiver and WorkManager for automated actions based on custom conditions.

- Tags: deep-dive
- Published: 2026-06-22

### [Database Schema and Repository Pattern in SmsForwarder: Room Architecture Explained](/pppscn/SmsForwarder/what-is-the-database-schema-and-repository-pattern-used-in-smsforwarder)

Explore the SmsForwarder database schema and repository pattern. Learn how Room architecture, six entities, and DAO abstraction empower your ViewModel layer.

- Tags: architecture
- Published: 2026-06-22

### [How SmsForwarder Handles App Notification Forwarding Using NotificationListenerService](/pppscn/SmsForwarder/how-does-smsforwarder-handle-app-notification-forwarding-using-notificationlistenerservice)

Discover how SmsForwarder uses NotificationListenerService to forward app notifications. Learn about interception, filtering, and delivery via WorkManager.

- Tags: deep-dive
- Published: 2026-06-22

### [SmsForwarder's FRP (Reverse Proxy) Integration for NAT Traversal: A Technical Deep Dive](/pppscn/SmsForwarder/what-is-smsforwarders-frp-reverse-proxy-integration-for-nat-traversal)

Discover SmsForwarder's FRP integration for NAT traversal. Expose local Android services publicly using a reverse proxy and outbound TCP tunnels through FRP.

- Tags: deep-dive
- Published: 2026-06-22

### [How SmsForwarder Implements MMS Message Handling and Parsing in Android](/pppscn/SmsForwarder/how-does-smsforwarder-implement-mms-message-handling-and-parsing)

Discover how SmsForwarder handles MMS messages by registering broadcast receivers, decoding message parts like text and images using Java reflection, and merging them for forwarding. Learn the technical implementation.

- Tags: internals
- Published: 2026-06-22

### [SmsForwarder Rule Matching Algorithm and Condition Evaluation System Explained](/pppscn/SmsForwarder/what-is-smsforwarders-rule-matching-algorithm-and-condition-evaluation-system)

Explore SmsForwarder's rule matching algorithm and condition evaluation. Understand how it parses conditions and validates triggers for efficient SMS forwarding.

- Tags: deep-dive
- Published: 2026-06-22

### [How WorkManager-Based Background Processing Works in SmsForwarder: A Deep Dive into the Architecture](/pppscn/SmsForwarder/how-does-workmanager-based-background-processing-work-in-smsforwarder)

Explore SmsForwarder's WorkManager architecture. Discover how custom CoroutineWorkers ensure reliable background processing for SMS forwarding and task scheduling without UI thread blocking.

- Tags: deep-dive
- Published: 2026-06-22

### [How to Configure the Silent Period (Do Not Disturb) Time in SmsForwarder](/pppscn/SmsForwarder/how-is-the-silent-period-do-not-disturb-time-configured-in-smsforwarder)

Learn how to configure the silent period Do Not Disturb time in SmsForwarder. Understand how start and end times are stored and enforced for uninterrupted messaging.

- Tags: how-to-guide
- Published: 2026-06-22

### [How SmsForwarder Prevents Duplicate Message Forwarding with Its Deduplication Mechanism](/pppscn/SmsForwarder/how-does-smsforwarder-prevent-duplicate-message-forwarding-with-its-deduplication-mechanism)

Learn how SmsForwarder uses a time-based deduplication mechanism to prevent duplicate message forwarding, ensuring efficient SMS management. Discover its SharedPreferences configuration.

- Tags: internals
- Published: 2026-06-22

### [SmsForwarder Sender Architecture: How to Add New Forwarding Targets](/pppscn/SmsForwarder/what-is-the-architecture-of-smsforwarders-sender-system-and-how-to-add-new-forwarding-targets)

Explore SmsForwarder's pluggable sender architecture. Learn how to add new forwarding targets by creating four components, extending its functionality without modifying the core.

- Tags: architecture
- Published: 2026-06-22

### [How SmsForwarder Implements SMS Command Control with the smsf# Prefix](/pppscn/SmsForwarder/how-does-smsforwarder-implement-sms-command-control-with-the-smsf-prefix)

Discover how SmsForwarder uses the smsf# prefix to implement SMS command control. Securely manage Wi-Fi, FRPC tunnels, and power remotely with this powerful tool.

- Tags: internals
- Published: 2026-06-22

### [How SmsForwarder Implements Dual SIM Card Detection and Handling: A Complete Technical Guide](/pppscn/SmsForwarder/what-is-the-dual-sim-card-detection-and-handling-mechanism-in-smsforwarder)

Discover how SmsForwarder uses a three-layer architecture to detect and handle dual SIM cards, ensuring accurate message routing.

- Tags: deep-dive
- Published: 2026-06-22

### [How SmsForwarder Processes SMS Messages and Routes Them Through Rules to Senders](/pppscn/SmsForwarder/how-smsforwarder-processes-sms-messages-and-routes-them-through-rules-to-senders)

Learn how SmsForwarder processes SMS messages using a WorkManager pipeline. Discover how it evaluates rules and routes SMS to Telegram, HTTP, and other sender implementations.

- Tags: internals
- Published: 2026-06-22

