Category "android"

how to make full screen activity with status bar on top of it while scrollbar is not scrolling full in Activity when it focus on editText?

Issue is that when I enter text in EditText then ScrollView does not work and does not scroll in my activity fun statusBarColor(activity: Activity) {

Vault Data offline persistence android api does not generate helper classes

I am trying to use Android Vault API to get data from Contentful. https://github.com/contentful/vault However, when I call requestSync(), get an error that help

how to make full screen activity with status bar on top of it while scrollbar is not scrolling full in Activity when it focus on editText?

Issue is that when I enter text in EditText then ScrollView does not work and does not scroll in my activity fun statusBarColor(activity: Activity) {

Android Audio fingerprinting implementation

I am working on an Android app that works similar to shazam, soundhound, etc. I am using Echoprint for Android w/ source found on GitHub for implmentation of so

Property must be initialized or be abstract

How to declare class field? Like we can have it in java: protected SharedPreferences mSharedPreferences; And later in onCreate(): mSharedPreferences = Preferen

Steps to programmatically cast from android to miracast receiver

I'm trying to write an app that will start casting the screen from an Android phone to a TV via miracast. I'm using an HDMI dongle since the TV in question does

"Sensors Off" developer tile removed in Android 12 - Can't open camera

I recently updated my OnePlus 8t phone to Android 12, I was on Android 11 before, I quickly noticed the new camera and microphone tiles in the notification draw

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