New Approach of Indoor and Outdoor Localization Systems