Detect the Applection work in Similator or Real Device