https://github.com/lalakii/android_airplane_mode
android switch airplane mode by reflection, need shizuku permission.
https://github.com/lalakii/android_airplane_mode
airplane android android-airplane android-airplane-mode android-hidden-api reflection setairplanemode
Last synced: about 2 months ago
JSON representation
android switch airplane mode by reflection, need shizuku permission.
- Host: GitHub
- URL: https://github.com/lalakii/android_airplane_mode
- Owner: lalakii
- Created: 2023-05-30T11:53:46.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T12:05:16.000Z (12 months ago)
- Last Synced: 2025-03-29T11:12:18.644Z (3 months ago)
- Topics: airplane, android, android-airplane, android-airplane-mode, android-hidden-api, reflection, setairplanemode
- Language: Java
- Homepage:
- Size: 1010 KB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-shizuku - android_airplane_mode - Sample app that can switch airplane mode `No license` (Apps / Development utilities)
README
# Android Airplane Mode

+ Requires shizuku permission:[Get Shizuku App](https://github.com/RikkaApps/Shizuku/releases/)
+ TargetSdk <= 27 (Android 8.1)## README.en
Implement flight mode switch through reflection, `setAirplaneMode` method has been removed from the source code since Android 8.1, the targetSdk version at compile time must not be too high, or else you can't find the “**setAirplaneMode**” method through the reflection class!
## README.zh_CN
通过反射实现飞行模式开关,`setAirplaneMode`方法自Android 8.1之后的源码中已移除,编译时的targetSdk版本不能太高,否则无法通过反射类找到"**setAirplaneMode**"方法!
## Demo
## About
Old version: https://github.com/iamverycute/TAM