Android Open Source - AndroidFinally Simple Application






From Project

Back to project page AndroidFinally.

License

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.

Java Source Code

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()");
  }

}




Java Source Code List

com.example.androidfinallyapp.MainActivity.java
com.example.androidfinallyapp.NotificationActivity.java
com.example.androidfinallyapp.ServiceOnBind.java
com.example.androidfinallyapp.ServiceOnStartCommand.java
com.example.androidfinallyapp.SimpleApplication.java
com.example.androidfinallyapp.StartActivity.java
com.example.hellojni.HelloJni.java