title: Check if gps is on In Kitkat (4.4)
body: <p>Below kitkat, I get if gps is on with providers list</p>
  
  <pre><code>String providers = Secure.getString(context.getContentResolver(), Secure.LOCATION_PROVIDERS_ALLOWED);
  if (TextUtils.isEmpty(providers)) {
      return false;
  }
  return providers.contains(LocationManager.GPS_PROVIDER);
  </code></pre>
  
  <p>But in kitkat, Secure.LOCATION_PROVIDERS_ALLOWED is deprecated.</p>
  
  <p>Javaodc say "use Secure.LOCATION_MODE", Location modes are belows... </p>
  
  <pre><code>Secure.LOCATION_MODE_OFF
  Secure.LOCATION_MODE_SENSORS_ONLY
  Secure.LOCATION_MODE_BATTERY_SAVING
  Secure.LOCATION_MODE_HIGH_ACCURACY
  </code></pre>
  
  <p>But i do not know exactly below code is correct. (I do not have kitkat devices)</p>
  
  <pre><code>int locationMode = Secure.getInt(context.getContentResolver(), Secure.LOCATION_MODE);
  boolean isGpsOn = locationMode != Secure.LOCATION_MODE_OFF;
  </code></pre>
  
  <p>If incorrect, Answer correct code please.</p>
  
  <p>EDIT</p>
  
  <p>I know LocationManager. But It require ACCESS_FINE_LOCATION permission. 
  I do not need to "Access" location.</p>
  
  <pre><code>LocationManager manager = (LocationManager) getSystemService( Context.LOCATION_SERVICE );
  boolean isGpsOn = manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) 
  </code></pre>