Category "android"

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

How to init a sealed-class in MutableStateFlow

I have a sealed-class like this sealed class LoadState { class Loading : LoadState() class Success : LoadState() class Fail : LoadState() } I use s

How to identify the source of a context object in android java?

Overview I am working on android application in java. I have Products which can be viewed as a list by customers and vendors. Problem I want to be able to utili

How to do file operations (create/write/update/delete files) using the Flutter "saf" Package

How to do file operations (create/write/update/delete files) using the Flutter "saf" Package. link:- pub.dev/packages/saf I didn't find any solutions on Google.

How can I install Firebase AppCheck in my Android React Native project?

I have secured my project with Appcheck in Firebase, I have two apps in my firebase project in which one of them is a web app (https://host-bloodhelper.web.app/

Location tracking in react native even if app is closed?

I am looking for Location tracking in react native even if app is closed? I have tried react-native-location but how i will track location and get response from

Android Alarm Manager Plus in Flutter never fires periodic

Android Alarm Manager Plus in Flutter never fires periodic after 1 minute regularly

On a Sunmi K2 Terminal how can I print (on the build-in printer) something using WinDev Mobile?

I'm using a Sunmi K2 POS Checkout Terminal running with Android 7.1.2 I'm developing a POS software with WinDev for Mobile 26, I'm already displaying some windo

Android 12: Detect if user disables/enables camera and microphone

With the new Android 12 operating system, the user now has the ability to completely disable microphone and camera usage from ALL apps. This is actually a good