Category "android"

ARCore: not getting features points on white or any plain surface

I'm using ARCore in my Android app and required features points from ARCore. But I'm not able to get features points for the plain white surfaces. If I try it w

Last element is printed twice, Android Studio Cursor

My code creates a duplication of the last entry in the cursor. The text in the textview looks something like this: Peter,23 Paul,40 Anastasia,20 Anastasia,20 H

How do you add windowSoftInputMode to one item

I want to add android:windowSoftInputMode="adjustPan" only to recycler view. When I add it into the manifest file it adds it to everything which I don't want. W

Cannot reassign variable inside observer viewmodel

So I created MVVM app in kotlin to fetch movies from TMDB api, using injections and coroutines. My problem is that I cannot copy the list of returned movies int

foreign key constraint failed (code 787 sqlite_constraint foreign key)

I have been using the Android Studio App for about a month now,in order to create a project for a university subject. Unfortunatelly,I came across a problem whi

I cannot add new destination into navigation component in android studio

I got some problems when I create a navigation graph to control fragments, the problem is that whenever I add any new destination to this graph, this destinatio

Limit of fetching Server time using firebase function

I wanted to fetch server time on device so I am using FirebaseDatabase builtin function: FirebaseDatabase.getInstance().getReference(".info/serverTimeOffset") I

Appropriate Paths for Resources in AndroidManifest.xml

in my AndroidManifest.xml, I have <application android:icon="@drawable/iC_launcher" android:label="@string/app_name" android:theme="@style/AppThe

How to use kotlin flow flatMap in Android

In my application I want flatMap operators such as flatMapMerge. But after write codes show me highlight on flatMapMerge and say add one annotation!I write belo

Is there any library which can tell current version of the application is installed in users system in RN

So i want to find current version of applications in React-native so, that i can compare with latest version and send update alert to users.

APP crashing on android devices, game built with unity editor 2020.3.33 LTS

I am working on a project from last 2 years. I started working with 2019.4. Few months ago my PC broke down because of heat so i had to take a new one. I instal

pwa has different background on mobile device

I have a strange problem, when I launch my WPA in developing mode on my computer it has a white background, but if I launch it on my android phone after instal

Border stroke not same on left and right side in custom shape

I'm trying to create an arrow without bottom line but when I'm applying border stroke. left side and right side border width and color are showing up different.

Android Studio INSERT button not adding

I try to Insert some random values to Realtime Database in Android Studio with Firebase, it says that Data has been inserted when it hasn't. In another class I

RN notifee onBackgroundEvent dosen't called when an action get pressed

I'm using @notifee/react-native & Firebase messaging service to display an incoming call notification on Android that has two actions (accept-call and rejec

How do I upload image file to google drive from android

I'm having a issue uploading a file to Google Drive. W/System.err: java.io.FileNotFoundException: /storage/emulated/0/Android/data/dev/files/backup/https:/i.pic

Jetpack compose how to blur text area and line it to the bottom of a card

I want to place text at the bottom of a card and blur the text area with a translucent color. This is what I have so far. The design I am trying to achieve is t

Just curious - ParcelFileDescriptor's getStatSize() returns file size in MB not MiB, why is Google making this complicated?

Phone's File manager shows the size of a randomly selected images as 7.09 MB. Android's ParcelFileDescriptor's getStatSize() method returns 7093426 bytes. This

FFmpeg Cropping Fps Drop

FFmpeg Commands works but having a problem in fps drop also using libx264 for encoding any idea to get this good "-y" "-noautorotate" "-ss" "301" "-t" "11" "-i"

Unresolved reference when using a generated an AAR with Composables

I'm in the process of porting my FloatingActionButtonSpeedDial library to Compose and I've reached the step where I should publish the new Compose library to ma