performClick not triggering
<p>I am trying to trigger a click on the Carousel. I want that if I press the forward button, it automatically triggers the click on the carousel and then move forward. The manual click (physical touch) is working but performClick() is not. The code is as follows</p>

<pre><code>//************* Forward Button: Select Objects *************
    Button forwardButton = (Button)this.findViewById(R.id.ForwardButton);
    forwardButton.setOnClickListener(new OnClickListener() {
     @Override
      public void onClick(View v) {
          Intent i = new Intent(NewFieldTrip.this, SelectObjects.class);
         //ImagePosition = (int)carousel.getSelectedItemId();
          carousel.performClick();
          i.putExtra("SelectedScene",ImagePosition);
          startActivity(i);

      }
    });

    carousel.setOnItemClickListener(new CarouselAdapter.OnItemClickListener(){
    @Override
    public void onItemClick(CarouselAdapter&lt;?&gt; parent, View view,
            int position, long id) {                
        Toast.makeText(NewFieldTrip.this, "Select Position=" + position, Toast.LENGTH_SHORT).show();
        ImagePosition = position;
    }

  });
</code></pre>

<p>A helping hand would be great :)</p>

<p>EDIT:</p>

<pre><code>public void scrollToChild(int i){       

    CarouselImageView view = (CarouselImageView)getAdapter().getView(i, null, null);
    float angle = view.getCurrentAngle();

    if(angle == 0)
        return;

    if(angle &gt; 180.0f)
        angle = 360.0f - angle;
    else
        angle = -angle;

    mFlingRunnable.startUsingDistance(-angle);


} 
</code></pre>
