jeudi 20 avril 2017

getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS) always returns false

Basic data: Android Studio 2.3.1 JRE: 1.8

getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS) always returns false

  • across all emulated devices I've tested and all Android version 5.0 and up (haven't tested anything lower)
  • Works fine when I connect a physical device (Samsung Galaxy Note III)
  • Location services are enabled and set to high accuracy
  • Google maps works fine
  • When I change the Lat. Long. in extended controls google maps scrolls to...

getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS) always returns false

from Android Authority Forums http://ift.tt/2oqvqAR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire