문제

I need to trigger an alarm when the user gets to a certain radius of co-ordinates. I am a newbie, please be as simple as possible.

도움이 되었습니까?

해결책

That is called a geofence, and the simplest way to set one up would be to use the LocationClient from the Play Services SDK. This technique is covered in the Android developer documentation.

You can also use "proximity alerts" with LocationManager, avoiding the need for the Play Services Framework.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top