Getting Latitude and Longitude 0.0 in Android M

前端 未结 4 1466
陌清茗
陌清茗 2020-12-15 01:26

I am suffering from the problem of getting value 0.0 as latitude and longitude in Android Marshmallow (API 23) i.e. 6.0.

I have searched a lot regar

4条回答
  •  一个人的身影
    2020-12-15 02:12

    Guy I resolved this issue, first answer which is given in this blocks works fine. In order to remove the 0.0 from the Latitude and Longitude, just Go in your phone settings, open the app manager and grant the permission for app. it will show, as for letting it pending for user, we can throw the Dialog with permission.

提交回复
热议问题