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. Button's OnClickListener not receiving events until after encapsulating scroll occurs.

I am writing a date picker activity that looks like a calendar.  The
activity is basically a scrollable ListView of "MonthView" views I
have written which are in turn each a table of buttons representing
each day in the month.  When a MonthView is instantiated I walk each
button in the view (defined in XML) and attach a click listener to
detect if a user has pressed the button representing each day:

                                b.setOnClickListener(new
OnClickListener()
                                {
                                        @Override
                                        public void onClick(View v) {

                                                
setSelectedDate(buttonDayClosure, b);
                                        }
                                });

The setSelectedDate function does various things, including changing
the button background to yellow.  In my emulator, everything works
fine.  Create the datepicker, click on a day, the button turns
yellow.  No problems.  However, on a physical device (and a few peer
emulators) you can click on a date and nothing happens...until you
attempt to scroll the list view. So, for example, the date picker
activity appears on the screen. Press "3rd".  Nothing happens.  Jiggle
the list view a little by scrolling (without touching the 3rd button)
and all of a sudden the 3rd appears yellow.

On peer emulators I can set a breakpoint on the "setSelectedDate"
invocation and observe that the BP is only hit when a scroll "jiggle"
occurs (even though I am not attempting a scroll by touching the
button in question).  So for example, I press the "3rd" button and the
BP is not hit.  I can walk away, get a drink of water, come back, do a
tiny scroll on the list view and all of a sudden the BP is hit.

Any thoughts on why this might be the case?

-- 

2. How to capture unlock event in activity.

Hi,
    While mediaplayer playing rtsp stream if user press lock button and then
he press menu(unlock) mediaplayer shows blank screen. I want to know how to
capture this unlock event inside activity so that i can resume mediaplayer.

-- 

3. Samsung Captivate phone running Android 2.2 getting "Phone not connected"

4. Is there way to create a slow motion method for video

5. Announcement: DynaDroid - an open source micro-framework for Android

6. Speech Recognition Help

7. Widget Not Updating Display