Im using a few sensors - MediaRecorder and MediaPlayer, NotificationManager, a WakeLock, and LocationListener...
Here is my onResume() and onPause() functions:
You need to make sure that you have super.onStop
and super.onDestroy
in your overridden methods. This could be a good candidate for the problem you have:
@Override
protected void onStop() {
Log.w(TAG, "App stopped");
super.onStop();
}
@Override
protected void onDestroy() {
Log.w(TAG, "App destroyed");
super.onDestroy();
}