AndroidLookup
0.02
|
This is an Android utility based on the several *nix utilities.
Enter a hostname or IP Address on the main screen.
Lookup:
The lookup functionality gathers information about the given host. All known IP Addresses, the Canonical Name of the host, and whether the host is up or down are displayed in a table.
Whois:
The whois functionality displays "whois" information for a given host. The "whois" information is displayed on a separate screen.
AndroidLookup 0.2 is an extension of the AndroidLookup 0.1 utility.
Binary is located at
http://jdburton.github.io/AndroidLookup/AndroidLookup.apk
Source code is at GitHub:
https://github.com/jdburton/AndroidLookup
Doxygen documentation for the Java classes is located at:
http://jdburton.github.io/AndroidLookup/index.html
This would not have been possible without some great Eclipse tools:
I installed doxygen and git on my Mac using Homebrew.
I am now using github for revision control and, well, just backing up my projects.
Rick Foo's blog about how to use doxygen with github to create a nice documentation page.
TableLayouts
Apache Commons/Whois
WebViews
Message Dialogs
Special thanks to John Ingram for his excellent in-class presentation on software development.
Also, thanks to Greg Edison for demonstrating the drag ‘n’ drop functionality of Eclipse and other hints.
Great info about procrastination, including the instant gratification monkey, at http://waitbutwhy.com/2013/10/why-procrastinators-procrastinate.html and how to beat it at http://waitbutwhy.com/2013/11/how-to-beat-procrastination.html
Acknowledgements in the source code:
Handling networkonmainthread exception with AsyncTask:http://stackoverflow.com/questions/6343166/android-os-networkonmainthreadexception
How to do nslookup in Java: http://www.coderanch.com/t/328875/java/java/nslookup-Java
More on InetAddresses from:http://download.java.net/jdk7/archive/b123/docs/api/java/net/InetAddress.html
Determining whether a string is an IP address:http://stackoverflow.com/questions/11723184/checking-if-string-is-web-address-or-ip-on-android
How to clear a edittext field: http://stackoverflow.com/questions/8758635/how-to-clear-the-edittext-when-onclick-on-button
How to display toasts: http://developer.android.com/guide/topics/ui/notifiers/toasts.html
Android Menu functionality from http://developer.android.com/guide/topics/ui/menus.html
Guide to the Action bar from http://developer.android.com/guide/topics/ui/actionbar.html
Image for lookup icon used under Creative Commons license from:http://www.iconarchive.com/show/old-school-icons-by-babasse/recherche-internet-icon.html
Image for internet picture used under Creative Commons license from: http://commons.wikimedia.org/wiki/File:Internet1.jpg