Android Open Source - Stem-Esteem Stem Esteem Application






From Project

Back to project page Stem-Esteem.

License

The source code is released under:

GNU General Public License

If you think the Android project Stem-Esteem 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 whipkey.stemesteem.main;
/*from   w w w.  ja  v a 2  s. c  o  m*/
//Copyright 2011, Zackary Whipkey
//This program/source is distributed under the terms of the GNU General Public License.
//Please read the License.txt file for more information.

import whipkey.stemesteem.db.StemDbAdapter;
import android.app.Application;

/*
 * StemEsteemApplication overrides our default Application implementation to provide us with a global access method for our Database Access Object.
 */

public class StemEsteemApplication extends Application {
  private static StemDbAdapter dbHelper;

  public static StemDbAdapter getDbHelper() {
    return dbHelper;
  }

  @Override
  public void onCreate() {
    dbHelper = new StemDbAdapter(this);
  }
}




Java Source Code List

whipkey.stemesteem.components.EndingAddDialog.java
whipkey.stemesteem.components.EndingEditDialog.java
whipkey.stemesteem.components.EndingListFragment.java
whipkey.stemesteem.components.StemListFragment.java
whipkey.stemesteem.db.StemDbAdapter.java
whipkey.stemesteem.db.StemDbHelper.java
whipkey.stemesteem.db.StemProvider.java
whipkey.stemesteem.main.EndingListActivity.java
whipkey.stemesteem.main.StemEsteemApplication.java
whipkey.stemesteem.main.StemEsteem.java