Re: [android-developers] Re: Disabling the USB port?

2010-09-14 Thread Mark Murphy
On Mon, Sep 13, 2010 at 11:56 PM, Tez earlencefe...@gmail.com wrote: Mark, There is a adb_enabled value in Settings.Secure. I think this is related to USB debugging. Yes, you're correct. I was hunting for USB and that one didn't catch my eye. My apologies. Hence, if you are rolling your own

Re: [android-developers] Re: Disabling the USB port?

2010-09-13 Thread Mark Murphy
On Mon, Sep 13, 2010 at 8:59 AM, Tez earlencefe...@gmail.com wrote: Is there any other way that can block the USB port so that no data is transferred? I sure hope not. Where are the corresponding source files? I have no idea. I work at the SDK level, and I know there's nothing much in the

Re: [android-developers] Re: Disabling the USB port?

2010-09-13 Thread Mark Murphy
On Mon, Sep 13, 2010 at 12:55 PM, Tez earlencefe...@gmail.com wrote: If I understand you correctly, if I turn off USB debugging, Even if I connect the phone via cable, I won't be able to run commands such as adb etc. Is this correct? Yes. If so, how is USB debugging turned off? The user

Re: [android-developers] Re: Disabling the USB port?

2010-09-13 Thread Robert Craig
compile your own version of adbd that doesn't support said features. or just don't include adbd at all. On Mon, Sep 13, 2010 at 11:56 PM, Tez earlencefe...@gmail.com wrote: Mark, There is a adb_enabled value in Settings.Secure. I think this is related to USB debugging. Niko20, No, I