I am new to Android and I would like to get the device current location co-ordinates and return it.
This following function is called anytime the location is needed.
PSEUDOCODE
    Public arrays GetLocation(){
     // GET LATITUDE
     // GET LONGITUDE
     LocationArray = [LATITUDE] [LONGITUDE]
     return LocationArray 
    }
How can this be implemented efficiently. Thanks in advance
 
    