Category "android"

Error inflating class com.airbnb.lottie.LottieAnimationView

What I did: Step 1) Added the following dependency in graddle: compile 'com.airbnb.android:lottie:2.0.0-beta4' Step 2) Airbnb do not tell us where to place the

after upgrade flutter to version 3, my exist project is not building

i was working on project using flutter 2.10.0 version, it work fine, but after upgrade flutter to 3.0.0 version, my project is not building, it give me this err

Reduce height and vertical padding for a react-native-paper TextInput

I have the following code: import React, { Component } from 'react'; import { View, StyleSheet } from 'react-native'; import { Button, TextInput } from 'react-

React-Native multipart photo upload not working in android

I'm trying to send/upload image file to my back-end serve using fetch multipart upload in react-native, but fetch multipart form data upload is not working for

Why Surface child compasable fill max size if i don't wrap it in an other container?

This code fills the full screen if i specify the size to be 100.dp. ComposeTheme { Surface( modifier = Modifier.fillMaxSize(), color = Mater

Deep Links and Instant Apps

I am attempting to implement deep links within my Instant App, and keep running into issues that seem to be coming from something to do with the base applicatio

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.