[android-developers] Android usb network

2012-05-09 Thread Harishk
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


Re: [android-developers] Android usb network

2012-05-09 Thread Robert Greenwalt
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