|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread com.wjholden.nmap.NmapSurvey.UploadData
private class NmapSurvey.UploadData
Uploads the ANDROID_ID and Build.VERSION to my webserver so that I can gather just these analytics on which I will base future development decisions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private java.lang.String |
androidId
Read more about ANDROID_ID |
private java.lang.String |
appName
Name of the app that is being reported. |
private static java.lang.String |
UPLOAD_URI
The location where the data gets uploaded to. |
private java.lang.String |
versionSdk
Read more about Build.VERSION |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
NmapSurvey.UploadData()
Constructor...although this does not strictly have to contain this logic inside it, I wanted it there for easier debugging. |
Method Summary | |
---|---|
void |
run()
Very basic Apache HTTP POST routine. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final transient java.lang.String androidId
private final transient java.lang.String appName
private static final java.lang.String UPLOAD_URI
private final transient java.lang.String versionSdk
Constructor Detail |
---|
public NmapSurvey.UploadData()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |