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 draw a double underline in radioButton text

I need to draw a double underline in the text inside a RadioButton. I
can draw a "single underline" / "strikethrough" / etc using the flags
from the TextPaint class but I can't find how to draw a double
underline.
--~--~---------~--~----~------------~-------~--~----~

2. How can I get Browser's sharedpreference.?

Hi all,

  I'm making a application which wants to get the homepage url of
Browser.
  And I'd figured out that the homepage url is stored as a
SharedPreferences
  and the name of it is 'android.com.browser_preferences.xml'.

  But I can't open the SharedPreference of Browser and read desired
value.

  Isn't it possible to access the Browser's SharedPreferences.?
  Is there another way that can open and read the Browser's
SharedPreferences.?

  Please let me know how I can.

  Have a good day.


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

3. is there video record intent in 1.5 like we got for Audio MediaStore.Audio.Media.RECORD_SOUND_ACTION

4. Anyone else got a post-Cupcake upgrade on their UK G1

5. Desktop synchronization of Android just like WM-phones

6. Android source 1.0

7. why 480*320 png doesn't fit on landscape full screen