title: getoutputmediafileuri method is not accessible?
body: <p>I'm learning how to take a picture and save it's path into a file.</p>
  
  <p>According to the tutorials offers on <a href="http://developer.android.com/guide/topics/media/camera.html#intents" rel="nofollow">android developers website</a>, the method </p>
  
  <p><code>getoutputmediafileuri()</code> is used, however, when I tried to use that method, i found that it's </p>
  
  <p>not accessible or undefined, i mean eclipse underlines this method with redline. I don't know </p>
  
  <p>how to fix this error.</p>
  
  <p>Please find below the code</p>
  
  <pre><code>public class SaveCameraImageDemoActivity extends Activity {
  /** Called when the activity is first created. */
  
  Button btn01;
  private Uri fileURI;
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      btn01 = (Button) findViewById(R.id.btn01);
      btn01.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
  
              Intent intenet = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
              fileURI = getoutputmediafileuri();
              //intenet.putExtra("output", uri.getPath());
              startActivityForResult(intenet,0);
          }
      });
  }
  
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  
    }
  }
  </code></pre>