For starting OpenCV with android you can follow the tutorial here.
And as your above description, I think you need to do the following...
- Filter out the color of room's wall or ceiling color.
- Replace with your preview color.
But as your room's color is not unique, you may need to mark the color manually and segment it. Here watershed algorithm might be helpful.
And one more thing is that there might be a chance of lighting variation, so you should use HSV color space instead of RGB.
And finally this is not the full solution, but you will get some idea about how to start with your project.