Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetSoftware · 1 day ago

How to check Android permissions at runtime?

Target API is 28 and minimum is 21.

I have a button that takes a photo and a button that gets the fine location.

How can I check permissions right when the app loads, instead of when the buttons are pressed?

The app always closes the first time each button is pressed.

I do not want that.

There are no answers yet.
Be the first to answer this question.