有时我需要将一些音乐从我的电脑转移到我的Galaxy S2,并且必须始终激活USB调试。然后我想,我可以永远保持一般吗?我的意思是,永远保持它可以给我一个问题(成本电池?)?什么是USB调试?
有时我需要将一些音乐从我的电脑转移到我的Galaxy S2,并且必须始终激活USB调试。然后我想,我可以永远保持一般吗?我的意思是,永远保持它可以给我一个问题(成本电池?)?什么是USB调试?
Sometimes I need to transfer some music from my PC to my Galaxy S2 and must always activate USB debugging. Then I think, can I keep it ON forever? I mean, Keep it ON for ever can give me a problem (cost battery?) ? And what's USB debugging?
启用USB调试基本上启动了设备上的 abcdefghijklmnadb
守护程序,这允许它与另一个设备上的 abcdefghijklmnadb
通信以启用调试命令。它在开发和调试应用程序时使用,并允许您(主要)到:
logcat
让它保持所有时间将对电池产生可忽略不计的影响,如果有的话。其他一些需要考虑的事情(或不):
另请参阅:使用来自Android SDK文档的硬件设备,该文档讨论了物理设备上的调试应用程序(而不是模拟器)。还有一个关于 android调试桥(adb)的文档页面解释了它的目的及其目的命令。
Enabling USB debugging essentially starts up the adb
daemon on your device, which allows it to communicate with adb
on another device to enable debugging commands. It's used when developing and debugging applications, and allows you (primarily) to:
logcat
Leaving it enabled all the time will have a negligible impact on battery, if any at all. Some other things to consider about leaving it on (or not):
See also: Using Hardware Devices from the Android SDK documentation which discusses debugging applications on physical devices (rather than the emulator). There is also a documentation page regarding the Android Debug Bridge (ADB) which explains its purpose and its commands.
使 eldarerathis'con
一个可以使用 tasker 或 locale 一起与安全设置插件自动切换 USB调试在安全位置(例如,基于Cell Towers,网络/ GPS位置,连接或遥不可及的WiFi网络),并在离开时将其关闭(使用 Tasker )。使用nfc标记和 locale nfc插件它也可以按需将其打开/关闭。
即使在不触摸屏幕的情况下也是如此 - 所以即使屏幕被打破,它也会起作用。那个"肆无忌惮的个人" 那么必须在你的"安全位置" 或有你的标签,并且必须知道那些情况 - 这危险得多。
如果您的设备不属于将其存储与 USB调试安装的小组,则这将留下几乎没有"CON" 。
To make one of eldarerathis' cons less critical:
One could use Tasker or Locale together with the Secure Settings plugin to automatically toggle USB Debugging on for safe locations (based e.g. on cell towers, network/GPS location, WiFi networks connected or in reach), and toggle it off (exit-task with Tasker) when leaving such. With a NFC tag and the Locale NFC Plugin it could also be switched it on/off on demand.
All that even without touching the screen -- so it would work even if the screen is broken. And that "unscrupulous individual" then would have to be in your "safe location" or have your tag, and must know those circumstances -- which is much less risky.
If your device does not belong to that small group having trouble mounting their storage with USB Debugging turned on, this would leave almost no "Con" then.
当将其插入计算机时,最大的下行程序无法将其作为大容量存储设备安装。使用它打开它将始终假设您要调试设备。如果您正在开发电话或使用手机使用adb,则您真的只需要它打开它。 adb程序仅通过Android SDK可用,因此它不是用户的平均需求。据说我一直都在继续打开,但这只是为了安卓开发而康复,因为我更频繁地使用它作为大容量存储。你的里程可能会有所不同。
The biggest downside is not being able to mount it as a mass storage device when you plug it into the computer. With it turned on it will always assume you want to debug the device. You really only need it turned on if you are developing software for the phone or plan on using adb with your phone. The adb program is only available through the Android SDK so its not something average users need. That being said I keep my turned on all the time, but that's only for connivence for doing Android development because I do that more often that use it as a mass storage. You mileage may vary.
您无需始终继续调试。在一些设备中,它会影响电池的充电。在保持调试时,充电速度变得非常低....它会花费超过5个小时才能全额充电....如果您有这样的问题,请继续USB调试,仅在您需要时。 ....
You don't have need to keep debugging always on. In some devices it affects the charging of battery. When debugging is kept on, the charging speed becomes very low.... it'll take more than 5 hours to full charge.... if you have such problem then keep off usb debugging, ON it only when you need......
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有