app for Android, Linux, Mac & Windows
The hapless Modi government wants us to hop on to the digital age and switch to a cashless economy. While one-sixth of Indians are illiterate and most Indians are uncomfortable with the use of a smartphone, the rest of us who are willing to use the Net are plagued by unreliable connectivity. It is somewhat like a Mexican standoff!
Unlike many Indians, I do not use smartphones for any kind of financial transactions. I have a Linux desktop system for that. However, my DSL connection is extremely unstable. Usually, after I submit the login password or enter the OTP on a banking web page, the connections drops and I get logged out. Even if the Net connection is fine, disturbances in the electrical supply trips the modem. On my mobile too, which I use only for news and navigation, the data connection is never always-on.
Hence, I wrote this app NetCheck and decided to share it with anyone interested in such a solution.
NetCheck is a free app for monitoring Internet connectivity. NetCheck provides notifications when the Internet connection drops and is restored. NetCheck does this by regularly pinging (sending HEAD requests to) a high-availability website (customizable) at regular intervals. If the site becomes unreachable or becomes reachable after a break, the app notifies you by changing its icon, playing audio ringtones and/or displaying popup notifications. Like all my apps, NetCheck is unobtrusive and annoyances-free.
NetCheck for the desktop is a Java software and the same executable works in Windows or Mac in the same way as it does in Linux.
As the popups and sound notifications can become annoying, they can be turned off using special parameters in the Command Prompt or to shortcut/launcher command. For example:
java -jar netcheck.jar noaudio java -jar netcheck.jar nopopup java -jar netcheck.jar noaudio nopopup
When you turn off both sound and popups, the color of the icon will continue to function as the change indicator.
The full syntax is as follows:
java -jar netcheck.jar [ping-URL] [ping-interval] [nopopup] [noaudio]
The Android version of NetCheck starts a background service, which runs unobtrusively. The service plays audio ring tones and shows notifications when the Net connections goes down or comes back up.
The mobile version of NetCheck in Android
Download & Installation
On Linux, Mac and Windows, you need to have OpenJDK or Oracle Java SE already installed. You can then create a desktop shortcut or launcher with a command such as this to run the program. You may want to first try this in a terminal prompt (Command Prompt or cmd.exe in Windows) first. The working directory should be the directory where the netcheck.jar is or you may have to copy the full path of the jar file in the command.
java -jar netcheck.jar
On Android, you will have to first enable installation of non-store apps from the Android menu:
- Settings » Security » Unknown Sources or
- Settings » Apps and notifications » Special access » Install other apps
You can then run the APK installer. After completing the installation, you should disable the above setting.
The source code of an early version of this software has been released as public-domain software. You can get them from: