Category "android"

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

Android Databinding Cannot find a setter for * that accepts parameter type *

Am trying to declare a variable in databinding layout it's type is array of integer but I getting an error when building the project Cannot find a setter for &

Flutter Print on Android Built In Printer

May i ask help to use flutter for print in my android built in printer ? I already search in everywhere but not found a clue but i just try use sunmi pos refere

W/System.err: java.net.SocketException: socket failed: EACCES (Permission denied) in android

Tying push the data from my application to local server. public class MainActivity extends AppCompatActivity { Socket socket; private static final String SER

Getter for defaultDisplay: Display!' is deprecated. Deprecated in Java

I need the width of the screen. But recently found Android defaultDisplay deprecacted with message: Getter for defaultDisplay: Display!' is deprecated. Deprecat