title: move from Activity to fragment
body: <p>i have a fragment say <code>F1</code> and from there i'm opening an activity say <code>A1</code> and after that activity (<code>A1</code>) i'm opening other activity (<code>A2</code>) and i'm performing some tasks in <code>A2</code> now once my task is over in my activity (<code>A2</code>) i want to destroy current opened Activities and move back to my fragment <code>F1</code>.</p>
  
  <p>this is what i'm trying to get back to my fragment:</p>
  
  <pre><code>    Intent intent = new Intent(context, myFragment.class);
      overridePendingTransition(0, 0);
      intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
      finish();
      startActivity(intent);
  </code></pre>
  
  <p>but i'm getting this error :
  <code>Unable to find explicit activity class</code></p>
  
  <p>and i know why i'm getting this (cause specified class is not an activity that is a Fragment ) but my question is how can i move back to that fragment ?</p>