add network helper
add broadcast service to check the network state is or not connected
add receiver for main activity to show the network state in bottom
simple main activity receiver by define intent-filter tag in AndroidManifest.xml to get network state not code the intent filter in program