title: GridView on item click listener
body: <pre><code>        gridView.setOnItemClickListener(new OnItemClickListener() {
          public void onItemClick(AdapterView&lt;?&gt; parent, View v,
                  int position, long id) {
              Toast.makeText(ScenesActivity.this, position + "#Selected",
                      Toast.LENGTH_SHORT).show();
  
              final Intent intent = new Intent(getApplicationContext(), ScenesDetailActivity.class);
              intent.putExtra(TestConstants.SELCTED_SCENE_KEY, position);
              startActivity(intent);
          }
  
      });
  </code></pre>
  
  <p>TestConstants.java</p>
  
  <pre><code>public interface TestConstants {
  
   String SELCTED_SCENE_KEY="SELCTED_SCENE"; }
  </code></pre>
  
  <p>I want to get ScenesDetailActivity after click the slected scene key.  It seems that the above code doesn't work as expected. Can someone help me to slove it? Thanks a lot! Simonides</p>