Open hafiz013 opened 5 years ago
In if condition is checking your app is in foreground or background after that it runs a method.
@BlackBlind567 hi do u know how to check this service already run regardless background or foreground in main activity?
private void onNewLocation(Location location) { Log.d(TAG, "New location: " + location);
could u explain how to get value when the apps in background process?