Getting location of a direction of current location in Android
问题 I want to implement a function that calculates locations' list (longitudes and latitudes) through a direction of my phone. The result can be a rectengular shape which is pointing the corners as locations. First how can i find the device current direction which means which direction the back camera points ? Then how can i obtain a list of location information through this direction ? Thank you 回答1: From the documentation of Google Maps Android API, the location data available to an Android