Я пытаюсь найти близлежащие места, но ничего не дает. Я использую ключ браузера для вызова api и для манифестного андроидального ключа apiКак выполнить поиск поблизости с Google API?
plzzz help me.
06-09 16:55:40.626 22228-22228/com.example.training.googlemappractice E/Zygote: MountEmulatedStorage()
06-09 16:55:40.626 22228-22228/com.example.training.googlemappractice E/Zygote: v2
06-09 16:55:40.641 22228-22228/com.example.training.googlemappractice E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
06-09 16:56:11.186 22228-22228/com.example.training.googlemappractice E/MotionRecognitionManager: mSContextService = null
06-09 16:56:11.186 22228-22228/com.example.training.googlemappractice E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognition[email protected]
06-09 16:56:11.561 22228-22228/com.example.training.googlemappractice E/MotionRecognitionManager: mSContextService = null
06-09 16:56:11.561 22228-22228/com.example.training.googlemappractice E/MotionRecognitionManager: motionService = [email protected]2391e96b
06-09 16:56:11.686 22228-22228/com.example.training.googlemappractice E/location: null
06-09 16:56:13.596 22228-23275/com.example.training.googlemappractice E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.googlecertificates.ModuleDescriptor" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.example.training.googlemappractice-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
06-09 16:56:22.066 22228-22228/com.example.training.googlemappractice E/ViewRootImpl: sendUserActionEvent() mView == null
06-09 16:56:22.656 22228-22228/com.example.training.googlemappractice E/url-------//: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=0.0,0.0&radius=5000&types=mosque&sensor=true&key=MY_KEY
06-09 16:56:24.031 22228-23481/com.example.training.googlemappractice E/dataStreem------: buffer([email protected]).inputStream()
06-09 16:56:24.031 22228-23481/com.example.training.googlemappractice E/data1----: { "html_attributions" : [], "results" : [], "status" : "ZERO_RESULTS"}
06-09 16:56:24.031 22228-23481/com.example.training.googlemappractice E/data------: { "html_attributions" : [], "results" : [], "status" : "ZERO_RESULTS"}
06-09 16:56:24.051 22228-22228/com.example.training.googlemappractice E/list------------: []
пожалуйста, вставьте logcat, вы проверили, есть ли соответствующее подключение к Интернету на вашем другом телефоне? –
да, это правильно работает на моем телефоне, но на других нет –
активна карта google? я имею в виду, могу ли видеть загруженную карту? –