Back to project page infinitep.
The source code is released under:
Apache License
If you think the Android project infinitep 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.datatest; /*from w w w. ja v a 2 s . c o m*/ import android.os.Bundle; import android.app.Activity; import android.view.Menu; import com.example.datatest.database.InfinitepHelper; import com.example.datatest.databaseTest.DatabaseTester; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override public boolean onCreateOptionsMenu(Menu menu) { InfinitepHelper data = new InfinitepHelper(this.getApplicationContext()); DatabaseTester.runTests(data); getApplicationContext().deleteDatabase("infinitep.db"); // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } }