android - Issue with putting my app in Standby mode
问题描述
I am working on a app currently which has about 7-8 screens. When I first land on the landing screen I can run the following command and the app is setting to inactive
adb shell am set-inactive packagename true
but once I go to the screen to connect a bluethooth device it seems to stop responding to the above command and just show idle false
adb shell am get-inactive packagename
Idle=false
I have checked all my code and all the package names are correct. Spent about 2 days on this now. Can some one please help? Thanks in advance
解决方案
推荐阅读
- firebird - 代理在前一个仍在进行时开始呼叫
- php - 使用PHP(Laravel)将数组对象转换为字符串
- python - 如何通过熊猫连接两列
- puppeteer - 在 puppeteer 中,如何从使用“page.addScriptTag”注入的脚本中访问导出?
- python - 当 driver.find 返回空 [] 时,您将如何使用 selenium 在 html 源代码中突出显示部分
- python - 假设三星平均客户满意度得分最低为 75%
- android - (android) 为什么自定义工具栏使用 BaseTheme?
- webpack - webpack:通过 api 将 sourceMaps 上传到自己的服务器
- javascript - Javascript更改表格选项卡字体颜色
- typescript - 如何使对象工厂保持类型