Back to project page AndroidFinally.
The source code is released under:
GNU General Public License
If you think the Android project AndroidFinally listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.androidfinallyapp; /*from w w w. j av a 2s. c o m*/ import android.annotation.SuppressLint; import android.app.Application; import android.content.res.Configuration; import android.util.Log; public class SimpleApplication extends Application { private static final String TAG = "SimpleApplication"; @Override public void onCreate() { // TODO Auto-generated method stub //???????????????????????? super.onCreate(); Log.i(TAG, "SimpleApplication at onCreate()"); } @Override public void onTerminate() { // TODO Auto-generated method stub //????????????????????? super.onTerminate(); Log.i(TAG, "SimpleApplication at onTerminate()"); } @Override public void onConfigurationChanged(Configuration newConfig) { // TODO Auto-generated method stub super.onConfigurationChanged(newConfig); Log.i(TAG, "SimpleApplication at onConfiguration()"); } @SuppressLint("NewApi") @Override public void onTrimMemory(int level) { // TODO Auto-generated method stub super.onTrimMemory(level); Log.i(TAG, "SimpleApplication at onTrimMemory()"); } @Override public void onLowMemory() { // TODO Auto-generated method stub //??????????????????????????? super.onLowMemory(); Log.i(TAG, "SimpleApplication at onLowMemory()"); } }