├── settings.gradle ├── app ├── src │ └── main │ │ ├── res │ │ ├── values-night │ │ │ ├── alpha.xml │ │ │ └── colors.xml │ │ ├── drawable-hdpi │ │ │ ├── ic_stat.webp │ │ │ └── character_set.webp │ │ ├── drawable-mdpi │ │ │ ├── ic_stat.webp │ │ │ └── character_set.webp │ │ ├── drawable-xhdpi │ │ │ ├── ic_stat.webp │ │ │ └── character_set.webp │ │ ├── drawable-xxhdpi │ │ │ ├── ic_stat.webp │ │ │ └── character_set.webp │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── values │ │ │ ├── alpha.xml │ │ │ ├── ic_launcher_background.xml │ │ │ ├── telegram_sms.xml │ │ │ ├── dimens.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── drawable │ │ │ ├── ic_add.xml │ │ │ ├── ic_scan_code.xml │ │ │ └── ic_launcher_foreground.xml │ │ ├── menu │ │ │ ├── logcat_menu.xml │ │ │ └── main_menu.xml │ │ ├── xml │ │ │ └── network_security_config.xml │ │ ├── layout │ │ │ ├── activity_scanner.xml │ │ │ ├── set_keyword_layout.xml │ │ │ ├── activity_qrcode.xml │ │ │ ├── activity_spam_list.xml │ │ │ ├── activity_logcat.xml │ │ │ ├── activity_notify_apps_list.xml │ │ │ ├── item_app_info.xml │ │ │ ├── set_proxy_layout.xml │ │ │ └── activity_main.xml │ │ └── drawable-anydpi-v24 │ │ │ └── ic_stat.xml │ │ ├── java │ │ └── com │ │ │ └── qwe7002 │ │ │ └── telegram_sms │ │ │ ├── data_structure │ │ │ ├── sms_request_info.java │ │ │ ├── polling_json.java │ │ │ ├── request_message.java │ │ │ └── reply_markup_keyboard.java │ │ │ ├── config │ │ │ └── proxy.java │ │ │ ├── upgrade_data │ │ │ ├── proxy_config.java │ │ │ └── update_to_version1.java │ │ │ ├── value │ │ │ ├── notify_id.java │ │ │ └── const_value.java │ │ │ ├── wap_receiver.java │ │ │ ├── static_class │ │ │ ├── resend_func.java │ │ │ ├── service_func.java │ │ │ ├── ussd_func.java │ │ │ ├── log_func.java │ │ │ ├── network_func.java │ │ │ ├── sms_func.java │ │ │ └── other_func.java │ │ │ ├── boot_receiver.java │ │ │ ├── qrcode_show_activity.java │ │ │ ├── logcat_activity.java │ │ │ ├── scanner_activity.java │ │ │ ├── spam_list_activity.java │ │ │ ├── sms_send_receiver.java │ │ │ ├── sim_status_receiver.java │ │ │ ├── ussd_request_callback.java │ │ │ ├── resend_service.java │ │ │ ├── notification_listener_service.java │ │ │ ├── call_receiver.java │ │ │ ├── battery_service.java │ │ │ ├── notify_apps_list_activity.java │ │ │ └── sms_receiver.java │ │ └── AndroidManifest.xml └── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .reall_network ├── changelog.txt └── .gitlab-ci.yml ├── .github ├── workflows │ ├── github-action-only.jks │ └── android.yml └── FUNDING.yml ├── .editorconfig ├── .gitmodules ├── gradle.properties ├── .gitignore ├── LICENSE ├── gradlew.bat ├── gradlew ├── README.md └── externals_license └── artworks └── ic_stat /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/res/values-night/alpha.xml: -------------------------------------------------------------------------------- 1 | 2 | 0.2 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.reall_network/changelog.txt: -------------------------------------------------------------------------------- 1 | - Repair SMS command function 2 | 3 | - Add support for sending SMS commands with dual cards 4 | -------------------------------------------------------------------------------- /.github/workflows/github-action-only.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/.github/workflows/github-action-only.jks -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_stat.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-hdpi/ic_stat.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_stat.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-mdpi/ic_stat.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_stat.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-xhdpi/ic_stat.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_stat.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-xxhdpi/ic_stat.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values/alpha.xml: -------------------------------------------------------------------------------- 1 | 2 | 0.15 3 | 0.8 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/character_set.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-hdpi/character_set.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/character_set.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-mdpi/character_set.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/character_set.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-xhdpi/character_set.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/character_set.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/drawable-xxhdpi/character_set.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwe7002/telegram-sms/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values-night/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #423D4C 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/telegram_sms.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Telegram SMS 4 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | github: qwe7002 3 | custom: ["https://get.telegram-sms.com/donate/paypal","https://get.telegram-sms.com/donate/unionpay"] 4 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/data_structure/sms_request_info.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms.data_structure; 2 | 3 | public class sms_request_info { 4 | public String phone; 5 | public int card; 6 | } 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jul 14 23:01:04 CST 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #423d4c 4 | #302C37 5 | #ffb049 6 | #000000 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/config/proxy.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms.config; 2 | 3 | public class proxy { 4 | public int port = 1080; 5 | public String host = ""; 6 | public String username = ""; 7 | public String password = ""; 8 | public boolean enable = false; 9 | public boolean dns_over_socks5 = true; 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_add.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/upgrade_data/proxy_config.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms; 2 | 3 | public class proxy_config { 4 | public int proxy_port = 1080; 5 | public String proxy_host = ""; 6 | public String username = ""; 7 | public String password = ""; 8 | public boolean enable = false; 9 | public boolean dns_over_socks5 = true; 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/value/notify_id.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms.value; 2 | 3 | public class notify_id { 4 | public static final int BATTERY = 1; 5 | public static final int CHAT_COMMAND = 2; 6 | public static final int NOTIFICATION_LISTENER_SERVICE = 3; 7 | //public static final int SEND_USSD_SERVCE_NOTIFY_ID = 4; 8 | public static final int RESEND_SERVICE = 5; 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/data_structure/polling_json.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms.data_structure; 2 | 3 | public class polling_json { 4 | //Predefined types that accept return 5 | @SuppressWarnings({"unused", "RedundantSuppression"}) 6 | public final String[] allowed_updates = {"message", "channel_post", "callback_query"}; 7 | public long offset; 8 | public int timeout; 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/logcat_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/xml/network_security_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/value/const_value.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms.value; 2 | 3 | import okhttp3.MediaType; 4 | 5 | public class const_value { 6 | public static final int SYSTEM_CONFIG_VERSION = 1; 7 | public static final String BROADCAST_STOP_SERVICE = "com.qwe7002.telegram_sms.stop_all"; 8 | public static final MediaType JSON = MediaType.parse("application/json; charset=utf-8"); 9 | public static final int RESULT_CONFIG_JSON = 1; 10 | } 11 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | end_of_line = lf 9 | insert_final_newline = true 10 | # Matches multiple files with brace expansion notation 11 | # Set default charset 12 | 13 | # Matches the exact files either package.json or .travis.yml 14 | [{package.json, .travis.yml, .gitlab-ci.yml, android.yml}] 15 | indent_style = space 16 | indent_size = 4 17 | 18 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "app/language_pack"] 2 | path = app/language_pack 3 | url = https://github.com/telegram-sms/language_pack.git 4 | [submodule "app/src/main/java/com/github/sumimakito/awesomeqrcode"] 5 | path = app/src/main/java/com/github/sumimakito/awesomeqrcode 6 | url = https://github.com/telegram-sms/AwesomeQrRenderer.git 7 | [submodule "app/src/main/java/com/github/sumimakito/codeauxlib"] 8 | path = app/src/main/java/com/github/sumimakito/codeauxlib 9 | url = https://github.com/telegram-sms/CodeauxLibPortable.git 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/data_structure/request_message.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms.data_structure; 2 | 3 | public class request_message { 4 | //Turn off page preview to avoid being tracked 5 | @SuppressWarnings({"unused", "RedundantSuppression"}) 6 | public final boolean disable_web_page_preview = true; 7 | public long message_id; 8 | public String parse_mode; 9 | public String chat_id; 10 | public String text; 11 | public reply_markup_keyboard.keyboard_markup reply_markup; 12 | } 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/qwe7002/telegram_sms/wap_receiver.java: -------------------------------------------------------------------------------- 1 | package com.qwe7002.telegram_sms; 2 | 3 | import android.content.BroadcastReceiver; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.util.Log; 7 | 8 | import org.jetbrains.annotations.NotNull; 9 | 10 | public class wap_receiver extends BroadcastReceiver { 11 | @Override 12 | public void onReceive(final Context context, @NotNull Intent intent) { 13 | Log.d("wap_receiver", "Receive action: " + intent.getAction()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 |