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

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

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. SOS: download/install apk using coding...

Question: is there anyway I can download apk and install apk and run
apk using coding???


Wesley.
--~--~---------~--~----~------------~-------~--~----~

2. Equal Android classes to Java Microedition classes

Hi!

Just new to android. I must rewrite a applet for a carconnection to
get data from the car. There is a existing application which is for
JavaME.

First one question the socket connection from Java ME (import
javax.microedition.io.SocketConnection;) equal to androids class
Socket from the java.net api or which one could I use?

Same Question to the other imported classes from JavaME app:

import javax.microedition.io.ConnectionNotFoundException;
import javax.microedition.io.Connector;
import javax.microedition.io.SocketConnection;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

Thanxx for helping
--~--~---------~--~----~------------~-------~--~----~

3. Will gdata API available and documented in next SDK release?

4. Does anyone have an example of using ActivityGroup?

5. no id class generated in R.java (using eclipse)

6. Web Service Deployment

7. Android on non-linux os