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();
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
when I run the project it says unfortunately webApp4c has stopped
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