Android Open Source - pinpoint-android Main Activity

From Project

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.

Java Source Code

package co.islovely.pinpoint;
//from   w w w . j  av  a  2 s . c o m
import android.content.Intent;
import android.view.View;
import android.os.Bundle;

public class MainActivity extends Activity {
  public void onCreate(Bundle savedInstanceState) {

  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());

    } else {
      Pinpoint.log("No homescreen selected");

Java Source Code List