Category "android"

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

Failed to auto initialize the Facebook SDKFailed to auto initialize the Facebook SDK

I'm new to mobile development. And while I was developing my app, I got the following error: Failed to auto initialize the Facebook SDK A valid Facebook app id

Android WorkManager fork single into multiple chains and join

I want to set up the following work using WorkManager: A | v ----- | | v | B v | D v | C | | | ----- | v E So

How to call an activity method from a fragment?

I need to call a method that is in an activity from a fragment , i can't even instatiate the activity in the fragment , I don't know how to approach this proble

Android deep links not working due to supported web addresses being disabled by default

My app used to work fine with deep links, I haven't changed anything in the app but what has seemed to change is that when freshly installing the app, in the ap

How to call an activity method from a fragment?

I need to call a method that is in an activity from a fragment , i can't even instatiate the activity in the fragment , I don't know how to approach this proble

Firebase unable to process request due to missing initial state

I am trying to use phone auth from firebase and I get this error now. Unable to process request due to missing initial state. This may happen if browser session

infinite scrolling from flutter application that fetch data from wordpress rest api based on categories fetch data not according to their category

infinite scrolling from flutter application that fetches data from WordPress rest API based on categories... I tried to fetch data based on categories but it di

Pdf file is not able to load in android webview but able to load in external browser

I have the webpage created with angular js file. There are pdf files inside the webpage we want to download and show. when clicking the pdf file, it just show l