At this point the USB connection is not intended for application use.  It is
for developers.  You should NOT be writing apps that have users turn on this
developer mechanism; that opens up security holes to them that they are
likely not going to be aware of.  (Though we did add to the platform the
notification about the USB debugging connection being activity just to help
them know about this and encourage them to turn it off.)

On Wed, Jun 2, 2010 at 6:24 AM, ftovalle <ftova...@gmail.com> wrote:

> thanks for your repply!
> But, i saw some applications that run trough usb connection, and do
> that communication very well. For example
> https://gems.codaset.com/jens-riboe/droidatscreen.
> This application shows a device screen in your pc, and do it trough
> usb connection.
>
>
>
> On 1 jun, 16:56, Bob Kerns <r...@acm.org> wrote:
> > May I ask *why* you don't want to use HTTP?
> >
> > USB isn't really an option. The normal approach is to use the net. I
> > understand completely that there can be disadvantages in different
> > environments, however, very few of those disadvantages have any
> > relationship to the HTTP protocol. My guess is that it's not really
> > HTTP that you have a concern with, but some other aspects of
> > networking, such as discovery, security, firewalls.
> >
> > There's plenty of reason to want a more predictable type of connection
> > between a single user's PC an device. USB would seem to be it because
> > of that nice wire, but it's not, due to lack of platform support.
> >
> > Perhaps a better alternative would be Bluetooth? Perhaps even HTTP
> > over IP over Bluetooth...
> >
> > On Jun 1, 11:11 am, Felipe Ovalle <ftova...@gmail.com> wrote:
> >
> > > Hello,
> > > anybody knows a code example for communicate one android application to
> a
> > > desktop java application to do something like update one desktop mysql
> > > database for example? I want this connection trough usb cable (i
> think). I
> > > don´t wanna make this connection trough http.
> >
> > > thanks!
> >
> > > --
> > > Felipe Tomás Ovalle / ftovalle
> > > Desarrollo de Sistemas Java, Android, Php
> > > Tel. 54 341 155 052447 -www.ftovalle.com.ar-
> > > Msn: ftova...@hotmail.com -
> > > Skype: ftovalle
> >
> >
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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