python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
PendingIntent send() not working on Android 12 when application is closed
I'm trying to show an Activity in onMessageReceived of my FirebaseMessagingService. I've already asked user for permission and checked that it granted.
For Android <=11 simple start activity method...
Andrew Kolubov
Votes: 0
Answers: 1
AlarmManager plays only default ringtone
I'm creating an alarm using AlarmManager and PendingIntent. The alarm works and is triggered at the correct time. Unfortunately, it always plays the default ringtone, regardless of what ringtone I hav...
Jan Horčička
Votes: 0
Answers: 0
Android App crashes when Targeting to Android 12
My App crashed when targeting to Android 12
Here is the crash log:
java.lang.RuntimeException: Unable to create service com.kdr.snipping.CheckRecentRun: java.lang.IllegalArgumentException: com.kdr...
Zubayr Shah
Votes: 0
Answers: 1
Unable to start activity: java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE
today my phone updated to android 12 and my app started to crash when I launch it. It is supposed to send a notification when launched.
val intent = Intent(this, MainActivity::class.java)
val ...
David Ramirez Yáñez
Votes: 0
Answers: 2