あなたの質問から理解できるのは、ユーザーの場所を追跡し、その場所をデータベースに保存しているということです。ここで、ユーザーが前の場所に到達したときにユーザーにプロンプトを表示したいのですが、特定の地域が必要です。その場合は、以下のコードを使用して、緯度と経度からユーザーの地域を知ることができます。
String latitude1, latitude2, longitude1, longitude2;
//Now Suppose you have some values in this variables.
//In your case latitude1 and longitude1 is from database and latitude2 and longitude2 is from current Location.
float radius = 500; //Distance in meters
Location location1 = new Location("GPS");
location1.setLatitude(latitude1);
location1.setLongitude(longitude1);
Location location2 = new Location("GPS");
location2.setLatitude(latitude2);
location2.setLongitude(longitude2);
Float distance = location1.distanceTo(location2);
distance = Math.abs(distance);
//Here you can compare two distances 1. distance and 2. radius
if(distance <= radius) {
//Use is in a 500 meters radius. You can notify user by notification
}