Re: Getting internet from PC via USB

by Mark Murphy » Mon, 14 Mar 2011 21:54:48 GMT


Sponsored Links
 


There is no support for this in the Android SDK, sorry.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android Training in Oslo:  http://bit.ly/fjBo24 

-- 



Re: Getting internet from PC via USB

by Tina » Mon, 14 Mar 2011 22:10:23 GMT


 Hi, Mark!

Yes, I know that it is no support for this in the Android SDK. But,
devices exist and some application could use go to the internet via
PC.

I think that it means that firmware providers supports this
functionality somehow.
The question is: may be someone knows how it was done?

Tina







-- 


Sponsored Links


Re: Re: Getting internet from PC via USB

by Mark Murphy » Mon, 14 Mar 2011 22:18:55 GMT


 


This list is for the Android SDK. Either speak to the manufacturers in
question, or perhaps inquire on one of the Google Groups listed on
 http://source.android.com .

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android Training in Oslo:  http://bit.ly/fjBo24 

-- 



Getting internet from PC via USB

by Tina » Mon, 14 Mar 2011 22:20:34 GMT


 Hi, all.
Our customers send us the request to support internet access via USB.
I know that some tablet (f. ex. WowPad, AL-10 etc) supports such
functionality, but have no idea how this option could be reached from
API.
Now I use HttpPost and HttpGet classes but they does not work throught
PC.

Thanks,
Tina

-- 



Re: Getting internet from PC via USB

by Tina » Mon, 14 Mar 2011 22:40:36 GMT


 Thank you for your answer again.
I will post same question to the source group. But, the question is
about Android SDK.
May be someone has expirience or information which part of stardart
SDK supports on these devices. I am not going to write device-specific
code, but if I could solve the problem by using another standard
function it will be very good.
Unfortunately I have not such device and could not make tests by
myself.
Tina

-- 



Re: Re: Getting internet from PC via USB

by Marcin Orlowski » Mon, 14 Mar 2011 22:50:02 GMT


 



There're apps to offer such feature, like PDANet for example. May be
much cheaper to simply buy it instead of developing own solution with
no experience in that field.

-- 
Regards,
Marcin Orlowski

Tray Agenda -  http://bit.ly/trayagenda 

-- 



Re: Re: Getting internet from PC via USB

by Kostya Vasilyev » Mon, 14 Mar 2011 23:24:24 GMT


 14.03.2011 17:40, Tina :
May be someone has expirience or information which part of stardart SDK supports on these devices. I am not going to write device-specific code, but if I could solve the problem by using another standard function it will be very good.
It should *probably* be reflected in some way in ConnectivityManager - just consider what happens if the user disables 3G and WiFi on such a device and connects it to a computer (getting a network connection like you described). Applications can check ConnectivityManager to see if there is a connection, and unless they (the developers of such devices) somehow make the computer connection visible here, such applications would not work, not seeing a network connection. That's just a guess though.
Unfortunately I have not such device and could not make tests by myself.
That would be a good first step - if this requirement comes from "The Mgmt", ask them to provide you with such device for testing. If they do, you can run your own tests. But they might also change their mind about this requirement :) -- Kostya Vasilyev -- http://kmansoft.wordpress.com --



Other Threads

1. How to capture ACTION_MOVE MotionEvents in a view

That is because returning true says that you consumed the event and thus the
rest of the events in that motion will be dispatched to that view.







-- 
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.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~

2. X11 module?

For common linux, we provide a kernel driver and also a X11 module for
our device.
Since Android use the same linux kernel, I guess our kernel driver
should work...
Well, how about X11 module? does Android includes Xorg ?  If not,
what's target we need to do for our original X11 module/driver?

Thanks.
-chueh8

--~--~---------~--~----~------------~-------~--~----~

3. Fwd: GMAPS is not being displayed in the emulator

4. Gps one assisted GPS

5. Why I can't delete SIM record?

6. multiple google accounts

7. Doh! I killed my SMS notifications