package com.letscode.lcg;

import java.util.Random;

import android.os.Bundle;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;

public class MainActivity extends AndroidApplication {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
        cfg.useGL20 = false;
        String nickname = "Player " + (new Random().nextInt(12415124));
        
        initialize(new LcgApp("localhost", nickname), cfg);
    }
}
@@ -622,16 +622,20 @@
 alhost%22,
+ 80,
  nicknam

Set default port for Android device.