Category "android"

how can i use android wifi-display native source in my app?

I want to use miracast in my app without going to system setting, and find miracast device and connect to them in my app. Two class that was in setting classes

Ionic build fails at "Could not resolve com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99]"

So building was always fine until it wasn't. Nothing new was added, nothing was removed, no packages installed, nothing. Everything was working fine until the b

Where does the file get saved using "File file = new file(filename)" in Android

I am writing an android application. In the MainActivity.java, I created a method to write and then read contents from a file. These code runs successfully I an

Google sign in failed com.google.android.gms.common.api.ApiException: 10:

So I'm Stuck on this frustrating issue. I am quite new to Google Auth on Firebase but I done everything the firebase docs instructed in how to integrate the Goo

Cannot Resolve Symbol 'R' Android Studio 3.0

My app was working normally. When I went to sleep I left the PC on and the next morning I found this error in the R: can not resolve symbol ... Try everything,

How to open and check whether Play Protect is enabled or disabled

minSdkVersion 18 targetSdkVersion 27 Using below code, I can able to open the Google Settings page. private static final String GOOGLE_SETTINGS_COMPO

Could not determine artifacts for com.github.Kunzisoft:Android-SwitchDateTimePicker:1.9: Skipped due to earlier error

Just building my new app and after launching I get this error in my build.gradle file can anyone help? Could not determine artifacts for com.github.Kunzisoft:A

Click listener for drawableleft in EditText in Android?

Is it possible to add a OnClickListener to on a drawable that is declared in designer as drawableleft android:drawableLeft="@drawable/ic_password" Or is ther

java.lang.RuntimeException: Manifest merger failed with multiple errors

When i am build the app error occur java.lang.RuntimeException: Manifest merger failed with multiple errors java.lang.RuntimeException: Manifest mer

How to get current location using react-native-maps

Im trying to render a map at the current user geolocation on android device, using react-native maps. Here is what i've got so far: import React, { Component

Caused by: java.lang.Exception: No native library is found for os.name=Mac and os.arch=aarch64. path=/org/sqlite/native/Mac/aarch64

I am using Android Studio [Android Studio Arctic Fox | 2020.3.1 Patch 1] My room library version is [2.3.0] Used Gradle version [7.0.1] Also added kapt 'org.xer

How to get value of some field in firebase firestore android?

Like upper question, i want to get value of some field in firebase firestore instead of all document with DocumentSnapshot like this in SQL SELECT col_1, col_2

Google Map is not showing in Android Studio (Only Google Icon is Visible)

I want to import Google Map SDK in my project. According to Docs I follow all the steps perfectly but when i run the project it only show an icon of google inst

IllegalStateException: Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first

I've been getting this fatal error today after changing some gradle dependences. Even though I tried to revert the gradle dependences back to the original I'm s

GIFs not animating in the Android version of my React Native app

I am struggling to get my GIFs to animate on the Android version of my RN application. The iOS version is animating the looping GIFs as expected but I only see

Remove Title from DatePickerDialog

For some reason, I have two titles in my DatePickerDialog. How can I get rid of the white title at the top? This is the code I use to create the Dialog: dat

Store data and "Cannot create an instance of class ViewModel" - Hilt - Room - JetpackCompose

I try to store some days from ScheduleScreen screen. Lib uses in theme topic. While I was doing this, I had two questions: why i got this error Cannot create an

Cannot resolve method SubscribeOn - RxJava

I am very new to RxJava, I am trying to make Retrofit calls using RxJava. When I write this code on SubscribeOn it says 'Cannot resolve method SubscribeOn(io.re

Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio

I am developing an Android App in Android Studio. Not quite sure what went wrong. I was successfully building a few days ago. Any help would b

Access graphics from drawable folder of a dynamic feature module from main module

I'm getting my feet wet with dynamic module split API delivery in order to break up my game app into Instant and Installable versions. I've been following the C