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, but it sounds like
> you're asking about doing it through code and that I have no idea about.
>
> --
> Chris Stewarthttp://chriswstewart.com
>
> Fantasy 
> Football<http://chriswstewart.com/android-applications/fantasy-football/>-
> Android app for MFL fantasy football owners
> Fantasy Football
> Insider<http://chriswstewart.com/android-applications/fantasy-football-insider/>-
> Android app for all fantasy football fanatics
> Social Updater<http://chriswstewart.com/android-applications/social-updater/>-
> An easy way to send your status blast to multiple social networks
>
> On Fri, Aug 27, 2010 at 1:35 PM, Arjun <arjunf...@gmail.com> wrote:
> > Greetings,
>
> > Is there any class or managaer which allows me to turn USB debugging
> > on/off  in android froyo 2.2.
> > Please, let me know on how to acheive this.
>
> > Thanks,
> > Arjun.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to