[android-developers] Re: Is there anyway to turn USB debuggin on/off

2010-08-31 Thread FrankG
Hi Arjun, Are you working for a specific platform and provide a specific platform extension ? If yes you can use the platform class i.e. android.os.SystemProperties to set the persistent property which controls adbd. Look in your init.rc and grep for adbd .. you will see the property I mean.

[android-developers] Re: Is there anyway to turn USB debuggin on/off

2010-08-27 Thread Arjun
Yes Chris, I want do it thru code. I need to completly disable usb and simply act as Power connector. On Aug 27, 10:57 am, Chris Stewart cstewart...@gmail.com wrote: Are you trying to do this from code, or through the UI?  There's the option for it under Settings - Applications - Development,