Category "android"

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

Android: How to center activity label

I want to make the label(My App) to be aligned centrally in action bar. How should I do? Here is the current screen:

Where to set all Listeners?

Where to set all Listeners for the user interfaces? Is it good practice to set them in onCreate? This looks so unstructured and strange. Is there a better place

Why can't I display my data from firebase?

I have a problem because I can’t display my data from firestore. I want to take my id from the xml. I’ve written this with help from a video and whe

installation app blocked by play protect

When trying to install a signed application (app-release.apk), a "Blocked by Play Protect" alert is shown and the app is not installed. However, an unsigned app

pip install matplotlib does not work under termux (Android)

I installed termux on my Android tablet, and was able to successfully install Python 3.9 and Numpy, but not matplotlib. Apparently the .whl was downloaded and

The 'kotlin-android-extensions' Gradle plugin is deprecated

with the Gradle version 6.2 and Android studio version 4.0.1, I have the deprecation message for the Kotlin-android-extention. any body has any idea how to fix

How do I automate builds using App Center?

I am using App Center as CI and CD for my application. I have to configure all the branches manually against which I need to build and distribute. What I Want I

if Unity will include the chunk of code in apk if I write it in "UNITY_EDITOR"

Example: If I write following code in a Script file. #if UNITY_EDITOR Debug.Log( "I'll print in Editor only.." ); #endif My question is that when creating

How to remove sticky notification?

I am new to android. I have already developed android application which starts service when application starts. What I have : Currently when application starts

How to know when my app has been killed?

I need to know when the user kills my app (Force stop). I've been reading the android lifecycle, which has the onStop() and onDestroy() functions, these are rel

HTTP 400 Bad Request - Invalid Header with Retrofit on Android

I'm migrating my Android project from Apache HttpClient to Retrofit with OkHttp. POST/PUT request return error, even though the application custom headers are t

Setting AndroidManifest's activity screenRotation different per flavor

Is there a way to dynamically set the activity screenOrientation in AndroidManifest from gradle's build.config? I need to have a flavor which allows rotation,

how to add to settings.gradle in cordova

This is the same question I am to new to comment on it to see if he found a answer Cordova is generating a new settings.gradle file when you run "cordova build

What architecture should I choose for Android GSI?

What file should I choose to download for 32-bit ARM - 64- bit binder architecture devices?

how to set one textwatcher for dynamic more than Edittext in android

I Want to set one textwatcher for dynamic more than Edittext .if I am Creating Dynamic Edittext I want to use One textWatcher for all Dynamic Edittext.if anybod

Does FireBase Cloud Messeging requires Play Services?

Does FCM requires. that the user must have Play Services installed on his phone in order to receive notifications? You see GCM do but now Im planning to move

Firebase FCM force onTokenRefresh() to be called

I am migrating my app from GCM to FCM. When a new user installs my app, the onTokenRefresh() is automatically being called. The problem is that the user is not

Error building Android kernel: "multiple target patterns"

I attempted to build a fresh kernel for Nexus 5X following Google's instructions on this page Build system: Ubuntu 14.04 x86_64 Target system: MTC19T/bullhead

Android app with WebView of AR ( Augmented Reality ) Website Android Studio + kotlin

I have android application which contains a webview of one website with AR facility. But I am facing an issue that normal webview of android doesn't allow to op