[Shopmium, apn] add try catch for onPictureTaken