Back to project page Stem-Esteem.
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.
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); } }