Category "android"

How to POST Object Array with Retrofit?

I send the data from the postman like this: {"contacts":[ { "idContact": "201", "name": "Joseph", "lastName": "Herrera",

Jitpack: Failed to install the following Android SDK packages as some licences have not been accepted

I've googled, and some says it's fixed after few trys, and by creating a new release, but It doesn't seem to work for me. How can I resolve this? * What went

What is the proper way to navigate from ViewModel in Jetpack Compose + Hilt + ViewModel?

I have stumbled upon this quite trivial, but tricky problem. I have spent a decent amount of time searching official docs, but unfortunately found no answer. Of

Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task

I've checked this answer: https://stackoverflow.com/a/34834772/13519865 It tells us to remove this line apply plugin: 'com.google.gms.google-services' Removing

how to make a curved design in constraintLayout as given below

How to make this curved view having text inside, in constraint Layout

Error in reading the Firebase value: pricecode

Please tell me what is my mistake? I'm trying to count the pricecode and shove it into user -> price. But instead, it gives an error or a link, and not the v

How to use from my app another app to visualize an image?

I want to program an app. In this app, the user selects an image file path and the app opens another app (Google Photos) to show that image. This image is in th

Accessing a JSON array inside of a JSON object in Android Studio

I am testing my knowledge and ability with android studio and API's, I have been using volley and I have come across a little problem. The API I have been using

Sending Data in Body in retrofit kotlin

I am using retrofit for calling the API i have to send the data in Body as we send in Java @Body but don't know how to parse the data... { "appType": "EXTERN

How can I improve sensitivity of ViewPager2?

I am using this at the moment. fun ViewPager2.reduceDragSensitivity(f: Int = 4) { val recyclerViewField = ViewPager2::class.java.getDeclaredField("mRecycler

Expo app icon instead of my app icon - react native

SDK Version: 41.0.0 Platforms(Android/iOS/web/all): android Add the appropriate “Tag” based on what Expo library you have a question on. Hi Guys, I&

No signature of method: build_9to1cg5tnfrkz8e8n77tajtyd.android() is applicable for argument

I am receiving an error on my flutter app. Build file 'D:\Projects\friendlysoul\android\app\build.gradle' line: 29 A problem occurred evaluating project ':app'.

Android Studio Chipmunk issue with Orientation for Preview

I have been using AS-Bumblebee for a couple of months with a new project. Recently I started adding landscape pages to the App. Clicking the Orientation for Pre

Automotive Intel x86 Atom System Image not found SDK Manager

I am trying to start Automotive emulator reading this article https://developer.android.com/training/cars/testing To install the generic system image: In Androi

Is there a way to extract frame by frame Both the Depth and RGB from an MP4 captured using ARCore API?

I tried creating a scanner through Recording and Playback API from ARCore in Android Studio, right now I can save the mp4 file format. I assumed that the mp4 fi

Jacoco in Android project - what am I missing?

Seemed like adding Jacoco to an Android project would be a straightforward process, but so far it's been nothing but pain. Having tried a few guides to getting

How do I stop Brave browser on Android turning static text into web links?

While testing my web page on Brave browser on Android, there was an unexpected behaviour where a person's name that was displayed in the page within a td elemen

Flutter FCM push notification show the blank screen when user tap on Notification in killed state

When user tap on push notification in termination state of app then it will open blank screen and app stuck on this screen and when app is in background then it

Add 2 or more constructors in kotlin

how to add 2 or more constructors ?? i know the use of data class in kotlin, but i am not getting what exactly this keyword is in kotlin and why we have to put

AndroidStudio get more and more dark grey bars when opening dialogs

AndroidStudio(Arctic Fox | 2020.3.1) get more and more dark grey bars when opening dialogs. When I open a dialog, something wrong happened that a grey bar appe