Category "android"

Save segmentation result of Selfie segmentation with ML Kit on Android as A Bitmap with transparent background

Save segmentation result of Selfie segmentation with ML Kit on Android as A Bitmap with transparent background I am following this tutorial and code for Selfie

How to fix "unexpected element <queries> found in <manifest>" error?

All of a sudden, I am getting this build error in my Android project: unexpected element <queries> found in <manifest> How do I fix it?

Circular Progress Indicator inside Buttons, Android Material design

I have just read that buttons (MaterialButton) (progress indicator material design) in Material Design, are able to hold a circular progress Indicator, as you

Flutter: Notification icon showing white circle

I have tried everything including changes in manifest file as well as putting the icon property in notification function but the notification icon is still whit

Creating P2P Connections with Wi-Fi : Message passing issue

I'm working with Wifi P2P Connection to send and receive messages between two Android Devices using below tutorials https://developer.android.com/training/conn

android nfc reading Driver license BAC vs BAP

Using android device to nfc read my country ID card and Driver license (hint: both had 3 lines MRZ of Type TD1 and the Driver card has a number 8digits+'E' near

How to solve "No compatible browser found" error in Okta login?

While trying to login into the OKTA login page, the android device is giving this error, And the login fails. D/MainActivity: null onError AuthorizationExce

gradle ASCII: A problem occurred evaluating project ':app'

Friday gradle works fine, today I got this gradle error: * Where: Build file '...\git\project\app\build.gradle' line: 1 * What went wrong: A problem occurred e

How can I stop OnClickListener in the middle of execution?

I need to exit out of an OnClickListner event in the middle of its execution but, can't find a command to do so. Tried using break but that can only be used on

gradle ASCII: A problem occurred evaluating project ':app'

Friday gradle works fine, today I got this gradle error: * Where: Build file '...\git\project\app\build.gradle' line: 1 * What went wrong: A problem occurred e

How can I solve "fatal: ambiguous argument 'HEAD~1': unknown revision or path not in the working tree"?

I have only one commit on master and haven't merged it into the remote. I want to remove my commit, keep my changed files, change my branch, and commit them. No

how can i share viewModel between Activities?

I'm learning Android ViewModel now. and I have MainActivity and RegisterActivity which can type name, age, and phone number in there. after typing that informat

Flutter Secure Storage not initializing as itended on app start up

I am working on an application with dynamic splash screen images. This is how I have implemented it. class _SplashScreenState extends State<SplashScreen>

How to dismiss notification since Android 12?

My app creates a notification with two actions the user can choose. After choosing either of the actions, I want the notification to be automatically dismissed.

how to pass intent extras to static shortcuts in android application

i am investigating static shortcuts in a hobby android application i can get the Google Assistant action tool to work with my application and it passes the feat

Widget that contains image with rounded corners

How to make a Material You-like widget with image whose corners are rounded? It is already made in Google Photo, but how to get the same effect? Many ways (like

Plugin com.android.application not found when running app in android studio chipmunk canary 7

I had downloaded android studio chipmunk canary 7 and faces this problem : Plugin [id: 'com.android.application', version: '7.2.0-alpha07', apply: false] was n

Android Studio BumbleBee pair wifi not working

I am trying to connect my Android 11 device with the android studio over adb wifi but it is not working. I updated to the latest stable bumblebee and updated my

Change recyclerview rows after being created

I have a viewPager which contains two fragments. First for showing list of products and another one for showing list of selected products. In the second fragmen

How to change visiblity (visible, invisible or gone ) of setEndIconDrawable in TextInputLayout android?

I am trying to make invisible or visibility gone of endIconDrawable which is the edit icon in the picture above for FirstName field only and want to keep visib