4thline/cling — Issue #25: Same Android Devices Couldn't Discovery Because Same UDN Created
Author: kensuke
Created: 2012-03-09 02:29:35+00:00
State: open

-environment:
two or more SAME android devices
Under Android 2.2

-target source:
org.teleal.cling.model.types.UDN.java

public static UDN uniqueSystemIdentifier(String salt) {

java.net.InetAddress i = java.net.InetAddress.getLocalHost();
systemSalt.append(i.getHostName()).append(i.getHostAddress());
// Android always returns "localhost" and "127.0.0.1", not "192.168.0.xxx"

-more details:
http://mailinglists.945824.n3.nabble.com/Same-Android-Devices-Couldn-t-Discovery-Because-Same-UDN-Created-tp3808695p3808695.html