Category "android"

Why is my runtime dangerous permission auto denied?

I am trying to use the "new" way of requesting external storage write permission. But the request is automatically denied and no window pops up asking the user

How to draw curved line chart using Canvas Jetpack Compose

Does anyone know how to drawLine with curved every corner using canvas in Jetpack Compose? I have achieved this using Canvas.drawPoints(): but I want to make e

Unity-Android checking Export Project in android build settings causes Addressables issues

Im currently using Unity 2020.3.5f1, addressable ver 1.19.17 This is how im setting up my projects : building my addressables in Project A, and downloading and

How can I kill an app that I have started earlier in Android?

My app executes other apps depending on different events. For example, if the Bluetooth gets connected to "my loudspeaker" then my app launches Spotify. This wo

How can we create the below UI as shown in Native Android

I have to implement the below seek bar as shown below. The left side round thumb icon can be dragged and can be placed to each corresponding numbers. The number

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