title: Why can't I create a content resolver
body: <p>Literally all I have done is create a new project.
      import android.app.Activity;
      import android.content.ContentResolver;
      import android.os.Bundle;
      public class WebApp4Act extends Activity {
      /** Called when the activity is first created. */
      public static final Uri BOOKMARKS_URI =
          Uri.parse("content://browser/bookmarks");
      Context context = getBaseContext();
      ContentResolver cr = getContentResolver();</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main); 
  }
  }
  </code></pre>
  
  <p>when I run the project it says unfortunately webApp4c has stopped</p>
  
  <p>if I comment out the line 
  ContentResolver cr = getContentResolver();
  then there is no problem
  I'm trying to run this on an AVD set to run on version 14</p>