Category "android"

Broken CheckBoxes in RecyclerView

I am currently learning Android studio Java coding, and I got trouble. I created Recyclerview using cardView and added checkbox to cardView. If I create new obj

W/System: Ignoring header X-Firebase-Locale because its value was null

Im very new to android studio. I'm trying to make a signup page with email and password authentication with Firebase. Howerver, whenever I try to click the sign

Why does Xamarin.FFImageLoading SVG is not working on Android 11 & 12?

Xamarin.FFImageLoading SVG seems to not be working on Android 11 & 12. For example, when I do Android Target to 11 Version, setting the SVG on Embedded Reso

How to get activity in compose

Is there a way to get current activity in compose function? @Composable fun CameraPreviewScreen() { val context = ContextAmbient.current if (ActivityCom

Databinding unresolved after move to Gradle Kotlin DSL build scripts

I had a working build, including databinding, but after migrating my Gradle build scripts to Kotlin DSL, I now have unresolved symbol errors for every use of im

Android Studio VerifyError rejecting class text_plain from JavaMail API

I'm developing an application that allows the user to contact me by sending an email (the user only inputs the message, sender and receiver emails are both mine

How to check internet connection in React Native application for both iOS and Android?

I have a React Native application and I'm seeking to add functionality that checks if there is an active internet connection when the app first starts up, and c

How to create an instance of Room Dao or Repository or Viewmodel in GlanceAppWidget class using Jetpack Compose

I am trying to load list of data in App Widget using jetpack compose and i have stored in Room Local database, how i can retrive the data in GlanceAppWidget cla

Instrumented Test not running in Android Tests Passed 0 Passed

I have been trying to run a test case , present in androidTest Package. But as i execute the test, Emulator launches and I get tests passed : 0 Passed. and gett

Gradle failure A problem occurred evaluating project ':app'

I am trying to build the gradle for my app but the build fails I've looked around some other questions regarding to this issue and I couldn't solve it. Also, I

Printing a pdf file on a thermal printer

I getting issue, printing through bluetooth on thermal printer from pdf file become text view. Print Pdf file via Bluetooth Printer Android I was tried these

How do I create a button in kotlin without xml?

How do I make a button without any XML? I tried XML but it did not work and it is "Old" I heard.

How can I launch the Samsung RTL Client JNLP to use adb? (instead of the new web Client)

I want to debug my Android app for some bug that happens only on some Samsung devices so I tried using Samsung Remote Test Lab. But I want to debug using adb or

ANR after Opengl context loss on Live Wallpaper Preview

I'm writing about an ANR that happens every time a user switches OpenGL context during a live wallpaper preview. This ANR is present on all Android 9 devices an

Jetpack Compose: Custom TextField design

In general, most components in Jetpack Compose seem to be very easy to customize. However, the same cannot be said for the TextField. For example, say that I wa

Android room persistent: AppDatabase_Impl does not exist

My app database class @Database(entities = {Detail.class}, version = Constant.DATABASE_VERSION) public abstract class AppDatabase extends RoomDatabase { p

Shared srcDirs between test and androidTest, unresolved references after upgrade to Android Studio Chipmunk (IntelliJ 2021.2.1)

I just upgraded from Bumblebee to Chipmunk, and I am having multiple dependency-resolution issues in my instrumented androidTests. These are what my source sets

How can I launch the Samsung RTL Client JNLP to use adb? (instead of the new web Client)

I want to debug my Android app for some bug that happens only on some Samsung devices so I tried using Samsung Remote Test Lab. But I want to debug using adb or

How do I disable rotation in Mapbox Android SDK

I want to disable rotation (bearing) in Mapbox Android SDK because it is currently too sensitive - when I pinched to zoom, the map also rotate. I tried adding

Fragment.java Rewarded Ad Implement Problem

I have made an Apps, but when I put the code of RewardedAd in Fragment.java, I can't find the keyword "this" correctly, which is giving Code Error. Now, what ca