In my Android app, I used the Geoloqi API for geoprocessing https://developers.geoloqi.com/android/getting-started . I created triggers that use some latitude, longitude.now, when the user enters the regions that I need to notify him. I created a receiver class that implements LQBroadcastReceiver. when i was running the application, all events are fired and i don't get which event to catch.please help me. Note. One way is the type of installation: a callback and URL must be provided for this purpose. I need to create a server program that I do not want. I created a trigger with the current location. GeoReceiver.java
public class GeoReceiver extends LQBroadcastReceiver {
@Override
public void onLocationChanged(Context arg0, Location arg1) {
Toast.makeText(arg0, "Location Changed", Toast.LENGTH_LONG).show();
}
@Override
public void onLocationUploaded(Context arg0, int arg1) {
Toast.makeText(arg0, "Location Uploaded", Toast.LENGTH_LONG).show();
}
@Override
public void onPushMessageReceived(Context arg0, Bundle arg1) {
Toast.makeText(arg0, "PushMessage Received", Toast.LENGTH_LONG).show();
}
@Override
public void onTrackerProfileChanged(Context arg0, LQTrackerProfile arg1,
LQTrackerProfile arg2) {
Toast.makeText(arg0, "TrackerProfile Changed", Toast.LENGTH_LONG).show();
}
}