Detecting sensors and uses parcelable class