'constructor Handler()' is deprecated, when i target Android version 30, it return this deprecated wraning for Handler() To resolve this first we need to know What is Handler A Handler allows you to send and process Handle will be use in two ways in Android application Handler() introduced in Android 1 and usage of default constructor was deprected in Andorid 30. To work with handler in Android 30 we need to pass Looper object inside contructor
Message and Runnable objects associated with a thread's MessageQueue
Handler(Looper.getMainLooper()).postDelayed({
// Your Code
}, 3000)
Set Activity to Fullscreen Mode in Android - RRutors
How to get a contact image using a phone number in android?
How to Exit android app on back pressed?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
FCM Not Receiving Notifications in Android - RRutors
What is Android Fragments?
How do I check in SQLite whether a table exists?
Decompile APK Files: How to Get Source Code - RRutors Guide
How to convert milli seconds to hours, minutes and seconds in Android?
How to copy database from assets folder in android using kotlin
What is ANR? How to avoid and resolve it?
How to check Android version?
How to get complete address from latitude and longitude?
What are Android Versions available?
Hide/Disable soft keyboard on Activity launch: Android
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to find Android Device UDID or unique ID?
What is Context?
What is the Different Between val and var in Kotlin?
How to get an image resource by it's name in android?
Permission denied for window type 2010 in Marshmallow device
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to reduce APK package size?
What is the difference between match_parent and fill_parent?
How to get screen size (width,height) in Android?
What are the notifications available in android?
Invoke-customs are only supported starting with android 0 --min-api 26
What is NetworkOnMainThread Exception?
Check List for Generate Signed APK Android
Explain Fragment Life Cycle
How to install/ uninstall apk by command line ADB
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How do i load image from drawable folder in Jetpack Compose?
How to Use Deprecated Handler() in Android - RRutors Guide
Symmetric vs Asymmetric Encryption in Android Server - RRutors
Android Studio project R can't find
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Add Jar/Library Files as Dependency in Android Studio
What is Android?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON