Back to project page Naming.
The source code is released under:
Apache License
If you think the Android project Naming 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.miemie.naming; //w ww.ja v a2 s . c om import android.app.Application; import android.database.sqlite.SQLiteDatabase; import android.util.Log; public class Naming extends Application{ private static final String TAG = Naming.class.getSimpleName(); @Override public void onCreate() { super.onCreate(); Log.d(TAG, "onCreate"); new Thread() { public void run() { SQLiteDatabase db = Utils.openDictDatabase(Naming.this); db.close(); }; }.start(); new Thread() { public void run() { SQLiteDatabase db = Utils.openDatabase(Naming.this); db.close(); }; }.start(); new Thread() { public void run() { SQLiteDatabase db = Utils.openNameDatabase(Naming.this); // Utils.updateDB2(Naming.this); db.close(); }; }.start(); } }