Category "android"

Looking for an apk parser

Currently I am using net.dongliu.apk-parser but this is throwing exception for some of the apks which are signed with v2 only. The same issue also reported on t

Android Studio, "Unresolved Reference: activity_main"

I am following this tutorial and cannot figure out how to resolve the errors "Unresolved Reference: activity_main" and "Unresolved Reference: app_name". The tut

Can't uninstall Android Studio on Windows 10

I want to Uninstall Android Studio, but it's not showing in the control panel programs and features, and I can't find the uninstaller. Does anyone know how to u

androidx proxyconfig how to set user password authentication

how to add user password ? my proxy have authentication with user password code androidx.webkit:1.4.0 //my code need to add user password public void setProxy()

Jetpack Compose: How do you position UI elements within their parent with exact (x,y) coordinates?

According to the documentation on custom layouts: "Each UI element has one parent and potentially many children. Each element is also located within its parent,

Cannot take picture on flutter camera because of "unconfigured surface"

I wanted to capture the image and display a preview screen showing the captured image. It worked fine before, but once I added object detection, I receive a gro

How to clean the resources in case android app crashed or manually killed?

In android app, I've been saving data in an external directory during the application run. After performing some operations I've been deleting the data so this

justificationMode with LinkMovementMethod make text cut off

I want to achieve both justify text and add a link (show more) to TextView so I use justificationMode with movementMethod. justificationMode working well but af

Debugging MAUI app on Android after manual launch

I have a MAUI app on Android which works perfectly when launched from Visual Studio with the debugger attached. If I published an APK and install it on the devi

How do ask a permission for open a gallery in android phones using flutter

I have using image_picker: ^0.8.4+11 for open a gallery. I need to ask a permission for open a gallery. In iOS it ask a permission to open a gallery but Android

How to hide actionbar in Activity, but show in fragment

i have a fragment from an activity, i hide the actionbar in my activity like so supportActionBar?.hide() in the onCreate function of the activity when the app

Currently doing the fragments and navigation pathway of the android kotlin course and having some troubles with the letter list fragment

When I populate the nav_graph.xml with the two fragments the words fragment displays fine but the letters fragment just displays a default item list of 1 to 9.

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