Questions tagged [android-12]

For questions regarding programming in Android 12 (a.k.a., Android S), the primary 2021 version update for the Android OS.

563 questions
0
votes
1 answer

Approximate location Android 12 not showing the new location permission dialog

I am trying to conform to the Android 12 changes to location permissions by handling the case of approximate location in the permission dialog. But when running this on a enumlator with Android S (android-S\google_apis\x86_64) I still get the same…
Morten Holmgaard
  • 7,484
  • 8
  • 63
  • 85
-1
votes
1 answer

startActivityForResult is deprecated

I have this blocks of codes from the a class, which is extended by ActivityX. I have two startActivityForResult need to be fixed and I dont know how to implement the new API. This is the 1st startActivityForResult. private void…
-1
votes
1 answer

enable eSIM in samsung s21 FE?

I am trying to enable eSIM on S21 FE 5G european distribution [Snapdragon]. Device model: SM-G990B /DS Android 12, one UI 4.1 I rooted the Phone but cannot figure out which file to modify in android 12. i saw that some solution working for s20…
kuleman7
  • 1
  • 1
  • 2
-1
votes
2 answers

Cannot publish app targeting to Android 12

Getting an error on uploading an app to the Google Play store You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'android:exported' property set. This…
Robertas Setkus
  • 3,075
  • 6
  • 31
  • 54
-1
votes
1 answer

On Android 12, the extension of the file is cut with long file names

On Android 12, Issue reproducible with long file names. As it can see in the images attached, the extension of the file is cut in portrait. The question is: when showing a file name in one line, and android:ellipsize="middle" is required, the suffix…
Andy Wu
  • 1
  • 2
-2
votes
1 answer

The source code of my project was on target 30, and now when I wanted to change it to 33, I got this error

Apparently, there is an error in the code regarding android:exported, which should be true. In this error, it is stated that I must clearly state that android:exported="true" is about the receiver. Now my problem is that I did not use the receiver…
tfih313
  • 3
  • 4
1 2 3
37
38