Category "android"

Caching JSON data on android: Room vs file

An app retrieves JSON formatted strings from a network and parses them for presentation to the user. What would be the best way to cache the data in case it's n

I would like to change my Items Page from using CollectionView to ListView in xamarin.forms but I am having issues?

The above header refers. I would like to make this change so I can implement expanding lists (whereby my some of my list of items could have sub-items that can

Firebase React Native Expo login error with google

Error message : (0, _auth.signInWithRedirect) is not a function. (In '(0, _auth.signInWithRedirect)(_firebaseConfig.authentication, _firebaseConfig.provider)',

Android 12 Splash Screen API - Increasing SplashScreen Duration

I am learning Android's new SplashScreen API introduced with Android 12. I have so far gotten it to work on my Emulator and Google Pixel 4A, but I want to incre

BottomNavigationView covering up fragment

When creating a new app in Android Studio, using the Bottom Navigation Activity, I've found that having things in the bottom of the fragment will not be shown,

how to see the values I send with the in-app event to Appsflyer?

I used the this tutorial to capture logEvent and then send data to AppysFlyer as in-app events. I can find the event in the dashboard, for example, how many log

What does "pending composition has not been applied" exception mean and how can it be avoided?

I have a working application, but sometimes, for reasons unknown to me, the application crashes with this message: java.lang.IllegalStateException: pending com

How can enable HotSpot on android device by delphi code

By this delphi code I can enable wifi on android device. var WiFIServiceNative: JWifiManager; begin WiFIServiceNative := JWifiManag

react-native android project not found error

I am trying to create a react-native project using react-native cli. Command I used to create project npx react-native init test After this if I try to run this

Osmdroid loading only Elements inside of a Polygon with OverpassAPIProvider

So I am trying the following: Using the Overpass API in osmdroid to only load those nodes, ways or relations that are within or partially within a Polygon. Twea

App works on Android studio but not on device

I made an app to help my elderly father to share photos from whatsapp to Google photos. I learned programming to do it so it's my first program... Took a while

Flow Debounce for several types

I have a screen with several switchcompats like on photo. And I want to collect only last input of each of them to send it to server. I use SharedFlow. Now I ta

ClassCastException while trying to use com.google.api.client.http.HttpTransport

Basically, I can't find an implementation of com.google.api.client.http.HttpTransport that works in Android SDK 31. I'm trying to get started with the google-si

How to solve this error in flutter Could not determine the dependencies of task ':app:compileFlutterBuildDebug'. using android studio

Launching lib\main.dart on AOSP on IA Emulator in debug mode... Running Gradle task 'assembly debug'... FAILURE: Build failed with an exception. Where: Script '

java.util.NoSuchElementException: Flow is empty

I'm trying to test this repository using a unit test with JUnit 4 class AppRepository @Inject constructor( private val networkHelper: NetworkHelper, pri

Unlock android bootloader without OEM unlock on

I have a Google Pixel 4XL that I want to have the bootloader unlocked on to install stuff on it. The OEM Unlocking option is greyed out in the system developer

update one or more fields inside of a document, without updating all the fields

I have a feature in my program where I have to enter the user's details such as the user's age, height, and weight. This data will be stored in Firestore. this

Sorting and getting position or row nth number of sqlite database for Android studio

I have this table of students public void onCreate(SQLiteDatabase db) { String createTableStatement= "CREATE TABLE " + STUDENT_TABLES + " (" + ID_COL + "

My React Native app is lagging in the light mode, but is superfast in the dark

I am creating a React Native app with light and dark modes. The colors of all components in the app are controlled with my custom hook: export const useColors =

Fastlane. No such file or directory - GIT_TERMINAL_PROMPT=0, can't clone repository

When I run fastlane to build project, I get error: C:\Users\Me\AndroidStudioProjects\MyProject\MyProject-android>fastlane staging app:MyApp [✔] Ԇ