So you have two applications? One which is active and should react to a certain key to start the other application ("camera app")?