Category "android"

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

keep the margin when the referenced view is gone in ConstraintLayout

I have 2 TextViews as in the xml below. If I hide the textView2 at runtime, I lose the bottom margin. How can I keep the bottom margin between textView and pare

cornerRadius not working with backgroungTint

I am a beginner in android dev. I am making a calculator in which i want to add round button using corner Radius. the problem is that it is working fine when i

Android 8.0: java.lang.IllegalStateException: Not allowed to start service Intent

On application launch, app starts the service that should to do some network task. After targeting API level 26, my application fails to start service on Androi

Kotlin Android View Binding: findViewById vs Butterknife vs Kotlin Android Extension

I'm trying to figure out the best way to do Android View Binding in Kotlin. It seems like there are a few of options out there: findViewById val button: Butto

react native access content:// uri fails

Working with the following react native packages in android: "react-native": "0.47.2" "react-native-document-picker": "2.0.0" (removing the ovveride to compile

Pre-packaged database has an invalid schema error

I'm building an Android application based on an old Android project. In my new application I'm using Room. I have to use the same database that is used in the

How to Get Image Path in my App which is Selected from Whats app's Chat?

i have demo application with image view and in this image view i need to set image from which selected from whats app Chat, Currently i was getting Path of sele

App build with eas build crashes on start

I have a react-native app, I'm trying to test my app on ios&android ( testflight and playstore), app was build using eas build, but app crashes suddenly on

Unity Build Error: Missing 'package' key attribute on element package at [:arcore_client:] AndroidManifest.xml:30:9-54

i am using ARFoundation 4.1.0 preview package and in XR plug-in management in unity project settings i have enabled the Arcore but the problem is when i build i

Unity Build Error: Missing 'package' key attribute on element package at [:arcore_client:] AndroidManifest.xml:30:9-54

i am using ARFoundation 4.1.0 preview package and in XR plug-in management in unity project settings i have enabled the Arcore but the problem is when i build i