Checking if mobile type exists to avoid null pointer crash

Checking if there is a Mobile radio hardware, else on wifi only android devices, this produces a null pointer error. Please merge and add this logic wherever applicable.
Merge pull request #2 from gaara87/patch-1

Checking if mobile type exists to avoid null pointer crash