android-ibc-forum

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b369832c18fc265ae6863554e182cdbf770da7b0
parent 13965bd4067a60ca7b00300c004d43b25b37ff83
Author: Jan Dankert <devnull@localhost>
Date:   Tue,  7 Feb 2012 23:58:32 +0100

Application-Lifecycle loggen

Diffstat:
src/de/mtbnews/android/IBCApplication.java | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/de/mtbnews/android/IBCApplication.java b/src/de/mtbnews/android/IBCApplication.java @@ -47,7 +47,7 @@ public class IBCApplication extends Application @Override public void onCreate() { - Log.i("IBC","starting main application"); + Log.i(IBC.TAG,"starting main application"); prefs = PreferenceManager.getDefaultSharedPreferences(this); themeResId = (prefs.getBoolean("ibc_theme", true)) ? R.style.IBC @@ -75,6 +75,7 @@ public class IBCApplication extends Application @Override public void onLowMemory() { + Log.d(IBC.TAG,"Low memory detected..."); super.onLowMemory(); } @@ -86,6 +87,7 @@ public class IBCApplication extends Application @Override public void onTerminate() { + Log.d(IBC.TAG,"terminating application"); super.onTerminate(); } }