Category "android"

Immersive fullscreen and Preference Dialogs pulling down status bar

I'm using an immersive fullscreen activity and for my dialogs I used the hack I found here where I set the dialog not focusable when opening it so its not pulli

GoogelFit sample app BasicHistoryApiKoltin, work on 2 device properly and on Samsung it gives APIException 5000

I am currently developing Step counter app, in that I am following Google Sample app. Problem is it works properly on my all device except one, On Samsung it gi

Immersive fullscreen and Preference Dialogs pulling down status bar

I'm using an immersive fullscreen activity and for my dialogs I used the hack I found here where I set the dialog not focusable when opening it so its not pulli

How do I correctly anchor Snackbar in android, so it does not cover my bottom navigation view?

I am trying to avoid the snackbar covering the bottom navigation view. Instead, it should only appear inside the nav_host_fragment, but for some reason, it does

Flutter: Id does not exist when try to run my code

I have a Flutter application and when I try to run my code, it throw a warning that says the id does not exist. How can I get out of this warning? ======== Exce

OMSDroid - Doesn't load the map. Error: java.io.IOException: Unable to find default handler for protocol: https

I have a problem with the OSMDroid libraries. In my application I have a Fragment which should contain a map (OpenStreetMap) and and when I load the page, the m

Create MaterialButtonToggleGroup including MaterialButton(s) with customized style programmatically in Android

I'm trying to create a MaterialButtonToggleGroup with material buttons inside it and I wanna do that with custom styles. I was able to create that using xml, h

Android App Actions showing up in Google Home Routines

Recently integrated with the in-app promo SDK to bring awareness to our users that you can engage with the Google Assistant to trigger our app shortcuts. I am u

How to select all items listed in Recyclerview using androidx.recyclerview.selection?

I am using androidx.recyclerview.selection for selecting items in a RecyclerView. I am trying to build an edit fragment in which it pre-populates the old views

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