05-21-2014 10:26 AM
i am listening push in background thread but i want to receive push only when application is in background then how can i check that app is in background
Solved! Go to Solution.
05-21-2014 10:43 AM
05-22-2014 01:44 AM
@peter_strange good question the only case that when user is using app i dont want to show message on blackberry homescreen so i listen push in foreground also but dont want to show indicator when user browsing the app
05-22-2014 02:27 AM
if you mean with "background" that you don't close your app but minimize it only you need to use a different check like UiApplication isForeground