GetJedi/app/src/main/java/edu/getjedi/frontend/mobile/MainMapActivity.java
@Override
    public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) {
        if( grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
            initializeSensorsAccess();
        } else {
            Toast.makeText(getApplicationContext(), StringTable.SENSOR_DENIED,Toast.LENGTH_LONG).show();
        }
        return;
    }
/**
     * User has responded to the permission request dialog, either allowing or denying the necessary
     * permissions needed to the app's correct execution.
     */
User has responded to the permission request dialog, either allowing or denying the necessary
permissions needed to the app's correct execution.
User has responded to the permission request dialog either allowing or denying the necessary permissions needed to the app ' s correct execution .
@Override
    public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) {
        if( grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
            initializeSensorsAccess();
        } else {
            Toast.makeText(getApplicationContext(), StringTable.SENSOR_DENIED,Toast.LENGTH_LONG).show();
        }
        return;
    }
@ Override public void onRequestPermissionsResult ( int requestCode , String permissions [ ] , int [ ] grantResults ) { if ( grantResults . length > 0 && grantResults [ 0 ] == PackageManager . PERMISSION_GRANTED ) { initializeSensorsAccess ( ) ; } else { Toast . makeText ( getApplicationContext ( ) , StringTable . SENSOR_DENIED , Toast . LENGTH_LONG ) . show ( ) ; } return ; }
User has responded to the permission request dialog, either allowing or denying the necessary
 permissions needed to the app's correct execution.
User has responded to the permission request dialog either allowing or denying the necessary permissions needed to the app ' s correct execution .