Get your device LatLng using this application
This application uses fused location provider to provide the device's location
Here after permissions are granted the applicatin can return the LatLng value. So this code can be used in other location based applications.