Back to project page pinpoint-android.
The source code is released under:
MIT License
If you think the Android project pinpoint-android 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 co.islovely.pinpoint; //from w w w . j av a 2 s . c o m import android.app.Activity; import android.content.Intent; import android.view.View; import android.os.Bundle; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.setContentView(R.layout.main); } public void showHomescreenSelectActivity(View view) { this.startActivity(new Intent(this, HomescreenSelectActivity.class)); } public void showLayoutConfigurationActivity(View view) { this.startActivity(new Intent(this, LayoutConfigurationActivity.class)); } public void showStatisticsActivity(View view) { this.startActivity(new Intent(this, StatisticsActivity.class)); } public void showTasksActivities(View view) { Task task = Pinpoint.getCurrentUser().getTaskManager().getTask(); if (null != task) { Intent intent = new Intent(this, task.getActivityClass()); intent.putExtra(Pinpoint.EXTRA_LAUNCHERITEM, task.getLauncherItem()); this.startActivity(intent); } else { Pinpoint.log("No homescreen selected"); } } }