I have an app that use the gps in the background, and in some situations I want to show an alert when the app is in the background: https://github.com/Tapadoo/Alerter
and works fine in the foreground but doesnt work in the background, how can i show that in background? here is my code:
Alerter.create(MainActivity.this)
.setTitle("Alert Title")
.setText("Alert text...")
.show();