Can I force Android to open a network connection on a specified network interface/network type ?

by David Turner » Fri, 06 Mar 2009 20:25:49 GMT

Sponsored Links
 You only need to bind() to the corresponding network interface's IP address
(instead of

However, I don't know how you can get what you want from Java in a reliable

There is also the case of a VPN which might want to provide its own
interface to the network
independently of the real connection state.


Other Threads

1. How to setup a server for streaming audio files

I've spent over an hour looking for a way to add an ".mp4 streaming
web service" to my Tomcat server but can't find any information.

Could someone explain to me how we're supposed to setup such a server
as streaming .mp4 files seems to be Android's only fully supported
audio function.

Also...has anyone successfully streamed .mp4 files to Android?  What
is the quality like?  If it's not better than playing my .mp3 files
off the local drive then I'll just wait until the performance

Nonetheless though, I would greatly appreciate ANY info on how to
setup a streaming web service for my Tomcat server?


2. MediaPlayer example: Has anyone been able to stream an .mp4 file yet?

Please feel free to test your working code against my .mp4 file if
your code works.  It's possible there's something wrong with my .mp4
file, but I doubt it.


3. Indeterminate progress bar performance

4. Force a view to show its contextMenu?

5. What type of phones can this be used on?

6. Receiving intent on application launches

7. Any workaround for the touch mode vs key mode dilemma?