Create LocationDetector.java

This class obtains the current location of user using network provider.