# getLastLocation

fun getLastLocation(activity: Activity, context: Context, volleyStringResponse: CommunicationService.VolleyStringResponse)
Content copied to clipboard

Get phone last known location and send it to the server.

## Parameters

activity

Application activity.

context

Application context.

fun getLastLocation(context: Context, view: View)
Content copied to clipboard

Get phone last known location and display it in the PermissionOfflineExampleFragments.

## Parameters

context

Application context.

view

View for display location in offline example.