Category "android"

Cross-compiling the gettext library: error when relinking for armv7a

I'm trying to cross compile (for armv7a and aarch64, android) the gettext library (dependency for glib). The configuration and compilation is successful, but du

I am not able to launch main activity while provisioning device

This is my AdminReceiver public class MyDeviceAdminReceiver extends DeviceAdminReceiver { private final String TAG = MyDeviceAdminReceiver.class.getName();

React-native Vision Camera unable to zoom

I am unable to zoom in https://github.com/mrousavy/react-native-vision-camera on ios devices. I am able to zoom in on android devices without any problem but un

Can React Native's PlatformColor get colors for dark mode when the system is in light mode?

I can't find any details on whether or not PlatformColor can access colors that aren't part of the currently selected system theme. For example, if the system t

Unity android gradle build fails duplicate class

I have been looking for the last few days for a solution to my problem. I have multiple SDKs imported in my project (firebase, facebook, admob, etc) and it was

Different errors with Gradle each time I tried most, common: ':app:processDebugManifest' (type 'ProcessMultiApkApplicationManifest')

A lot of errors building the gradle: Gradle Scripts build.gradle(Project:): plugins { id 'com.android.application' } android { compileSdkVersion 31

How to flow Data from One RecyclerView to Another RecyclerView when an item in first RecyclerView is clicked?

Hi, I faced an issue here.. I was creating a chatbot in which user can type a text to send it and also can select a text out of the recommended texts so I crea

Android: Start an Activity from a Service when app is killed

In my app, I have a Service running in the background (and foreground). In this Service, there's a CountdownTimer and when it finishes I want to launch the app

Android generated signed APK crash with an error but it's work fine in debug mode

I have a code it's work fine in debug mode also generated signed APK will work fine if isMinifyEnabled=false but for generated signed APK when isMinifyEnabled=t

How can I Make from Flutter Project files a one single file to install it on Android or IOS?

I am just starting learn Flutter, I build a simple as you see on the photos. My problem is I have a windows 11 and I don't have any MacOS Device, But I want to

How to apply a mask date (mm/dd/yyyy) in TextField with Jetpack Compose?

I have a TextField in which there cannot be more than 10 characters, and the user is required to enter date in the format "mm/dd/yyyy". Whenever user types firs

How to print a web page using javascript with Android POS Machine

I am using an Android POS machine to print receipts for my customers using an Android App. Recently I made a website for this service and need to print by web

I/Counters: exceeded sample count in FrameTime log

I recently started to see this logs I/Counters: exceeded sample count in FrameTime multiple times in my app logcat, I understood it comes from Google Maps. Any

How do I print programatically on android without the prompt where you have to choose a printer?

I've been trying to find a solution to this issue all day but I haven't come across anything and android has no documentation related to this. Normally when you

Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported`

Please help me with this error getting in my project while trying to run at mobile via android studio. Manifest merger failed : Apps targeting Android 12 and hi

checkjni error happen when use android studio build apk, while use unity build apk run well

with my jni demo, i use CallStaticIntMethod to call java method with boolean return. then i build this to .so, when i use this so in android studio project, the

How to build multi-origin Trusted Web Activity with a wildcard for subdomains

Given a web application with multiple sub-domains. The user is able to navigate from one subdomain to another. The number of subdomains is not fixed (a new subd

Failed resolution of Landroidx / ActivityCompat;

I'm trying to make a java library for my Unity game. In this case I want get permission from Android API. However, I get an error: AndroidJavaException: java.la

Why is ListPopupWindow OnItemClickListener not called?

For some reason I can't get this popup to react to clicks, onItemClick is not called. String[] actions = new String[]{"1", "2", "3"}; ArrayAdapter adapt

Android sensor orientation problems with edge-to-edge insets

In edge-to-edge mode it is often useful to check various insets (status bar, navigation bar, etc) in order to make adjustments to your UI. Unfortunately when a