mojira.dev

Matthew Robinson

More than one avatar was detected! There might be multiple accounts sharing this same name.

Assigned

No issues.

Reported

MCPE-12061 Cannot join external server over Ethernet on Amazon FireTV Fixed

Comments

Same here except my error code is different. 

Also on minecraft.net, it says I don't have a realm?

I turned off my texture pack to see if it makes a difference and it only makes it take longer.

 

java.lang.NullPointerException: Rendering screen

The bug appears to be fixed in 0.14.3 on my FireTV. Thanks!

Here is example code verified to work on the FireTV to detect network connection.

/**
     * Determine if this device has a network connection. Also sets the 
     * member variables {@link mHaveConnectedWifi} and {@link mHaveConnectedMobile}  
     * @return true if there is a network connection, false if not
     */
	private boolean haveNetworkConnection() {
        mHaveConnectedWifi = false;
        mHaveConnectedMobile = false;

        ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
        NetworkInfo[] netInfo = cm.getAllNetworkInfo();
        for (NetworkInfo ni : netInfo) {
            if (ni.getTypeName().equalsIgnoreCase("WIFI")) {
                if (ni.isConnected())
                    mHaveConnectedWifi = true;
            } else if (ni.getTypeName().equalsIgnoreCase("MOBILE")) {
                if (ni.isConnected())
                    mHaveConnectedMobile = true;
            } else if (ni.getTypeName().equalsIgnoreCase("Ethernet")) {
                if (ni.isConnected())
                    mHaveConnectedWifi = true;
            }
        }
        return mHaveConnectedWifi || mHaveConnectedMobile;
    }
}