Android Open Source - pinpoint-android Main Activity






From Project

Back to project page pinpoint-android.

License

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.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");
    }
  }
}




Java Source Code List

co.islovely.pinpoint.ColumnsActivity.java
co.islovely.pinpoint.Configuration.java
co.islovely.pinpoint.DeviceMetrics.java
co.islovely.pinpoint.GridActivity.java
co.islovely.pinpoint.HomescreenAdapter.java
co.islovely.pinpoint.HomescreenSelectActivity.java
co.islovely.pinpoint.Homescreen.java
co.islovely.pinpoint.IntermissionActivity.java
co.islovely.pinpoint.LauncherItem.java
co.islovely.pinpoint.LauncherReader.java
co.islovely.pinpoint.LayoutConfigurationActivity.java
co.islovely.pinpoint.MainActivity.java
co.islovely.pinpoint.MyApplication.java
co.islovely.pinpoint.PinpointActivity.java
co.islovely.pinpoint.Pinpoint.java
co.islovely.pinpoint.QuadrantsActivity.java
co.islovely.pinpoint.RowsActivity.java
co.islovely.pinpoint.StatisticsActivity.java
co.islovely.pinpoint.TaskLogEntry.java
co.islovely.pinpoint.TaskLog.java
co.islovely.pinpoint.TaskManager.java
co.islovely.pinpoint.Task.java
co.islovely.pinpoint.User.java
util.Base64.java