Category "android"

Is there a material TimerPicker widget in Flutter? [closed]

I want to implement a time picker widget to allow users to record duration (hours and minutes) and I also want to show differently depending o

Android Emulator is not getting started automatically when running simple appium on windows machines

Android Emulator is not getting started automatically when running simple appium test. Eventhough I am setting both “avd” and “deviceName&rdqu

Xamarin.Forms : Error running program in debug mode after reinstalling Visual Studio 2019 v 16.11.11 preview 1.0

I had to reinstall Visual Studio 2019 after a Windows 10 crash. My program was developed under VS 2019 16.9.3, and the reinstalled version is 16.11.11 preview 1

Android APP crashes while Loading the ads

I am trying to make a social media application. I am trying to insert ads in between the posts. In the below code when running app crashes while executing the a

Flutter unable to build app for android 12

I am trying to build my Flutter App to support Android 12. It works fine up to Android 11, but is not supporting Android 12. I trying to add android:exported="t

Huawei Hair Segmentation Retuning Null value at getMask()

I'm working on a project where I have to change the hair color of a person's image and for this, I'm using Huawei Hair segmentation. Here is the code of Analyze

CarouselView Xamarin forms indicator view not showing

Im trying to see the indicator views , but for some reason I cant see them , also , I tried horizontals options : fill and expand , it does work on ios on lands

Error while trying to precache local SVG files in Flutter using flutter_svg library

I'm getting following error when I try to pre-cache SVG files in flutter using flutter_svg library: > flutter: ══╡ EXCEPTION CAUGHT BY

Flutter / Dart FFI existing .so file for Android

I'm trying to use a pre-compiled .so file with Flutter/Dart FFI. I've generated bindings with dart-ffigen, which seems to work without any issues. I've added th

How to read data from nested array in Firestore

I have the below structure in my Firestore and I want to read data and store it in ArrayList like I have "amountArrayList" which will read data from the "transa

Is there difference between `Class.newInstance()` and `Class()` in Kotlin?

Is there a any functional difference in Kotlin between those? class Foo { companion object { fun newInstance() = Foo() } } // Create new instance s

Automatic call Picker android kotlin

How can I create an app that can take incoming calls automatically in kotlin android 10 and above anybody I have tried using the BroadcastReceiver() class but i

what's difference between ModalBottomSheetLayout and BottomSheetScaffold in compose?

Simple question, what's difference between ModalBottomSheetLayout and BottomSheetScaffold in compose? if they both do the same things so what's the difference ?

Why am I getting this warning and how to resolve it "This version only understands SDK XML versions up to 2 but an SDK XML..."

I have just updated my current android application to use java 11, build tools 32.0.0 and heres the android studio details im using Android Studio Bumblebee | 2

Android activity onKeyDown() not triggered for Power button, and Intent.ACTION_SCREEN_OFF is not broadcasted either

I have an Activity (Activity_RingAlarm) that is supposed to be launched as a full-screen intent when an alarm rings. The activity is launched fine, no issue the

How to animate content replacement in Android Bottom Sheet

I have a BottomSheetDialogFragment which contains two different layouts <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_pa

Android & Firestore - deducting value from an object

General context: The app I'm making manages activities with resources at hand. Once users create cases, the amount of materials each case needs is deducted from

AWS recognition SDK causes the gradle to not build in Android Studio

I tried manually adding the "aws-java-sdk-1.12.199.jar" to the library and added the line "implementation files('libs\aws-java-sdk-1.12.199.jar')" into the grad

After click view not display on screen if I set visibility to VISIBLE - Android

I got a view and in xml it is visible <LinearLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="wrap_c

Android: Check if my app is allowed to run background activities

I have an app that runs a stopwatch service, and I run the service in the foreground. I have a notification showing the timer, that updates each second. The not