Category "android"

How to generate RenderScript ScriptC* files with Android.bp?

I want to compile my renderscript project with a .rs file on AOSP. My AOSP SDK is 29 (Android Q). My build directory for mm is ├── Android.bp

Flutter FCM: Storing Notification Data while the app is in the Background/Closed

I am trying to store data received via FCM inside a class in order to navigate to a specific tab of my app after a user clicks on that notification. My problem

Android generic Gson.fromJson() conversion with coroutine and flow

I am making generic classes for hitting otp api.anybody can use otp section just have to pass request ,Response class and url and all will be done by this otp s

I get this error after the installation of kommunicate chat bot in the app

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugMainManifest'. Manifest merger failed : Attribute applica

I'm using kivymd and i get this error when I try to import MDDatePicker from kivymd.uix.picker

Even though I have already installed kivy and kivymd from kivymd.uix.picker import MDDatePicker here's the error I get : In the near future the `FitImage` wi

Android Studio Bumblebee - device manager not opening

I just updated Android Studio to: Android Studio Bumblebee | 2021.1.1 Build #AI-211.7628.21.2111.8092744, built on January 19, 2022 But now I cannot open the de

Android - onRequestPermissionsResult() is deprecated. Are there any alternatives?

I tried to implement request permissions for writing and reading from storage. Everything worked good but today Android showed me that the method onRequestPermi

Understanding Flutter and React Native [closed]

I am evaluating React Native and Flutter. I am not experienced in both of these frameworks and hence need some information which I did not fin

How to compare date and time in kotlin android?

I have an app on the PlayStore and I am building a feature where the user will not see ads more than a specific number in one day. I am thinking about comparing

Android Studio: An exception has occurred in the compiler (1.8.0_242-release)

While running app, unable to complete compilation. Keep throwing error. I installed jdk and added java_home path, but still get this error. Also, I havent any i

How to change main scope to another in recyclerview, adapter?

This is my code in adapter using recyclerView. How to improve this code to not use Main Scope, but to use scope that could be disposal? I need to have access to

Device rebooting when i click any EditText on login and sign-up screen

Every time I click the password or email EditText to type something, a few seconds pass and my phone starts rebooting I have tried the following: Making a new A

Could not find com.yqritc:android-scalablevideoview:1.0.4 react-native-video in Android

I want to use react-native-video in my project. After installing this package I got this error every time (Only in android). I have added all the additional cod

Using rememberCoroutineScope() vs LaunchedEffect

Context In Jetpack compose, we have the option of using rememberCoroutineScope() as well as using the LaunchedEffect composable in order to use coroutines / run

Android View Binding problem ,public class name and and file name is different

screenshot of layout file Link of the screen shot click here FoodItemBinding.java file is generated by compiler , how the public class name and file name is

An alternative solution to set negative padding values in Jetpack Compose? (java.lang.IllegalArgumentException: Padding must be non-negative)

I'm trying to assign a negative value to the padding modifier but the app had crashed. Have a look at my code. Thanks if you can help or give me an alternative

Android TV emulator managing network speed in runtime

In the old days, when testing my app on an Android TV emulator, I changed the Internet speed through the cellular tab in extended controls (while the applicatio

Installing pcks12 certificate in android "wrong password" bug

When trying to import a pkcs12 certificate file into android for use with the openvpn connect app, I am prompted to input a password. This is the password relev

Android - mixing NavGraph with ViewPager2

I'm looking for the following design in my android app: I want the main screen to be a TabLayout with 3 tabs, and a ViewPager2. From each one of the 3 fragments

How to show Toast Message with Binding Adapter

I dont see Toast Messages. I want to show a toast messagges when click userAddFavoriteButton.. @BindingAdapter("addFavorite") fun bindAddFavorite(userAddFavorit