com.wjholden.nmap
Interface NmapConstants

All Known Implementing Classes:
NmapError, NmapInstall, NmapMain, NmapScan, NmapSubnet, NmapSubnet.PollWifiChanges, NmapSurvey, NmapUtilities, NmapWifi

public interface NmapConstants

All the global constants should go here for simplicity.

Since:
0.4
Version:
0.4.1
Author:
William John Holden (wjholden@gmail.com)

Field Summary
static int BUFFER_SIZE
          Android keeps bitching about not explicitly saying you want an 8k-char buffer so...here.
static int FORCE_RESTART
           
static int INSTALL_ERROR
          Indicates generic installation error
static java.lang.String[] INSTALL_FILENAMES
          List of filenames corresponding to those resources made available in requiredResources[].
static int INSTALL_GOOD
          Indicates successful installation (or successfully verified)
static int INSTALL_NO_ROOT
          Tells handler there is no root access on this handset
static int[] INSTALL_RESOURCES
          The name is somewhat misleading now, but these are a few files that should be installed during this process.
static int MG_DEBUG
           
static int MG_DEFAULT
           
static int MG_SUBNET
          Menu group for NmapSubnet activity.
static int MI_BIN
          For NmapSubnet - show IPv4 addresses in binary.
static int MI_DEBUG_EMAIL
          Button to e-mail debugging info to developer
static int MI_DEBUG_ENABLE
          Button to enable/disable debugging
static int MI_DEC
          For NmapSubnet - show IPv4 addresses in dotted-decimal format.
static int MI_EMAIL_SUBNET
          For NmapSubnet - e-mail all output.
static int MI_EXIT
           
static int MI_HEX
          For NmapSubnet - show IPv4 addresses in hexidecimal.
static int MI_MORE_HELP
          Button that opens Nmap manpage
static int MI_REINSTALL
          Button that initiates VerifyInstallation method manually
static int MI_SUBNET
          Button showing NmapSubnet activity.
static int MI_SURVEY
          Button that shows the survey, collecting information at nmap.wjholden.com.
static int RUN_COMPLETE
          Tells the handler the scan has completed
static int RUN_ERROR
          Tells the handler an error occurred
static int RUN_SUCCESS_NO_FILE
          Tells the handler that the run was successful, but there are no files generated by -oA to process and that it should display only the output provided in RUN_LINE.
static int SCANTYPE_NCAT
           
static int SCANTYPE_NDIFF
           
static int SCANTYPE_NMAP_5_30
           
static int SCANTYPE_NMAP_5_50
           
static int SCANTYPE_NPING
           
static int SET_TITLE
          Sets the title of the main application window to whatever is in Message.obj.
static int SUBNET_CONNECTED
          Tells NmapSubnet.handler that the wifi is connected.
static int SUBNET_DISCONNECTED
          Tells NmapSubnet.handler that the wifi is disconnected.
static int SUBNET_POLL_INTERVAL
          Interval, in milliseconds, for polling NmapWifi.wifiIsConnected.
static java.lang.String TAG
          This tag is used by Logcat to print app name.
static int THREAD_ERROR
           
 

Field Detail

BUFFER_SIZE

static final int BUFFER_SIZE
Android keeps bitching about not explicitly saying you want an 8k-char buffer so...here.

See Also:
Constant Field Values

FORCE_RESTART

static final int FORCE_RESTART
See Also:
Constant Field Values

INSTALL_ERROR

static final int INSTALL_ERROR
Indicates generic installation error

See Also:
Constant Field Values

INSTALL_FILENAMES

static final java.lang.String[] INSTALL_FILENAMES
List of filenames corresponding to those resources made available in requiredResources[].


INSTALL_GOOD

static final int INSTALL_GOOD
Indicates successful installation (or successfully verified)

See Also:
Constant Field Values

INSTALL_NO_ROOT

static final int INSTALL_NO_ROOT
Tells handler there is no root access on this handset

See Also:
Constant Field Values

INSTALL_RESOURCES

static final int[] INSTALL_RESOURCES
The name is somewhat misleading now, but these are a few files that should be installed during this process. The list is not all-inclusive (not R.raw.nmap absent) because some files are so large they had to be split, therefore they couldn't be installed in this neat interative process.


MG_DEBUG

static final int MG_DEBUG

MG_DEFAULT

static final int MG_DEFAULT

MG_SUBNET

static final int MG_SUBNET
Menu group for NmapSubnet activity.


MI_BIN

static final int MI_BIN
For NmapSubnet - show IPv4 addresses in binary.


MI_DEBUG_EMAIL

static final int MI_DEBUG_EMAIL
Button to e-mail debugging info to developer


MI_DEBUG_ENABLE

static final int MI_DEBUG_ENABLE
Button to enable/disable debugging


MI_DEC

static final int MI_DEC
For NmapSubnet - show IPv4 addresses in dotted-decimal format.


MI_EMAIL_SUBNET

static final int MI_EMAIL_SUBNET
For NmapSubnet - e-mail all output.


MI_EXIT

static final int MI_EXIT

MI_HEX

static final int MI_HEX
For NmapSubnet - show IPv4 addresses in hexidecimal.


MI_MORE_HELP

static final int MI_MORE_HELP
Button that opens Nmap manpage


MI_REINSTALL

static final int MI_REINSTALL
Button that initiates VerifyInstallation method manually


MI_SUBNET

static final int MI_SUBNET
Button showing NmapSubnet activity.


MI_SURVEY

static final int MI_SURVEY
Button that shows the survey, collecting information at nmap.wjholden.com.


RUN_COMPLETE

static final int RUN_COMPLETE
Tells the handler the scan has completed

See Also:
Constant Field Values

RUN_ERROR

static final int RUN_ERROR
Tells the handler an error occurred

See Also:
Constant Field Values

RUN_SUCCESS_NO_FILE

static final int RUN_SUCCESS_NO_FILE
Tells the handler that the run was successful, but there are no files generated by -oA to process and that it should display only the output provided in RUN_LINE.

See Also:
Constant Field Values

SCANTYPE_NCAT

static final int SCANTYPE_NCAT
See Also:
Constant Field Values

SCANTYPE_NDIFF

static final int SCANTYPE_NDIFF
See Also:
Constant Field Values

SCANTYPE_NMAP_5_30

static final int SCANTYPE_NMAP_5_30
See Also:
Constant Field Values

SCANTYPE_NMAP_5_50

static final int SCANTYPE_NMAP_5_50
See Also:
Constant Field Values

SCANTYPE_NPING

static final int SCANTYPE_NPING
See Also:
Constant Field Values

SET_TITLE

static final int SET_TITLE
Sets the title of the main application window to whatever is in Message.obj.

See Also:
Constant Field Values

SUBNET_CONNECTED

static final int SUBNET_CONNECTED
Tells NmapSubnet.handler that the wifi is connected.

See Also:
Constant Field Values

SUBNET_DISCONNECTED

static final int SUBNET_DISCONNECTED
Tells NmapSubnet.handler that the wifi is disconnected.

See Also:
Constant Field Values

SUBNET_POLL_INTERVAL

static final int SUBNET_POLL_INTERVAL
Interval, in milliseconds, for polling NmapWifi.wifiIsConnected. Currently set to 1 second as the poll logic is intentionally lightweight and can run frequently with little overhead.

See Also:
Constant Field Values

TAG

static final java.lang.String TAG
This tag is used by Logcat to print app name.

See Also:
Constant Field Values

THREAD_ERROR

static final int THREAD_ERROR
See Also:
Constant Field Values