title: Running a custom animation between Android Activities
body: <p>So I know you can use your own animation between activities using the overidePendingTransition method. I set up a transition between two activites and it works perfect on my emulator but I see no transition when I flash the app on to my phone.  How can this be?</p>
  
  <p>My emulator is running 2.2 as is my phone</p>
  
  <p>Here is my onCreate method</p>
  
  <pre><code>    public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
          final Button button = (Button) findViewById(R.id.close);
          button.setOnClickListener(new View.OnClickListener() {
              public void onClick(View v) {
                  Intent myIntent = new Intent(ActivityTransitionActivity.this, ActivityTwo.class);
                  ActivityTransitionActivity.this.startActivity(myIntent);
                  overridePendingTransition(R.anim.fadein, R.anim.fadeout);
  
              }
          });
      }
  </code></pre>