title: The method getFragmentManager() is undefined for the type MyActivity
body: <p>Since I've been using my code, I used fragments. </p>
  
  <p>To do so, I have an activity calling a fragment using a fragment by tag :</p>
  
  <pre><code>FluxListFragment FLF = (FluxListFragment) getFragmentManager().findFragmentByTag(FRAG_LIST);
  </code></pre>
  
  <p>But since today, getFragmentManager seems to be unrecognized. It says :</p>
  
  <pre><code>"The method getFragmentManager() is undefined for the type FluxMainActivity"
  </code></pre>
  
  <p>Is the problem coming from the build target ? (I put Android 3.0)</p>
  
  <p>Here is the code :</p>
  
  <pre><code>public Class FluxMainActivity extends Activity {
  
  @override
  public void onCreate(Bundle saveInstanceState)
  {
      super.onCreate();
      setContentView(R.layout.main);
      FluxListeFragment FLF = (FluxListeFragment)getFragmentManager().findFragmentByTag(FRAG_LISTE);    
  }
  
  }
  </code></pre>
  
  <p>The method should be linked to FluxListeFragment and not FluxMainActivity ! I think the cast is incorrect.</p>