Category "android"

How to pass arguments from Activity to ViewModel using Hilt (without a ViewModel Factory)

In my activity, I have multiple variables being initiated from Intent Extras. As of now I am using ViewModelFactory to pass these variables as arguments to my v

Could not resolve all files for configuration ':app:debugRuntimeClasspath' android studio

I'm new to Android development with Java. I made an app that allows you to log in with Google and Facebook. Everything worked fine until about three days ago wh

Unable to load class 'ijmapper_a3g8yazybfvfygf10kzeu3s98'

[How to fix this Unable to load class 'ijmapper_a3g8yazybfvfygf10kzeu3s98']

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