Assorted error handling and messaging.

This commit is contained in:
2013-12-16 16:01:22 -04:30
parent 1b88c67ec1
commit 5c2cff3c54
5 changed files with 42 additions and 12 deletions

View File

@@ -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;
}