I think here is the answer what I'm looking but this solution is given
for connecting to device's network and I'm looking reverse

http://support.google.com/mobile/bin/answer.py?hl=en&answer=182134

Under USB Tethering with Windows XP

I will try this and see if device can also use PC's network.



On May 10, 9:28 am, Harishk <hkacho...@gmail.com> wrote:
> Thanks Robert,
> - I'm developing a application on Android 4.0 ideally this will work
> on any android supported device, as of now we do not wants to put any
> hardware restriction but if require we can have hardware dependancy.
> I mean we thought of running application on any android device but if
> require we put restriction saying this can work on device with this
> configurations.
>
> The application is a very simple user registration application
>
> The requirement what we have is, our users do not wants a wifi network
> they wants a physicial connection to device for network (for security
> reason) we will put tablet at multiple location in my clients network
> with physical connection. If we really need then we can put multiple
> PC as well for connecting device to network, just need network in my
> Tablet without wifi and Tablet should be able to charge at same time.
>
> The device we are going to use will be latest one.
>
> where can i found EthernetStateTracker class ?
>
> On May 9, 10:46 pm, Robert Greenwalt <rgreenw...@google.com> wrote:
>
>
>
>
>
>
>
> > Are you developing this device or using an existing device?
>
> > You should look at the EthernetStateTracker class.  You need to modify the
> > networkattributes config.xml property to instantiate type 9 and add type 9
> > to the radioattributes config entry.  You'll need to add an ethernet dhcp
> > agent to init.rc.  You'll need to add a usb-ethernet driver to your kernel
> > image.
>
> > These things I think are available in the TOT of AOSP, but may not be
> > available on older devices.
>
> > It may be simpler to have an internet-visible gateway into your intranet
> > app, then you could access it worldwide and wouldn't need to do this
> > busywork of usb-ethernet.  Alternatively add a wifi access point to your
> > lan and connect your tablet that way.  Wires are passe.
>
> > R
>
> > On Tue, May 8, 2012 at 10:16 PM, Harishk <hkacho...@gmail.com> wrote:
> > > Hi All,
>
> > > I'm looking a good way to bring Android device in intranet using USB,
> > > what I want is to connect my Android tablet to a PC in network and
> > > then work on Tablet as a PC.
>
> > >  In that way I can take print from a network printer also take
> > > adventage of better network connection within my network.
>
> > > Just to give a idea, I'm developing a application which runs in
> > > Intranet and few user will have Tablet as interface and few user will
> > > have deskstop as interface. Tablet user should be able to work just
> > > like a desktop user but with rich user interface so that user can just
> > > work with there fingers insted of keyboard/mouce.
>
> > > please point me to right direction,links. as long as possible  I do
> > > not wants to create any dependancy to third party application for this
> > > purpose.
>
> > > --
> > > 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

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