Category "android"

Android: Automatically modify metadata of any new file(s) saved or downloaded

Is there a way to attach a piece of custom code to the Android OS which automatically deletes all the metadata of any new file(s) saved or downloaded (e.x. owne

How to not count a swipe for a press in kotlin android studio

I'm building a game that when the user pressed in to first activity title screen it starts the game but I don't want to count a swipe as a click because the use

best way to compare images for similarity in android

how to compare two images, to know are they similar for 100%? I was getting path of all images from mediastore, then converted to bitmap and compared using bitm

How can I remove shadow above AppBar for Android in Flutter?

How can I remove the shadow above the AppBar for Android in Flutter? On the iOS Simulator the following Code works fine. Code: return Scaffold( ext

React Native [0.66.4][Android] - Direct local .aar file dependencies are not supported when building an AAR

I'm using a react-native library, and when I'm trying to Rebuild project on Android Studio, I get the below error - Direct local .aar file dependencies are not

Jetpack Compose Keyboard adjustment

Is there a way where we can control for every screen different states of the keyboard, for example I have one screen where I want to adjust size of the keyboard

Fastlane android building: index.android.bundle missing

I am building an app bundle (.aab) for our react native app. When I build via Android Studio, app builds, deploys to Play Store. I download and run - everything

Geofence is not created without enabling 'Improve Location Accuracy'

We are building an application that runs on Automotive OS in cars. Trying to build a geofence which the car exits, we want to do something. I notice that fence

Android License issue during Flutter environment set up

I am having a problem while trying to set up the Flutter development environment. These are the steps I have performed: I downloaded flutter and extracted the f

Tensorflow - Edit image to print out location of bounding boxes?

I have an android application and I've integrated my own custom tensorflow lite model. I can print out the object category and probability score but I'm at a lo

Espresso UI Test Cancelled with no error message

Here is the problem when I run my UI test. But the ExampleInstrumentedTest is working. This is my test file, I already comment out everything, leaving an empty

Can't initialize ACRA. Method getPluginConfigurationBuilder not found

everyone! I'm trying to use ACRA in my Android project. I have followed recommendations at ACRA Setup. My app.java file is almost identical to that on ACRA Setu

Text not appearing in a linear layout?

I have created a game which has the function to build castles, the castles are put in a list that you access with a button and are shown with a linear layout. T

Query method parameters should either be a type that can be converted into a database column or a List

package com.example.hand.data; import androidx.lifecycle.LiveData; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import an

Navigation component, popping back to another modules Destination

I have a multi module project that uses Navigation Component to navigate between Fragments. This means that in order to get to another module, I have to launch

How to impl LazyVerticalGrid with set full span or dynamic num of GridCells.Fixed in jetpack compose?

Just like Sliver in Flutter or StaggeredGridLayoutManager in android reyclerview so I can insert a banner or some thing else into grid layout

Time Format String

I am trying to decode the date-time receiving from my APIs in my required format "yyyy-MM-dd" I receive time in 2 format 1. "2022-05-05T11:32:12.542Z" 2. "2022-

Don't start Android UI test from Android Studio on real device

UI Tests on Emulator - ok Debug on real device - ok UI Tests on real device - don't start with error: java.lang.AssertionError: Activity never becomes requested

context.createDatabase is not finding in preferences DataStore Android

I've just implemented Preferences by Android DataStore but I can't find "context.createDataStore" I added this dependency below implementation "androidx.datas

Show custom alert dialog in Jetpack Compose

I am searching how create custom dialog in Jetpack Compose. In XML or Material Design we can create easily custom Dialog in which we can take user input, radio