android-eye
android-eye copied to clipboard
cant stream video
Justo installed, no firewall on my phone, it tells me to open on http://30.0.0.101:8080 (this is my network) but when I open it on another pc or on my cellphone (where I installed WiFi camera) it keeps searching but nothing shows :(
I changed getLocalIpAddress(), and it worked
public String getLocalIpAddress()
{
WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE);
WifiInfo wifiInfo = wifiManager.getConnectionInfo();
int ipAddress = wifiInfo.getIpAddress();
String sIp = String.format("%d.%d.%d.%d", (ipAddress & 0xff), (ipAddress >> 8 & 0xff),
(ipAddress >> 16 & 0xff), (ipAddress >> 24 & 0xff));
return sIp;
}
some bdy plz mail me the complete code in zip format m unable to run it. whenever i tried to run it,it shows some msg n unfortuntly closes
maa email id [email protected]