169 questions
0
votes
1
answer
87
views
Flutter LiveKit screen sharing issue, app crashes on Android 14 and above
I'm using LiveKit Flutter SDK to implement screen sharing in my Flutter app.
On Android 14 (SDK 34 and above), the app crashes every time I try to enable screen sharing with:
await room!....
0
votes
1
answer
56
views
How prevent show virtual keyboard in edittext while typing on physical keyboard?
When I use this:
etID.ShowSoftInputOnFocus = false;
the virtual keyboard does not show on focus. That's what I want.
But when I start typing on the physical keyboard, the virtual keyboard pops up. ...
0
votes
0
answers
53
views
How to Prevent Fullscreen Overlap with Status Bar on Android 14+ [duplicate]
I tried running my Android application on newer SDK versions (like API 35), and I noticed that the app is now displaying in full screen — even drawing content under the system status bar. Previously, ...
0
votes
1
answer
194
views
How set user and group of new service binary file added to AOSP?
Setting deamon user and group done on myservice.rc file:
service myservice /vendor/bin/myservice
class core
user system
group system
Resulting:
adb shell ps -A | grep myservice
system ...
0
votes
0
answers
208
views
How to start a FOREGROUND_SERVICE with microphone access in background on Android 14?
I'm developing a child safety app as a pet project.
On the parent's device, there's a map that shows the child's current location.
On the child's device, I run a background service that also includes ...
0
votes
2
answers
226
views
Build AOSP Android14 and run emulator result fstab error
Setup AOSP sources with:
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r75
And setting:
source build/envsetup.sh
lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
...
0
votes
0
answers
48
views
Foreground service auto-restarting on OnePlus 10R (OS 14) even when app is killed, not reproducible on Samsung devices
I'm experiencing unexpected behavior with a foreground service on OnePlus 10R (Android 14). The service restarts on its own even after the app is killed (swiped from recents). This does not happen on ...
1
vote
1
answer
279
views
Android 14 BAL Hardening Warning for PendingIntent in Wear OS (Target SDK 34+)
I’m developing a standalone timer app for Wear OS with targetSdk 35. The app has an ongoingActivity notification and a watch face complication. When the user taps the notification or the complication, ...
0
votes
0
answers
29
views
Resolve uri from PickVisualMediaRequest to absolute path in Android 14 [duplicate]
In Android 14 the PickVisualMediaRequest callback returns an abstract uri which does not point to the image and cannot be resolved in a webview html file upload control.
In Android 13 the ...
0
votes
1
answer
1k
views
Push notification icon is not displayed as expected on Android 13 and above. Instead, it shows a circle. How can I fix this issue?
I'm trying to display a custom icon for push notifications on all Android devices. However, on Android 13 and above, the notification icon is replaced by a white circle instead of the icon I provided.
...
0
votes
0
answers
52
views
Change language causes app ended in Android 14
In my android app that I am developing up to android 13 by changing the language of the device the app used to work properly, now when I put the app in the background, change the language and go back ...
0
votes
0
answers
118
views
Is there Android 14 for Samsung Galaxy Tab A7 (not A7 Lite)?
Asking because I'd like to test my ionic app with Capacitor 6.0 built for Android. But I understand Capacitor 6.0 only targets devices with Android 14+. I understand Samsung has released Android 14 ...
2
votes
1
answer
87
views
Microsoft Excel changed file's visibility-in-code after saving in Android 14
I find once Microsoft Excel edit an excel file and saved, my app can no longer access that xlsx file by ContentResolver on Android 14.
I am creating a .Net8 MAUI project targeting Android.
I set ...
0
votes
1
answer
298
views
Updated React Native App to target SDK 34 and registered receiver also in MainApplication.java but still getting crash
Updated my react native app target sdk version to 34 but got error One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED so added this code in MainApplication class
registered receiver in mainapplication....
0
votes
0
answers
624
views
Android 14 (SDK 34) Background Activity Launch blocked
Recently, we have upgraded the SDK version of our app to 34 (Android 14) and after the we have noticed that our app is getting launched when the user clicks on the Notification.
Our initial research ...
1
vote
0
answers
41
views
What Foreground Service Type is appropriate for a server socket to listen on incoming data
Android 14 requires that every Service has a foreground service type set.
What is the correct type for an App that needs to listen on a socket for incoming data and sometimes need to start an activity?...
0
votes
2
answers
233
views
Android 14 Java Wake Screen depreciated
I have an App that can Wake the Screen, it works perfectly on earlier versions of Android 6 to 11. After upgrading to Android 14 it no longer works. I have modified my code to incorporate the ...
0
votes
1
answer
256
views
Maui Android 14 API 34 Storage Write and Audio Permission not working
I'm trying to request for the permission in Maui Android 14 API 34 .NET version 7.0 always getting access denied
Permissions.RequestAsync<Permissions.StorageWrite>();
Also provided necessary ...
1
vote
0
answers
251
views
Predictive back issue when DialogFragment navigates to a Fragment
I am in the middle of adding full support for predictive back to my app however I encountered a weird bug while doing so.
In one area of my app I have a Fragment FragA that shows a DialogFragment ...
0
votes
2
answers
92
views
Foreground service crash andorid 14
I'm getting this error
Starting FGS with type location callerApp=ProcessRecord{22f416f 27792:smartsense.co.in.sensephone:remote/u0a255} targetSDK=34 requires permissions: all of the permissions allOf=...
0
votes
0
answers
118
views
Unable to pair bluetooth 2.1 SPP device with recent samsung phones and tablets
We are using a BLE 2.1 device with SPP for serial communication with android tablet Samsung Galaxy Tab Active 3 (SM-T575).
We recently upgraded to the new Galaxy Tab Active 5 (SM-X306B), and the ...
0
votes
1
answer
59
views
Not Recieving any Accessibility Event at all
I'm not Recieving any Accessibility Event when app is minimized (in android 14) but it works fine in android 10
Manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest
...
0
votes
1
answer
174
views
Accessibility Service info not reported for apps where filterTouchesWhenObscured flag is true on Android 14
My app depends on accessibility events (for example, AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED or AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED) and the information in the AccessibiltyNodeInfo ...
1
vote
1
answer
380
views
UsbManager returns empty device list in emulator - even when USB device is connected via usb-passthrough
I'm debugging USB related issue due to upgrade to SDK34 and failure on Android 14. I don't have a physical device so I resort to emulator.
I chmoded the usb device: such that the device is readable/...
1
vote
0
answers
96
views
Play sound when received FCM notification on background in Android 14
I'm encountering an issue with playing a ringtone in the background for my notifications on Android 14. Here's the flow: I receive notification data from FCM, create a silent notification channel, and ...
0
votes
0
answers
333
views
Err: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
Description
I am facing the following crash when trying to checkout on a device with Android version API "VanillaIceCream" after setting the targetSdkVersion & compileSdkVersion 34.
...
-2
votes
2
answers
162
views
Android - listFiles() does not return files [duplicate]
I've successfully written and read files in the internal storage. So far, so good.
However, I cannot list the files in the storage. listFiles() only returns one single file,
"profileInstalled&...
1
vote
1
answer
746
views
Android 14 Foreground Location Service Crash Despite Permission Granted
I'm encountering a crash on Android 14 devices after updating my app's targetSdk to 34. The crash occurs when trying to start a foreground service with the location type, even though the necessary ...
0
votes
0
answers
72
views
BroadcastReceiver does not work on android 14 in Widget
Configured a widget to track WiFi status and display it in the Widget
On Android 14, when you turn off or turn on WiFi in the widget, the status changes only if you decrease or increase the Widget and ...
1
vote
0
answers
49
views
Does cn1 support Android 14
I created an app using cn1 that has been on the Google Play Store for a while.
Recently I received a warning on Google Play Console:
Your app currently targets API level 33 and must target at least ...
0
votes
0
answers
1k
views
Flutter background foregroundServiceType 0x00000008 is not a subset of foregroundServiceType attribute 0x00000000 in service element of manifest
I'm using flutter_background_service: ^5.0.7 along with geolocator: ^11.0.0 to start a background service and track the user location.
on android 14 I'm the application crashed when its attempting to ...
2
votes
1
answer
913
views
What is the system broadcast exception to the Android 14 rule on receivers specifying export behaviour?
According to the documentation on Android 14 behaviour changes, context-registered receivers should use a flag to indicate whether or not the receiver should be exported. However there is an exception ...
1
vote
0
answers
72
views
Local Images are not visible in react native android application , in android 14
After updating to sdk 34 when I'm running my application on Android 14, local images are not visible whereas its working fine in Android 13.
buildToolsVersion = "34.0.0" minSdkVersion = 23 ...
1
vote
2
answers
1k
views
Android API 33+ WRITE_EXTERNAL_STORAGE Permission Is not Working in react native v-0.74
I’m working on a React Native application (version 0.74) and am experiencing issues with the WRITE_EXTERNAL_STORAGE permission on Android API 33+ (Android 13+). As per the new permission model ...
0
votes
0
answers
37
views
The connectgatt method will time out. After retrying a few times, it will occasionally connect again
In mid-July, many users reported this problem in the app, but no Bluetooth-related code has been modified recently. Most of the users who reported this use Android 14 phones. In the project, ...
0
votes
1
answer
256
views
Cocos2d-x project crashes only on android 14 (SDK 34)
I'm working on a project developed with Cocos2d-x. Using org.cocos2dx.lib, I have successfully ported it to Android in Android Studio. However, I'm encountering a crash issue that only occurs on ...
0
votes
0
answers
378
views
React Native 0.74.3 crashes when the app starts on Android 14 with Display over App enabled
package.json
{
"name": "Picky_Assist",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native ...
1
vote
0
answers
218
views
How to resolve getWritableDatabase() SELinux audit error: denied { ioctl }? (Android 14)
I encountered an issue where getWritableDatabase() from SQLiteOpenHelper in my Android app throws an SELinux audit error. It still works but in logcat I can see that error. The specific log entry ...
1
vote
0
answers
148
views
Android Emulator detection is not working for some devices
I have a piece of native code with C in my Android project for detecting emulators. It works perfectly for detecting all Emulators but some real devices are detected as vulnerable too. How can I ...
0
votes
2
answers
386
views
Android 14 Foregroud Service Types are required for Dependencies in Android SDK Upgrade Assistant
I'm familiar with Foreground Service Type requirement in Android 14. The app does not have any foreground services itself. However when running Android SDK Upgrade Assistant it shows a number of ...
0
votes
0
answers
274
views
How to resolve PendingIntent issue with Android SDK 34
In my Nativescript app, I am not directly using PendingIntent object but still I am getting the below error
java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of ...
0
votes
1
answer
279
views
Why does Bluetooth le scan return address XX:XX:XX:XX:55:66 in android 14
I have a Bluetooth LE app that has been working fine since Android 4.0. I have fixed the permissions for Android 14 by adding the following to the Manifest:
<uses-permission android:name="...
0
votes
1
answer
2k
views
Check permission USE_FULL_SCREEN_INTENT always returns GRANTED on Android 14
Not going into much detail (NDA), our app (kotlin + compose) allows users to receive calls that they can accept or decline in the notifications. When the screen is locked and a call is received, a ...
0
votes
0
answers
589
views
Android target 14 - Starting FGS with type location
I'm using foreground service type as location to fetch location through the service. it will fetch every 2 mins interval. service get start and stopped, after 2 mins again it will get start and ...
0
votes
1
answer
1k
views
Update your Play Core Maven dependency to an Android 14 compatible version
I have received this message from Google Play:
com.google.android.play:core:1.10.3 Google Play Core
(com.google.android.play:core) has added this note for SDK version
1.10.3:
Update your Play Core ...
-1
votes
1
answer
467
views
Android - understanding android 14 changes
I am new to android development and want to understand the changes done for android 14 (API level 34).
What happened was the usual flow of activities (from android 13) that we have (A -> B -> C) ...
1
vote
0
answers
50
views
Migration RxBroadcast from android 13 to android 14
How to migrate RxBroadcast from android 13 to android 14?
How to resolve security exception:
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being ...
0
votes
1
answer
215
views
Unable to disable android component in Android 14
I'm trying to disable an Android component from my system app's service class using the code below. It's working fine in A13 and earlier versions, but it is not disabling the component in A14.
I also ...
1
vote
0
answers
222
views
Deleting video files from gallery not working on Android 14
I am trying to make a function that deletes a selected video from a recycler view. After the confirmation in the confirmDeleteDialog I receive "Failed to delete video" , knowing that the ...
2
votes
1
answer
2k
views
Android 14 - ACCESS_FINE_LOCATION never asked nor granted
my Manifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature android:...