Category "android"

Crash when permission changed manually

Flutter app crashes when user manually changing location perimssion from allow to deny. Is this a normal behavior ?, i've tried to change manually the permissio

android, in what case the os will create action button in the notification

In the doc it says: In Android 10 (API level 29) and higher, the platform automatically generates notification action buttons if an app does not provide its ow

Downloadable Font's font weight not working android

I was following this official guide and wanted to use Poppins font for my project. The font has changed but the font weight property does not seem to be work. I

Trying to save Night Mode State using Fragment

I am trying to enable Dark Night Mode in my App which is working though but when I restart the app it goes to again Light Mode basically I want to save Dark Nig

Zoom photo inside viewpager2

I tried to use PhotoِDarweeView inside ViewPager2. When I want to zoom in on the photo horizontally, it does not zoom in and instead the ViewPager2 swipes

How to remove padding between AlertDialog and title/text with Compose

Using compose, I want to create something like this : Problem is using compose AlertDialog I only achieve to get this : There is a padding between the AlertDi

How to remove padding between AlertDialog and title/text with Compose

Using compose, I want to create something like this : Problem is using compose AlertDialog I only achieve to get this : There is a padding between the AlertDi

getting build error after updating ads dependencies to latest version

I am getting this build error while I am trying to run my application from the Android studio. Execution failed for task ':app:checkDebugDuplicateClasses'. >

Why does audio played in Android emulator sound with echo/noise?

Listen my problem in this short video. Now I explain in more detail: In that video I've played (clicking on button) an audio file by three times, twice in a row

What is the better or easier way to create "nested" menus in Jetpack Compose?

So in XML you were able to structure menu items and nest them like this. But in jetpack compose, I am unable to figure out how this would work. I already read

RealmDB and diacritical letters problem with upper and lower case

I have project where I use RealmDB. When I use search feature with normal string(letters) it work well - upper/lower letters are in mode Case.INSENSITIVE, but i

Flutter failed to build on Android due to icon_tree_shaker

After updating Flutter to 1.20.2 (also tried 1.20.1) app failed to build android apk in release mode. After flutter build apk I got error Script '/flutter/pack

Samsung Music Controls Widget not working properly

I have a working app with notification media controls. I am properly using Notification.MediaStyle(). Everything works well on Google Pixel 4a. However Samsung

Get camera ISO / shutter speed using CameraX or Camera2

I'm trying to get the current preview's shutter speed and ISO settings. I cannot find a way to do this using CameraX or Camera2. Is this not something that is a

lib/home.dart:2:8: Error: Not found: 'dart:html'

I am new here and facing issues with the Android studio. I try to run main.dart (both ios and android) and get this warning message ** BUILD FAILED ** ↳ I

How to update the recyclerview when opening the app?

I'm looking for a list of movies in an API, the project is in MVVM and the search is being done perfectly. However, when opening the app, the user has to exit a

NullPointerException on FragmentHostCallback.getContext()

I'm facing this random crash while navigating to a Fragment via deep-link which is declared in the navigation graph file. I'm using navigation component library

Kotlin Flows map

I have an issue regarding kotlin flow merging. See below fun. suspend fun method(filter: String): Flow<List<Model>> { // Search. val models: List&l

What does 'minifyEnabled=true' do when all configuration options are disabled?

I have a complicated build setup for an android app which basically consists of a normal android app fused together with a Xamarin/Mono project in order to incl

Buck for react-native

I create a skeleton of the react native project with the standard command npx react-native init NewProject And project directory includes .buckconfig file, lik