Check network before connection and handling exceptions if connection fails. Progress Dialog added while trying to connect to hub.

checking if connected to a network, not wifi.

finishing changes...

changed some auto changed files
Included check for internet connectivity, and Toast a failed connection.
A MerGe with Amogh Pradeep's contribution (amoghbl1)

Merge branch 'master' of git://github.com/amoghbl1/AnDCpp into amoghb11-master
Version bump 1.0.2
17GB default share, plus support for custom ports
Revert "Reset image sizes"

This reverts commit 4f86448fd20f2e21f73002d8903b438516cc2039.
but retains some changes to java files (unrelated to commit)
Version bump 1.0.3
Merge branch with tags on v1.0.3
something went wrong with pushing tags alone or the like