Category "android"

MaterialCardView crashes with material:1.1.0

I am using MaterialCardView as my cardview layout. Now, Android-studio started showing me that instead of current implementation "com.google.android.material:m

Android Studio 4.2 doesn't show signing report in the Gradle bar

I'm starting a new project using Firebase and I have to get an SHA1 key from my project. Recently I've updated Android Studio to version 4.2 and the signing rep

Camera2 API return Camera is error 4 only on SDK 29

I have implemented in my Android application a customization of the camera intent, the basic source code is derived to the officials google github repository.

GameOver dialog in Android Game

This method must display results when the game ends, but in line final DialogFragment gameResult = new DialogFragment() {...} I have an error "Fragments should

MaterialCardView crashes with material:1.1.0

I am using MaterialCardView as my cardview layout. Now, Android-studio started showing me that instead of current implementation "com.google.android.material:m

Issue with backstack and bottomnav in kotlin

I have a bottom nav with 4 fragments Home, Following, Notification, and Profile, there is no issue with the bottom navigation on backstack , but now for eg from

Auto detect firebase Phone Auth sms code in Flutter

Please read properly and then comment, hope this help full for software community. I unable to auto detect firebase phone auth sms, when i test in android it's

How to add JUCE to Android app without GUI/Projuce?

I have an already working audio app for Android that uses Oboe. I found some nice plugins https://github.com/juandagilc/Audio-Effects that I'd like to add to my

Android worker gets cancelled no cause shown

Work [ id=ab50e634-d315-4566-acc2-fe146a7366e2, tags={ in.offline.usecase.Upload****s$Worker, upload/***/now/* } ] was cancelled java.util.concurrent.Cancellati

I can't record my voice after make a phone call

I have developed an Android app for recording audio when the phone called. I know, I can't record the audio of the caller person but I want to record my voice w

Do I need to mention the coroutine dispatcher while working with Retrofit and Room?

Recently I saw this - Most data sources already provide main-safe APIs like the suspend method calls provided by Room or Retrofit. Your repository can take adva

Notification scheduling

I am developing an android app which is about meal subsciption. I update the entire menu(breakfast, lunch , dinner) for each day in the morning( I am using fire

React Native Permission rationale not showing

I'm having a trouble with react native permission rationale. It is not showing though I already put it in my code. const rationale = { title: 'Permission', mess

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugManifest'. > Could not find method getMetad

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugManifest'. Could not find method getMetadataByConfig() f

daemon not running; starting now at tcp:5037

When I start the Android Studio, the following errors occur. I cannot create virtual device and cannot connect device via USB. * daemon not running; starti

Know whether a view is completely visible in a recycler view from its adapter

I saw a lot of posts that show the currently entirely visible item in the recycler view but, from the activity. But, I want to know about that from the adapter.

Upgrading Android kotlin version to 1.5.0 throwing error message on build

Running with kotlin version '1.4.32' my Android project runs and builds. Trying to upgrade to kotlin '1.5.0' and my build throws: Execution failed for task ':a

How to run migrations on Android Studio?

Sometimes I see a pop-up, that I can migrate to a newer kotlin version or something but I recently accidentally closed it and after restarting Android Studio it

Android NDK fopen returns error 2 "No such file or directory" on a file I know exits

My app is accessing audio files and I'm doing some processing on them in OBOE. So I have JNI working, the files are located in my documents tree. All the parts

How to run migrations on Android Studio?

Sometimes I see a pop-up, that I can migrate to a newer kotlin version or something but I recently accidentally closed it and after restarting Android Studio it