How to make this one to only take the picture

Hi
How to write an xls from code to just take the photo by camera and the option of the upload photo should be not appear.

Hello @Faisal_Amani.
Welcome to the ODK Forum, when you get a chance, kindly introduce yourself here.
Your question has been answered here.

I hope the solution worked for you @Faisal_Amani

Thanks
It Works very Well