Category "android"

React native communication between React native and android with custom object

I have a react native component that communicates with Android like this - My React Native code- const myModule = NativeModules.MyProcessor; myModule.proces

Custom Image Slider Android studio?

Style Slider Corner radius Layout is getting scattered on corner radius so i have no idea about it if any one help ! xml File <com.smarteist

Android onRequestPermissionsResult utility of super

When I'm using onRequestPermissionsResultiis it is usefull to keep the super ? @Override public void onRequestPermissionsResult(int requestCode, String permiss

One Android project two java file & res file

I took this from another resource but I have two java files and a res file I could not understand very well. Are these two files necessary?

cant generate sign apk

I can't generate signed apk with android studio 2.1.3 after installing new windows 10. I have my password and I'm sure the password is correct but when I try to

Failed to transform file 'some-lib-release.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform

I have a project with 2 modules: an app (Java) with build types debug, release, and enterprise and a Kotlin library (release and debug) used by the app. I'm us

Is it possible to create a Full Screen Intent for Android via FCM?

I'm working on an Android app that receives high priority emergency notifications and I'm looking to create the closest parity I can with iOS's critical alerts.

Floating Action Button is not showing an image in Android?

As title says, I don't know how to fix this issue. I read this problem but that was in 2018, I'm not very familiar with all those libraries and dependencies how

How to solve Attempt to invoke virtual method 'void com.google.firebase.auth.FirebaseAuth.signOut()' on a null object reference?

I have two activities (mainactivity and main2activity). I got the Google login code from GitHub Firebase login demo. When in SignIn with Google, it redirects to

IllegalStateException on DataBindingUtil.setContentView: Restoring the Navigation back stack failed, current destination null

For some users, my app seems to crash regularly at or near app start. It's been an issue I've been trying to figure out for a while but I haven't had much succe

Headless Android Emulator: GPS Location does not work even with setting Geo Fix

Summary: Entering geo fixes into the Emulator Console of a headless emulator does not set moc location data. Is there a workaround? Steps to reproduce: 1) Sta

Flutter with flavors not building to iOS

Goody day, When building to android I have no issues with using the flavors. This is not the case for iOS, I receive the following error: Finished with error

Facebook App Events not working in Flutter

I have a flutter application where my task is to log user events using facebook app events. I have added the following package to my pubspec.yaml: facebook_app_

Android Webview Click

I have a webview and I sent a URL. The page display is okay, but I cannot interact with the page displayed. I cannot click the buttons, I have just a front ...

No read access to repo Jitpack error

My Github account is private. I'm trying to create a dependency in Jitpack of my github repo project. But its throwing "No read access to repo" error. Can anyon

Error while using suspend with DAO methods

I am getting a compilation error that I have described below. I have tried different solution provided on similar question like mine but neither of them worked

People Picker adaptive element in adaptive cards doesn't work in Teams Android app

I'm trying to use the People Picker element in my adaptive cards and it works very well on the Desktop and iPhone version of Teams. Teams for Android just shows

Cannot access fragmentclass file for android.support.v4.fragment not found

I am trying to do this in android studio: Glide.with(getApplicationContext()).load(Uri.parse(url.get((int)(5)))).into(imageview6); but it shows the following e

Android webkitSpeechRecognition .isFinal variable not showing correct value

I'm attempting to do some voice recognition stuff on mobile. Here's some code.. var recognition = new webkitSpeechRecognition(); recognition.onresult = functi

java.lang.IllegalStateException: view!!.findViewById(R.id.dog_image) must not be null

I am working with Android Studio and Kotlin. I am trying to create an RecyclerView and a Adapter. I obtain the following error when I try to use the RecyclerVie