Questions tagged [android-api-30]
30 questions
5
votes
2 answers
Android some EditText fields don't respond to long-press (API 30+ with layout_width 0dp)
I'm wondering if anyone else has experienced this strange bug. My layout is complicated but essentially it's rows of view holders with EditText fields.
It worked flawlessly until I updated my target SDK to API 30.
After targetting API 30, some of my…

Lifes
- 1,226
- 2
- 25
- 45
3
votes
0 answers
Pixel 6 Pro Android emulator shows only the frame but not the screen
I am building a flutter app and recently I updated Android studio to the Electric Eel version for the Pixel 6 & 6 Pro emulators. When I try to launch the Pixel 6 Pro emulator only the frame of the emulator is visible I cannot see the screen. This is…

Rajender Katkuri
- 98
- 4
2
votes
1 answer
Why does the navigationBars() come back on Fullscreen activity?
I work on Android API 30+, and I want to make a fullscreen app.
I disabled the navigationBars() here :
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding =…

Phaeron
- 33
- 6
2
votes
1 answer
My Android app is not working properly once I set targetSDK as API 30; how do I figure out the reason(s)?
According to Google, all new Google Play apps from August 2021 would need to target API 30, besides being derived as Android App Bundles. Furthermore, from November 2021, even app updates would need to conform.
So I was updating my app from…

auspicious99
- 3,902
- 1
- 44
- 58
1
vote
1 answer
what xml queries are needed when adding or editing to contacts? intent.resolveActivity(getPackageManager) returns null
I am trying to write Kotlin code that adds a contact to an android users's contact list. But the line intent.resolveActivity(getPackageManager) returns null. I understand starting with android API verions 30, one needs to add queries statements to…

quinn
- 177
- 1
- 2
- 13
1
vote
1 answer
Declaring Package Visibility - default android messaging app package name
I have recently noticed that when I upgraded to Androids API of 30 or higher, my linking functionality has stopped working. It appears the reasoning is due to Android implementing the need to declare package visibility.
So now, when I try to open…

MouseWarrior
- 391
- 4
- 19
1
vote
0 answers
Getting error java.lang.NoSuchMethodException: android.graphics.FontFamily.
I am getting this error ever since upgrading the SDK version to 30:
E/TypefaceCompatApi26Impl: Unable to collect necessary methods for class java.lang.NoSuchMethodException java.lang.NoSuchMethodException: android.graphics.FontFamily.
The…

Tum
- 6,937
- 2
- 25
- 23
1
vote
1 answer
How can I use hardwarepropertiesmanager(android) in android api 30, android 11
Now I'm trying to run
HardwarePropertiesManager hardwarePropertiesManager = getApplicationContext().getSystemService(HardwarePropertiesManager.class);
…

BePositve
- 11
- 2
1
vote
1 answer
Different AndroidManifest content depending on Android API Level
Is it possible to include meta-data in my Android Manifest file for only a specific API level?
I want the following line only be considered when the app is built on a phone with Android API >= 30:

cruxi
- 819
- 12
- 28
1
vote
0 answers
SQLiteDatabase Access / API 30
I'd like to update an app on Google Play, and I believe the app must target API level 30 in order to be updated.
The app reads and writes documents, which are actually SQLiteDatabase instances. These documents are stored on the SD card, or in…

Eric Bergman-Terrell
- 138
- 6
1
vote
1 answer
Switch Status Bar Text Color / setAppearanceLightStatusBars of WindowController is not working as expected
I am using two different backgrounds for my app depending on which screen is active. In general the status bar is transparent and the background should lay behind it. Depending on the background I need the color of my status bar text to be either…

Avinta
- 678
- 1
- 9
- 26
0
votes
0 answers
Is it possible to change grayed out permissions on Android?
A certain Security app is basically questioning a good set of my apps permissions on my device. The Security app is asking me to change permissions. But this message pops up on some of my apps.
If you deny this permission, basic features of your…

JamBeem
- 1
- 2
0
votes
1 answer
Can I start my app after booting on Android API 30?
public class Starter extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Log.e("BOOT_CHECK", "Receiver Arrive_1");
if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")) {
Log.e("BOOT_CHECK",…

ravaenee
- 1
- 3
0
votes
2 answers
Push notifications not working in android 12
I have a notification problem.
Since I upgraded the android api 30 to api 31, the firebase "push" notifications with ionic capacitor stopped working for android 12, they only work for android 11 api 30 or below
It works correctly with the target SDK…

Jhony Perez
- 1
- 1
0
votes
0 answers
Android my app does not appear in "SEND TO" function
Sorry , but perhaps the title does not understand the question .
I wanted to know , according to you, why with this mainfest
…

DropVid
- 35
- 8