CM Undefined Methods

I'm trying to build the gingerbread Camera app from the CyanogenMod source from Eclipse, but I'm getting a bunch of undefined methods and constants. I didn't have this problem building from AOSP. The methods that are erroring aren't defined if I look though the android documentation. What am I missing?

Code:
Description Resource Path Location Type PREVENT_POWER_KEY cannot be resolved or is not a field BaseCamera.java /Camera_CM/src/com/android/camera line 135 Java Problem PREVENT_POWER_KEY cannot be resolved or is not a field BaseCamera.java /Camera_CM/src/com/android/camera line 138 Java Problem QUALITY_HD cannot be resolved or is not a field CameraSettings.java /Camera_CM/src/com/android/camera line 493 Java Problem QUALITY_HD cannot be resolved or is not a field CameraSettings.java /Camera_CM/src/com/android/camera line 503 Java Problem QUALITY_HD cannot be resolved or is not a field VideoCamera.java /Camera_CM/src/com/android/camera line 638 Java Problem QUALITY_HD cannot be resolved or is not a field VideoCamera.java /Camera_CM/src/com/android/camera line 644 Java Problem The method getDefaultContrast() is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 93 Java Problem The method getDefaultContrast() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 67 Java Problem The method getDefaultContrast() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 129 Java Problem The method getDefaultContrast() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 158 Java Problem The method getDefaultSaturation() is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 100 Java Problem The method getDefaultSaturation() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 73 Java Problem The method getDefaultSaturation() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 133 Java Problem The method getDefaultSaturation() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 160 Java Problem The method getDefaultSharpness() is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 86 Java Problem The method getDefaultSharpness() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 70 Java Problem The method getDefaultSharpness() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 137 Java Problem The method getDefaultSharpness() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 162 Java Problem The method getMaxContrast() is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 91 Java Problem The method getMaxContrast() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 67 Java Problem The method getMaxSaturation() is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 98 Java Problem The method getMaxSaturation() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 73 Java Problem The method getMaxSharpness() is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 84 Java Problem The method getMaxSharpness() is undefined for the type Camera.Parameters SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 70 Java Problem The method getSupportedAutoexposure() is undefined for the type Camera.Parameters Camera.java /Camera_CM/src/com/android/camera line 2020 Java Problem The method getSupportedAutoexposure() is undefined for the type Camera.Parameters CameraSettings.java /Camera_CM/src/com/android/camera line 271 Java Problem The method getSupportedIsoValues() is undefined for the type Camera.Parameters Camera.java /Camera_CM/src/com/android/camera line 2003 Java Problem The method getSupportedIsoValues() is undefined for the type Camera.Parameters CameraSettings.java /Camera_CM/src/com/android/camera line 259 Java Problem The method getSupportedLensShadeModes() is undefined for the type Camera.Parameters Camera.java /Camera_CM/src/com/android/camera line 2012 Java Problem The method getSupportedLensShadeModes() is undefined for the type Camera.Parameters CameraSettings.java /Camera_CM/src/com/android/camera line 263 Java Problem The method onAutoFocus(boolean, Camera) of type new Camera.AutoFocusCallback(){} must override a superclass method BaseCamera.java /Camera_CM/src/com/android/camera line 191 Java Problem The method onPreferenceChange(Preference, Object) of type AdvancedSettings must override a superclass method AdvancedSettings.java /Camera_CM/src/com/android/camera line 130 Java Problem The method setAutoExposure(String) is undefined for the type Camera.Parameters Camera.java /Camera_CM/src/com/android/camera line 2021 Java Problem The method setCameraParameters(String) is undefined for the type MediaRecorder VideoCamera.java /Camera_CM/src/com/android/camera line 1614 Java Problem The method setContrast(Integer) is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 94 Java Problem The method setISOValue(String) is undefined for the type Camera.Parameters Camera.java /Camera_CM/src/com/android/camera line 2004 Java Problem The method setLensShade(String) is undefined for the type Camera.Parameters Camera.java /Camera_CM/src/com/android/camera line 2013 Java Problem The method setSaturation(Integer) is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 101 Java Problem The method setSharpness(Integer) is undefined for the type Camera.Parameters BaseCamera.java /Camera_CM/src/com/android/camera line 87 Java Problem The import android.content.SharedPreferences.Editor is never used ComboPreferences.java /Camera_CM/src/com/android/camera line 21 Java Problem The import android.util.Log is never used CamcorderHeadUpDisplay.java /Camera_CM/src/com/android/camera/ui line 25 Java Problem The import android.util.Log is never used ZoomIndicator.java /Camera_CM/src/com/android/camera/ui line 20 Java Problem The import android.view.OrientationEventListener is never used ImageManager.java /Camera_CM/src/com/android/camera line 40 Java Problem The import android.view.ViewGroup is never used RotateRecordingTime.java /Camera_CM/src/com/android/camera/ui line 23 Java Problem The method addSlider(SettingsController, List<String>, String, int, String) from the type SettingsIndicator is never used locally SettingsIndicator.java /Camera_CM/src/com/android/camera/ui line 94 Java Problem The method isAlertVisible() from the type VideoCamera is never used locally VideoCamera.java /Camera_CM/src/com/android/camera line 1408 Java Problem The method putStringSet(String, Set<String>) from the type ComboPreferences.MyEditor is never used locally ComboPreferences.java /Camera_CM/src/com/android/camera line 209 Java Problem The serializable class CameraHardwareException does not declare a static final serialVersionUID field of type long CameraHardwareException.java /Camera_CM/src/com/android/camera line 23 Java Problem The serializable class GLOutOfMemoryException does not declare a static final serialVersionUID field of type long GLOutOfMemoryException.java /Camera_CM/src/com/android/camera/ui line 19 Java Problem The value of the field CamcorderHeadUpDisplay.TAG is not used CamcorderHeadUpDisplay.java /Camera_CM/src/com/android/camera/ui line 29 Java Problem The value of the field Camera.mShutterupTime is not used Camera.java /Camera_CM/src/com/android/camera line 205 Java Problem The value of the field CameraHeadUpDisplay.TAG is not used CameraHeadUpDisplay.java /Camera_CM/src/com/android/camera/ui line 29 Java Problem The value of the field HeadUpDisplay.TAG is not used HeadUpDisplay.java /Camera_CM/src/com/android/camera/ui line 66 Java Problem The value of the field PreviewFrameLayout.MIN_HORIZONTAL_MARGIN is not used PreviewFrameLayout.java /Camera_CM/src/com/android/camera line 34 Java Problem

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by eriberto71
2 hours ago
Last post by edare
1 hour ago
Last post by ewell82
3 hours ago
Last post by michele.dickinson
2 hours ago
Last post by ncummings
3 hours ago
Last post by simeon02
4 hours ago