Category "android"

ANDROID STUDIO The System cannot find the path specified

I have updated my Android Studio to the Artic Fox Version. After that neither the projects with old Gradle versions running nor the new projects with latest Gra

Check if "Remove permissions if app is unused" is disabled for a particular app

How can I programmatically determine whether the "Remove permissions if app is unused" setting is enabled or disabled for a particular app?

blogger authentication issues in android

I am working on blogger api and i am using this method to request blogger accesstoken, but problem is if user not select Manage your blog option and continue th

why this code isn't working in real-time pleace cheack this code [closed]

this code isn't working in real-time.. it works only whenever I restart/refresh the app. I am using Cloud Firestore. plzz change code am noob

Convert android.view.Menu to JMenu

I have been using a react-native library react-native-selectable-text that I forked and made small changes to it. Now I want to be able to add some icons to the

Unable to close or drag BottomSheet/TopSheet when AppBarLayout pushes RecyclerView below the peek height

I am unable to close or drag the TopSheet/BottomSheet when the AppBarLayout is expanded. After analyzing it, I realized that it can be dragged if I pulled it fr

Android Studio gone nuts all of a sudden

Firstly, Look at the screenshot that I've attached, It is giving me red lines (look to the right) in my entire code (386 errors in 766 lines) all of a sudden (

Can I sign in with a Google account in my app instead of adding a Google account to my phone?

I'm developing an Android app and I'm using Google sdk for Google oauth login, when using Google login. When I sign in with Google, the system pops up an option

Accessibility services problem happens when dealing with auto-click scripts on Android devices

I'm testing an auto-click script.But on some applications .It doesn't work! Such as Meituan. It's like Meituan/etc. can detect which touch is not human

Why androidx.room.RoomDatabase is not recognised?

I'm learning modularity and in one of my modules androidx.room.* is not recognised. Downgrading Room version helps only with @Database annotation. Also, module

How can i implement a Web Server in Android Studio (Java) and react to requests?

Is it possible to create a local web server in Java (Android Studio IDE) and send broadcasts containing e.g the parameter f (http://localhost:8888/?f=SOMEDATA)

getUserMedia html js web camera not working on android

I'm using getUserMedia to make a website that can display a camera stream. The problem is, my code works on computer, but not through a mobile browser. Does any

Ionic 5 Android signed image not showing

The signed version of android does not display images. The application is in Ionic 5 and has this problem only in the android version while in iOS it works. UPD

How can I make code responsive with any language? Support multiple languages

strings (English is the default) <string-array name="languagesList"> <item>English</item> <item>Arabic</item> <item

Data retrieving from Database Crashes when in MVVM with the Error Could not Connect To Firestore

I am trying to call data from Firebase and map it to data class while using MVVM but Its showing me errors saying failed to Connect The code of Repository Imple

Activity Intent sometimes has null extra

I'm seeing a problem where an Activity crashes grabbing an Intent extra due to it being null despite not being able to identify anywhere we don't pass that extr

How do I load an item from API to a fragment inside an Activity?

I need to load elements from my API to a fragment inside an activity, but once I initialize the element inside of the Activity Class present in the fragment lik

Profile Pic not displaying on Card View in Andorid Studio Kotlin

I am trying to get a users profile pic to be displayed beside their booking on a card in my recyclerview. The profile pic is displaying in my nav drawer, a defa

how to show back press button in a fragment

yes there are a lot of results about it i tried but i couldn't find the right answer. I have a navigation graph team. I have an activity and Four Fragments. I w

Kotlin - The feature "unit conversion" is disabled

I am still a relative newbie at Kotlin and, after a fair bit of digging, cant fix what looks to be a simple problem. For the code below the compiler returns: T