There was some kind of program for n900 (I can't find it now) which allow you to create applications blacklist. You could start it at particular time (quick foto) and block all other applications than camera.