Category "android"

Action Dial works but Action Call gives issue and doesn't do what I want

This code works like a charm but at dial screen i want it to auto make call. however i have changed ACTION_DIAL to ACTION CALL and still no luck. I have give fu

Not a direct subclass of GenericTypeIndicator: class com.google.firebase.database.GenericTypeIndicator

I have Firebase App with Realtime Database, I have db.json as { "brs" : { "route": [ { "routeDestination": "DDDD1", "routeOrigin":

Limit for Device Group Messaging (FCM)

As per docs, it is stated that - "The maximum number of members allowed for a notification key is 20." What are 'members' here? Are they the registration toke

"Your Android App Bundle uses an upload certificate with a key that is too weak."

I got the following message in the Google Play Developer Console when I was trying to upload my app bundle after creating it using Android Studio Canary: Yo

how to call the start activity from one java class

Is it possible to start an Activty using an Intent in a general java class which extends Activity? import android.os.Bundle; import android.view.View; impor

Attaching cache file to GMail through FileProvider and Intent not working

So I've been banging my head against the wall for the past day trying to figure out why a file won't attach to an email. Every time the app runs, I get a little

How to hide navigation drawer when opening certain fragment?

I'm pretty new in android development. I want to hide navigation drawer when user is not logged in. So basically, it will shown login fragment (better in full s

Change the Color of ScrollView Programmatically

What I'm currently doing Currently, I have changed the scrollbar in my XML file using the android:scrollbarThumbVertical property like so: <ScrollView

more than one device/emulator - Error while trying to cast with Genymobile

I have attached a device and emulator. When I'm trying to cast screen with Genymobile I'm getting: INFO: scrcpy 1.10 https://github.com/Genymobile/scrcpy adb:

TextInputLayout change start icon tint color on focus

How to change startIconDrawable color when the focus is on the TextInputEditText <com.google.android.material.textfield.TextInputLayout a

TextInputLayout change start icon tint color on focus

How to change startIconDrawable color when the focus is on the TextInputEditText <com.google.android.material.textfield.TextInputLayout a

What is the meaning of "avc: denied { read } for name..." line in logcat? [duplicate]

I am wondering about avc: denied messages in my logcat. W/RenderThread: type=1400 audit(0.0:631436): avc: denied { read } for name="perf_ioct

Android app removed from Google Play store due to no prominent disclosure

My app is showing the prominent disclosure in my view and also has a switch to agree with the privacy policy. But the app still gets removed by Google over and

Can we send data from an android device to another android device directly (p2p) without server in the middle?

I need to send data from one android device to another android device directly(p2p) after they find each other through a server. I read some stuff that this can

Error: Overlay manifest:package atribute declared at AndroidManifest.xml:2:5-34. Flutter

Simple Proplem, hard to solve (i think), I get this error when i start my main.dart: Error: Overlay manifest:package attribute declared at AndroidManifest.x

Is ApplicationComponent deprecated?

I just started using Dagger Hilt for dependency injection on Android and I get a warning on Android Studio saying 'ApplicationComponent' is deprecated. Deprecat

Is ApplicationComponent deprecated?

I just started using Dagger Hilt for dependency injection on Android and I get a warning on Android Studio saying 'ApplicationComponent' is deprecated. Deprecat

Android app using Proguard & R8 differences [closed]

In my android app i am using Google R8(experimental release for now) and Proguard 6.0.3 ... According to your experience, what do you think ?

Attempt to invoke virtual method 'androidx.navigation.NavGraph androidx.navigation.NavDestination.getParent()' on a null object reference

I have created an Android application and I have added the "Navigation Drawer Activity" from Gallery, I have removed and renamed the menu items. After starting

Android - Compilation issue-Build Analyzer [duplicate]

I am making a project in android with java of a chat with firebase to collect data. The problem is that I have finished it and it compiles wel