問題描述
Android 使用 Google 的位置服務對話框 (Android Use Google's location service dialog)
我在我的應用程序中使用地理圍欄。如果用戶在第一次設備運行後第一次切換位置,我們會要求他同意谷歌位置。但是如果用戶不同意,地理圍欄的初始化會返回錯誤代碼 1000。
有沒有辦法再次要求從我的應用中使用 Google 位置?
我知道 此任務,但此對話框僅在首次啟動位置設置時啟動。如果用戶拒絕,恕我直言,無法顯示對話框。或者有什麼辦法嗎?
謝謝你的回答
參考解法
(by Michael Drdlíček)