Android Open Source - PkRequestManager Main Activity






From Project

Back to project page PkRequestManager.

License

The source code is released under:

MIT License

If you think the Android project PkRequestManager 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 com.pkmmte.requestmanager.sample;
/* w w  w .  ja  va  2 s. c o  m*/
import com.pkmmte.requestmanager.sample.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity
{
  private Button btnBasic;
  private Button btnIntermediate;
  private Button btnAdvanced;
  private Button btnAutomatic;
  
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    initViews();
    setListeners();
  }
  
  private void initViews()
  {
    btnBasic = (Button) findViewById(R.id.btnBasic);
    btnIntermediate = (Button) findViewById(R.id.btnIntermediate);
    btnAdvanced = (Button) findViewById(R.id.btnAdvanced);
    btnAutomatic = (Button) findViewById(R.id.btnAutomatic);
  }
  
  private void setListeners()
  {
    btnBasic.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View v) {
        startActivity(new Intent(MainActivity.this, BasicActivity.class));
      }
    });
    btnIntermediate.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View v) {
        startActivity(new Intent(MainActivity.this, IntermediateActivity.class));
      }
    });
    btnAdvanced.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View v) {
        startActivity(new Intent(MainActivity.this, AdvancedActivity.class));
      }
    });
    btnAutomatic.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View v) {
        startActivity(new Intent(MainActivity.this, AutomaticActivity.class));
      }
    });
  }
}




Java Source Code List

com.pkmmte.requestmanager.AppFilterListener.java
com.pkmmte.requestmanager.AppInfo.java
com.pkmmte.requestmanager.AppLoadListener.java
com.pkmmte.requestmanager.InstalledAppLoadListener.java
com.pkmmte.requestmanager.PkRequestManager.java
com.pkmmte.requestmanager.RequestSettings.java
com.pkmmte.requestmanager.SendRequestListener.java
com.pkmmte.requestmanager.Static.java
com.pkmmte.requestmanager.sample.AdvancedActivity.java
com.pkmmte.requestmanager.sample.AutomaticActivity.java
com.pkmmte.requestmanager.sample.BasicActivity.java
com.pkmmte.requestmanager.sample.IntermediateActivity.java
com.pkmmte.requestmanager.sample.MainActivity.java
com.pkmmte.requestmanager.sample.QuickScroll.java