android-api-31 Questions

15

I am seeing a weird issue with a new app that I am starting. I am utilizing the new Android 12 splash screen API to create my splash screen and I followed the guide provided by Google to do so. I i...
Mikamikado asked 2/11, 2021 at 15:5

9

Solved

As the title says, i upgraded to API 31. I had a function to perform a vibration, but in the line val vib = this.getSystemService(Context.VIBRATOR_SERVICE) as Vibrator the VIBRATOR_SERVICE is now ...
Newport asked 21/7, 2021 at 8:11

2

I'm trying to make the background of an android 12 splash screen use @android:color/system_neutral1_900 as the background, but as I can see, the color loads only after the splash screen. Is there a...
Jaclin asked 23/7, 2022 at 18:15

2

When I want to get info about current wifi connection via WifiManager.connectionInfo I get this: 'getter for connectionInfo: WifiInfo!' is deprecated. Deprecated in Java How can I do it in Androi...
Disruptive asked 24/7, 2021 at 16:52

7

Starting with Android 12, Google show a toast message with an app icon. My application have launcher icon. Android 12 splash screen show app icon correctly. Show toast by code Toast.makeText(this, ...
Welsh asked 19/10, 2021 at 11:39

1

Hi everyone I have problems with the full screen I have tried various settings but I can not get a full screen on android 12 api31. Currently I have set it like this. I run app like this SystemChro...
Connaught asked 23/3, 2022 at 11:43

1

Solved

I am using the Android 12 splash screen API and while the splash screen icon shows without issue when opening the app from the launcher, opening the app from a notification only displays the splash...
Willett asked 1/10, 2022 at 15:27

1

On Pixel 4a with Android 12 (SPB5.210812.002), when approximate location permission is given by the user, no location is returned from FusedLocationProviderClient. When I change permission to exact...
1

© 2022 - 2025 — McMap. All rights reserved.