Android Open Source - HappyBirthday Bday






From Project

Back to project page HappyBirthday.

License

The source code is released under:

Apache License

If you think the Android project HappyBirthday 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 tk.eatheat.happybirthday;
/*  w ww . j a va  2  s  .  com*/
import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageButton;
import android.view.View;
import android.view.View.OnClickListener;
import android.content.Intent;

public class Bday extends Activity {
 
  ImageButton arrow;
 
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.bday);
 
    addListenerOnButton();
 
  }
 
  public void addListenerOnButton() {
 
    arrow = (ImageButton) findViewById(R.id.arrow);
 
    arrow.setOnClickListener(new OnClickListener() {
 
      @Override
            public void onClick(View v) {
            Intent intent=new Intent(getApplicationContext(), Rules.class);
            startActivity(intent);
 
      }
 
    });
 
  }
 
}




Java Source Code List

tk.eatheat.happybirthday.Bday.java
tk.eatheat.happybirthday.DraggableGridView.java
tk.eatheat.happybirthday.End.java
tk.eatheat.happybirthday.Main.java
tk.eatheat.happybirthday.OnRearrangeListener.java
tk.eatheat.happybirthday.Rules.java