codelab-geospatial icon indicating copy to clipboard operation
codelab-geospatial copied to clipboard

Ready the source for SDK API level 31+

Open MrCsabaToth opened this issue 3 years ago • 1 comments

Currently the source compiles against and targets API SDK level 30. Android Studio warns that SDK level 31 is already available. The main challenge is that API level 31 requires android.permission.ACCESS_COARSE_LOCATION next to android.permission.ACCESS_FINE_LOCATION, and the permission request logic has two stages as well: first testing against the coarse and then the fine. It's pretty easy to actualize Gradle version numbers and other package version numbers.

MrCsabaToth avatar Jun 03 '22 16:06 MrCsabaToth

https://medium.com/mobile-app-development-publication/download-file-in-android-with-kotlin-874d50bccaa2 https://github.com/elye/demo_android_pdf_reader_viewpager2/blob/master/app/src/main/java/com/example/pdfreader/FileDownloader.kt

MrCsabaToth avatar Nov 10 '22 20:11 MrCsabaToth