Category "android"

Crashlytics not appear crash in dashboard

I added Firebase Crashlytics in my project and I force created a crash with the below code. The crash was created and logged in logcat but didn't appear in Cras

Android Exoplayer only playing audio without video

I'm accessing an mp4 file on the web - it runs just fine in the browser but for some reason I can only seem to get the audio portion to work in my app. Any help

React-native google signin gives Developer Error

I am trying Google login using React-native-google-signin plugin but it gives me a Developer_Error.I have done exctly same as mention in its document.here is my

I'm trying to develop an android and I need some advices

I'm trying to develop an app that retrieves from firebase the state of electric doors in some different cities and if a door error exists in any city, the app w

How to set a new audio data source for Android MediaPlayer in Kotlin

New to Android and Kotlin... I am trying to set a new audio data source for the Android MediaPlayer. The below code compiles and runs, but the sound isn't playe

Databinding generated in the wrong package

I have several modules in my project and I've renamed one of them (including the packages). This module is an Android Library module with databinding enabled. A

How to read a file from internal storage or external storage and store the file in a arrayList in android

My requirement is the end-user must be able to upload files into the application from internal or external storage and finally display the name of the file in t

Retrofit 2 Response is null even when response code is 200 and response.isSuccessful() is true

My json response file is : { "access_token": "3lfX6-GCJv8uWZE8h8OSDL5eY5oiiInNjLKZTy2ZFxj7Tru4Ounb3jIdPGMe48Ed6QchTGI3il3NxAOTdHe-3hc-1jAsqiCk6Jq_w5DfRESOfj

How to POST Object Array with Retrofit?

I send the data from the postman like this: {"contacts":[ { "idContact": "201", "name": "Joseph", "lastName": "Herrera",

Jitpack: Failed to install the following Android SDK packages as some licences have not been accepted

I've googled, and some says it's fixed after few trys, and by creating a new release, but It doesn't seem to work for me. How can I resolve this? * What went

What is the proper way to navigate from ViewModel in Jetpack Compose + Hilt + ViewModel?

I have stumbled upon this quite trivial, but tricky problem. I have spent a decent amount of time searching official docs, but unfortunately found no answer. Of

Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task

I've checked this answer: https://stackoverflow.com/a/34834772/13519865 It tells us to remove this line apply plugin: 'com.google.gms.google-services' Removing

how to make a curved design in constraintLayout as given below

How to make this curved view having text inside, in constraint Layout

Error in reading the Firebase value: pricecode

Please tell me what is my mistake? I'm trying to count the pricecode and shove it into user -> price. But instead, it gives an error or a link, and not the v

How to use from my app another app to visualize an image?

I want to program an app. In this app, the user selects an image file path and the app opens another app (Google Photos) to show that image. This image is in th

Accessing a JSON array inside of a JSON object in Android Studio

I am testing my knowledge and ability with android studio and API's, I have been using volley and I have come across a little problem. The API I have been using

Sending Data in Body in retrofit kotlin

I am using retrofit for calling the API i have to send the data in Body as we send in Java @Body but don't know how to parse the data... { "appType": "EXTERN

How can I improve sensitivity of ViewPager2?

I am using this at the moment. fun ViewPager2.reduceDragSensitivity(f: Int = 4) { val recyclerViewField = ViewPager2::class.java.getDeclaredField("mRecycler

Expo app icon instead of my app icon - react native

SDK Version: 41.0.0 Platforms(Android/iOS/web/all): android Add the appropriate “Tag” based on what Expo library you have a question on. Hi Guys, I&

No signature of method: build_9to1cg5tnfrkz8e8n77tajtyd.android() is applicable for argument

I am receiving an error on my flutter app. Build file 'D:\Projects\friendlysoul\android\app\build.gradle' line: 29 A problem occurred evaluating project ':app'.