I am facing issues with getExposureCompensation() and
getExposureCompensationStep() apis. Whenever I call these two apis, it
throws a null pointer exception. When i use the
getExposureCompensation after using setExposureCompensation() api,
then it works fine. But in the case of getExposureCompensationStep(),
i dont have a choice.
Your opinion and suggestion in this matter will be appreciated.
Thanks
Nawab
EDIT:
There’s your problem. 🙂Or not… >.>Cameradoes not have agetExposureCompensation()orgetExposureCompensationStep()method. Those are methods for yourCamera.Parametersobject! Try changing it to: