Hmm... tried that already but no good... is there a way to run a script which will start my script, then run the camera-ui application (and wait for it to close) and then run another script? i tried to do that running camera-ui using standalone.sh but it runs it as a background process which is not good (the second script runs immediately and doesn't wait for the application to close) i also tried to create a while loop to wait for the camera-ui process to close and when it does - to run the second script but it is not good since the camera-ui process does not close when i quit the application... Any other ideas will be great...