Added permissions to the Mandroid Manifest.xml file.
Added code to check the network availability.
Added more code to check the network availability plus Toast message.