Android Open Source - Pairs Help Activity






From Project

Back to project page Pairs.

License

The source code is released under:

MIT License

If you think the Android project Pairs 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.example.pairs;
/* ww  w .  j av  a2  s.  c  o  m*/
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 HelpActivity extends Activity {
  
  //????????????????
  Button function;
  Button help;
  Button ours;
  Button ourpage;
  Button getnew;
  Button back;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.totellyou);
    
    //????
    function = (Button) findViewById(R.id.button1);
    help = (Button) findViewById(R.id.button2);
    ours = (Button) findViewById(R.id.button3);
    ourpage = (Button) findViewById(R.id.button4);
    getnew = (Button) findViewById(R.id.button5);
    back = (Button) findViewById(R.id.button6);
    
    //??????????????????
    function.setOnClickListener(new OnClickListener()
    {
      @Override
      public void onClick(View arg0) {
        // TODO Auto-generated method stub
        Intent intent = new Intent(HelpActivity.this, Function.class);
        startActivity(intent);  
      }  
    });
    
    //?????????????????
    help.setOnClickListener(new OnClickListener()
    {
      @Override
      public void onClick(View arg0) {
        // TODO Auto-generated method stub
        Intent intent = new Intent(HelpActivity.this, Help.class);
        startActivity(intent);
      }  
    });
    
    //?????????????????????
    ours.setOnClickListener(new OnClickListener()
    {
      @Override
      public void onClick(View arg0) {
        // TODO Auto-generated method stub
        Intent intent = new Intent(HelpActivity.this, Ours.class);
        startActivity(intent);
      }  
    });
    
    //?????????????????
    ourpage.setOnClickListener(new OnClickListener()
    {
      @Override
      public void onClick(View arg0) {
        // TODO Auto-generated method stub
        Intent intent = new Intent(HelpActivity.this, OurPage.class);
        startActivity(intent);
      }  
    });
    
    //????????????????
    getnew.setOnClickListener(new OnClickListener()
    {
      @Override
      public void onClick(View arg0) {
        // TODO Auto-generated method stub
        Intent intent = new Intent(HelpActivity.this, Update.class);
        startActivity(intent);
      }  
    });
    
    //?????????????
    back.setOnClickListener(new OnClickListener()
    {
      @Override
      public void onClick(View arg0) {
        // TODO Auto-generated method stub
        finish();
      }  
    });
    
    }
}




Java Source Code List

com.example.pairs.AlarmActivity.java
com.example.pairs.ChooseContactActivity.java
com.example.pairs.Function.java
com.example.pairs.HelpActivity.java
com.example.pairs.Help.java
com.example.pairs.MainActivity.java
com.example.pairs.OurPage.java
com.example.pairs.Ours.java
com.example.pairs.PhotoActivity.java
com.example.pairs.SMSReceiver.java
com.example.pairs.SetContactActivity.java