title: How to open specific Fragment from other activity onClick
body: <p>I have 4 fragment in viewpager (Easy, Normal, Hard, Advance) and I just want to open Normal fragment when onClick from other activity.</p>
  
  <h1>PageAdapter:</h1>
  
  <pre><code>public class PagerAdapter extends FragmentPagerAdapter {
  
  private List&lt;Fragment&gt; fragments;
  public PagerAdapter(FragmentManager fm, List&lt;Fragment&gt; fragments) {
      super(fm);
      this.fragments = fragments;
  }
  @Override
  public Fragment getItem(int position) {
      return this.fragments.get(position);
  }
  @Override
  public int getCount() {
      return this.fragments.size();
  }
  }
  </code></pre>
  
  <h1>FragmentActivity:</h1>
  
  <pre><code>public class level_selection extends FragmentActivity {
  
  private PagerAdapter mPagerAdapter;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      super.setContentView(R.layout.level_selection);
      //initialsie the pager
      this.initialisePaging();
  }
  
  private void initialisePaging() {
  
      List&lt;Fragment&gt; fragments = new Vector&lt;Fragment&gt;();
      fragments.add(Fragment.instantiate(this, Easy.class.getName()));
      fragments.add(Fragment.instantiate(this, Normal.class.getName()));
      fragments.add(Fragment.instantiate(this, Hard.class.getName()));
      fragments.add(Fragment.instantiate(this, Advance.class.getName()));
      this.mPagerAdapter  = new PagerAdapter(super.getSupportFragmentManager(), fragments);
      //
      ViewPager pager = (ViewPager)super.findViewById(R.id.viewpager);
      pager.setAdapter(this.mPagerAdapter);
  }
  }
  </code></pre>
  
  <p>Based on code above anybody can guide me on how to modify it to allow open fragment "Normal" by onClick from other Activity?</p>
  
  <p>Best Regards,</p>