Assorted error handling and messaging.
This commit is contained in:
@@ -17,7 +17,10 @@ package ve.ucv.ciens.ccg.nxtcam.utils;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
public abstract class ProjectConstants {
|
||||
// Network related constants.
|
||||
public static final int SERVER_UDP_PORT = 8889;
|
||||
public static final int SERVER_TCP_PORT_1 = 9989;
|
||||
public static final int SERVER_TCP_PORT_2 = 9990;
|
||||
@@ -25,5 +28,8 @@ public abstract class ProjectConstants {
|
||||
public static final String OUI_LEGO = "00:16:53";
|
||||
public static final String MULTICAST_ADDRESS = "230.0.0.1";
|
||||
|
||||
// Activity results.
|
||||
public static final int RESULT_CAMERA_FAILURE = Activity.RESULT_FIRST_USER + 1;
|
||||
|
||||
public static final boolean DEBUG = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user