GetJedi/app/src/main/java/edu/getjedi/frontend/mobile/MainMapActivity.java
private void initializeSensorsAccess(){
        try {
            // Acquire a reference to the system Location Manager
            // Define a listener that responds to location updates
            locationHandler = UserLocationHandler.getInstanceOf(this);
            httpHandler = HTTPHandler.getInstanceOf(this);
        }catch (Exception e){
            Toast.makeText(getApplicationContext(),StringTable.SENSOR_EXCEPTION,Toast.LENGTH_LONG).show();
        }
    }
/**
     * Initializes the Location Handler, for the Android Location API, and HTTP Handler, which deals with
     * the Volley API (HTTP requests).
     */
Initializes the Location Handler, for the Android Location API, and HTTP Handler, which deals with
the Volley API (HTTP requests).
Initializes the Location Handler for the Android Location API and HTTP Handler which deals with the Volley API ( HTTP requests ) .
private void initializeSensorsAccess(){
        try {
            locationHandler = UserLocationHandler.getInstanceOf(this);
            httpHandler = HTTPHandler.getInstanceOf(this);
        }catch (Exception e){
            Toast.makeText(getApplicationContext(),StringTable.SENSOR_EXCEPTION,Toast.LENGTH_LONG).show();
        }
    }
private void initializeSensorsAccess ( ) { try { locationHandler = UserLocationHandler . getInstanceOf ( this ) ; httpHandler = HTTPHandler . getInstanceOf ( this ) ; } catch ( Exception e ) { Toast . makeText ( getApplicationContext ( ) , StringTable . SENSOR_EXCEPTION , Toast . LENGTH_LONG ) . show ( ) ; } }
Initializes the Location Handler, for the Android Location API, and HTTP Handler, which deals with
 the Volley API (HTTP requests).
Initializes the Location Handler for the Android Location API and HTTP Handler which deals with the Volley API ( HTTP requests ) .
// Acquire a reference to the system Location Manager // Define a listener that responds to location updates