private long computeRemoteFileSize() {
        URL url = null;
        HttpURLConnection connection = null;
        long result = 0;
        
        try {
            if ("Linux".equals(osName))
                url = new URL("http://team-m4gkbeatz.eu/UniversalAndroidToolkit/sdkDownload/android-sdk_r22.6.2-linux.tgz");
            else if (osName.contains("Windows"))
                url = new URL("http://team-m4gkbeatz.eu/UniversalAndroidToolkit/sdkDownload/android-sdk_r22.6.2-windows.zip");
            else // Assume system is Mac OS
                url = new URL("http://team-m4gkbeatz.eu/UniversalAndroidToolkit/sdkDownload/android-sdk_r22.6.2-macosx.zip");
            
            connection = (HttpURLConnection) url.openConnection();
            result = connection.getContentLengthLong();
            
        } catch (IOException ex) {
            logger.log(Level.ERROR, "An error occurred while computing the file size for the SDK (for OS: " + osName + ": " + ex.toString() + "\n"
                    + "The error stack trace will be printed to the console...");
            ex.printStackTrace(System.err);
        } finally {
            connection.disconnect();
        }
        
        return result;
    }