Skip to content

Instantly share code, notes, and snippets.

View benjaminsinzore's full-sized avatar
👽

Benjamin Sinzore benjaminsinzore

👽
  • THE BOMA Project-NGO
  • Nairobi, Kenya
  • 15:13 (UTC +03:00)
View GitHub Profile
@benjaminsinzore
benjaminsinzore / MainActivity.java
Last active November 22, 2022 07:49
The following steps describe how to use the Internet Connection Manager Library by Benjamin Sinzore in Android Applications with Java Language.
String connectedMess = "Internet Connection was established.";
String disconnectedMess = "Device was disconnected or poor Internet Connection.";
boolean showNetworkDialog = true;
ConnectionManager connectionManager = new ConnectionManager();
connectionManager.connection(
this,
getApplication(),
connectedMess,