上次分析:2026年4月5日
Pocket Mode can detect when the phone is in a pocket or other enclosed space and turn off the display to prevent accidental clicks. This can help to prevent unintentional phone calls, text messages, or app launches, which can be frustrating and inconvenient. I have developed this app because stock Android lacks this feature and my phone always changes something or disables important things while laying inside a pocket. Seriously, this had to be stopped. The app is completely free and open source, the donations are welcomed but do not provide any benefit for the user. https://github.com/AChep/PocketMode How does it work: Pocket mode monitors the proximity sensor for a fraction of a second after turning the screen on. If in this time window the proximity sensor has been covered for a defined period the app turns the screen back off. Used permissions explained: - Accessibility service -- Pocket Mode uses accessibility service to send the command that locks the screen. Without it locking the screen would require a PIN code on each unlock, ruining the user experience. - android.permission.RECEIVE_BOOT_COMPLETED -- needed to restart the service after a reboot. - android.permission.READ_PHONE_STATE -- needed to pause screen locking while call is ongoing.
| 母公司 | |||
|---|---|---|---|
开发框架6 | |||
Android 官方兼容支持库 | 跨平台框架 | Android | 谷歌 |
Google 遥测传输库 | 开发工具 | Firebase | 谷歌 |
Google 核心服务框架 | 原生框架 | Google Play | 谷歌 |
Google 核心 Java 工具库 | 开发工具 | Guava | 谷歌 |
Google Material Design 组件库 | 开发工具 | Material Design | 谷歌 |
Material Design 对话框库 | 开发工具 | material-dialogs | Aidan Follestad |
支付与电商2 | |||
Google 移动应用综合开发平台 | 平台业务对接 | Firebase | 谷歌 |
Google Play 应用内付费结算服务 | 支付网关 | Google Play | 谷歌 |
分析与归因1 | |||
Firebase 应用数据分析服务 | 产品分析 | Firebase | 谷歌 |
广告与变现1 | |||
Google 移动广告变现平台 | 广告网络 | Google Ads | 谷歌 |
性能与稳定1 | |||
Firebase 主力崩溃报告分析工具 | 崩溃报告 | Firebase | 谷歌 |