Author: fauchi katze

Bio info goes here

Katzen programmieren in Java

// gets the ip address of your phone's network - not needed here for the receiver
    private String getMyIP() {
        try {
            for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) {
                NetworkInterface intf = en.nextElement();
                for (Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses(); enumIpAddr.hasMoreElements();) {
                    InetAddress inetAddress = enumIpAddr.nextElement();
                    //Log.i("HFCM", "Found address: " + inetAddress.toString());
                    //if (!inetAddress.isLoopbackAddress()) { return inetAddress.getHostAddress().toString(); }
                }
            }
        } catch (SocketException ex) {
            Log.e("ServerActivity", ex.toString());
        }
        return null;
}

Das sieht noch nicht gut aus… siehe https://github.com/EnlighterJS/Plugin.WordPress/issues/31

Urlaub auf Melmak – muß das sein?

Als Katze konnte ich diese Einladung nicht annehmen.

Dann doch lieber auf dem Mond Urlaub machen

Powered by WordPress & Theme by Anders Norén