Back to project page activity-tracker.
The source code is released under:
MIT License
If you think the Android project activity-tracker 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 org.hopto.mjancola.activity; //from www .ja va2 s .c o m import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import org.hopto.mjancola.R; import org.hopto.mjancola.utility.WorkoutDataSource; public class EditWorkoutDAOActivity extends Activity { private WorkoutDataSource datasource; @Override protected void onCreate( Bundle savedInstanceState ) { super.onCreate( savedInstanceState ); setContentView( R.layout.workout_main ); datasource = new WorkoutDataSource( this ); datasource.open(); } public static Intent createIntent( Context context ) { return new Intent( context, EditWorkoutDAOActivity.class ); } public WorkoutDataSource getDatasource() { return datasource; } }