Category "android"

Android PhoneNumberUtils.formatNumberToE164 India Numbers

I have to validate mobile and phone numbers based on the user's default device country if the user has not entered the international country code. So I was test

Android how to convert a midi input to wav file

I konw how to convert a midi file to wav, and it's successful but, I can't convert a midi input ,like some note,then convert to wav file please help me,

Duplicate class com.google.android.gms.internal.vision.zze found in modules

I am trying to build an app with openCV and Firebase ML Kit. But I get the following error while building project: Duplicate class com.google.android.gms.intern

How to set Flutter AppBar Transparent without the Status bar

I tried to set a transparent appbar using. return Scaffold( extendBodyBehindAppBar: true,       appBar: AppBar(   &nbs

JNI: SIGSEGV when calling native function from Java, after native registration of same function on library second opening

I have an Android app that is structured in the following way: CORE: Is the class of the accessibility service that dinamically loads a few dex files. It will b

Show or Hide text using password toggle

I am doing show or hide password using below code pwdLayout.setEndIconMode(TextInputLayout.END_ICON_PASSWORD_TOGGLE); I am able to achieve show or hide passwor

Flutter Firebase and Android issue - unable to initialise. Cannot find google-services.json with latest (sept 2020) migration instructions executed

I'm a Flutter developer and for the past two days I have been trying to get my app working for Android. It's quite a big app with a lot of different functionali

Why a new ViewModel is created in each Compose Navigation route?

I have a single activity app using only composables for the ui (one activity, no fragments). I use one viewmodel to keep data for the ui in two different screen

I want to hide my appBarLayout and BottomNavigationView on scroll of fragment recycler?

I want to hide my appBarLayout and BottomNavigationView at the same time when I scroll up the recycler and show again when I scroll down the recycler. In my cas

How to align Text to Top, Bottom and Center Vertically in Jetpack Compose?

How can I align the text using Text composable function vertically. Is there a way to do it without having to add another extra view to contain the Text. The te

Ionic3 MainActivity ClassNotFoundException on Android 4.4 (Kitkat)

I have an app using Ionic 3 and Cordova-Android 6.4.0. The app works fine on Android API levels > 19 (Kitkat). But running the app on Android 4.4 causes the

@string/lbl_dob and @string/hint_dob is not working

I don't know what causes the problem I am trying to put a calendar so that the user can choose his date of birth

How to Start Activity with Picture-in-Picture mode directly in Android

I have to open activity directly on picture-in-picture mode like WhatsApp playing video in chats. I tried but it launches activity normally and when I click but

AsyncTask as kotlin coroutine

Typical use for AsyncTask: I want to run a task in another thread and after that task is done, I want to perform some operation in my UI thread, namely hiding a

Flutter: How to draw a star

I am trying to custom my container shape to look like this: I tried to do it with customPaint but I don't know very well this widget so I need help. How can I

No implementation found for method getApplicationSupportDirectory on channel plugins.flutter.io/path_provider using java (not using kotlin)

I am using new flutter version 2.2.3 and firebase_messaging 10.0.5 plugin.. I have implemented the FCM services. I have got the FCM in background but when FCM i

Android: How to determine Network speed in android programmatically

How to show a slow internet connection to the user when the network is connected Note: Not a network type (2G,3G,4G, WIFI)

Where do widgets declare themselves?

I downloaded project "Contacts" from Google's git: https://android.googlesource.com/platform/packages/apps/Contacts/+/refs/heads/master to look at how widgets w

JsonObjectRequest sending empty parameters

I'm trying to send a request with json parameters to my node backend. This is the function in Android: public boolean checkUser(String user, String passw) {

UtteranceProgressListener does not return error message

I have a piece of code to synthesize speech. There is currently an error and I want to find out which. I have attached an UtteranceProgressListener to my TextT