Smart device unveiled for in-flight emergencies