Category "android"

What causes java.lang.VerifyError: Verifier rejected class?

While uing Moshi converter, adding a few more, causes the following error. Not sure where or why it says Rejecting invocation, expected 81 argument registers,

How can i make actionbar not overlap layout on a specific device

actionbar overlaping the layout on pixel 2 it goes under but on pixel 4 it don't. If i add padding in the xml file it fixes the problem on pixel 2 but its gonna

Is there a way to trigger an external event or app when Google Maps says "You have arrived"?

Is there a way to hook the "You have arrived" event in the Google Maps android app? The Maps API can do this, but only if I recreate a lot of the functionality

Is it possible to send Uri using AIDL?

I have two apps, lets say AppClient and AppService. Those apps are communicating between each other using AIDL methods. Right now I would like to send Uri from

Compose side effects + Jetpack navigation + onBackPressed = Stuck navigation

I am having this issue where I have to navigate when given state gets updated after an asynchronous task gets executed. I am doing it like this: At ViewModel.kt

Getting the ProductDetails price in android-billing-5.0

I have upgraded my Kotlin app to android-billing 5.0 from 4.0, and as such, SkuDetails is now deprecated so I am migrating to using ProductDetails using the mig

Call Fragment Dialog from Activity

I call "DialogFragment" in "fragment" which invokes "FloatingActionButton" in "Activity" and "CallBack interface". But in "Fragment" which calls "DialogFragment

UI bug while updating recycler view

I'm using FirebaseUI FirestorePagingAdapter for recycler view adapter and the recycler view uses GridLayout type with 2 columns . The recycler view item block

FlutterError : The key [LabeledGlobalKey<FormState>] was used by multiple widgets

I'm getting an error while trying to navigate to the menu_screen widget. I'm pretty sure that the GlobalKey menuFormKey is not used inside another widget but I

Can one implement an update system like the CoinMarketCap app in Ionic

I'm currently building an Ionic app which will be getting very frequent updates. If possible, I want to avoid sending users to the app/play store each time I pu

React native recaptchaV3 returns on onMessage() not working

Since most of the react-native-recaptchaV3 libraries are outdated, im trying to create component to get invisible recaptchaV3. But onMessage() returns nothing t

What is the best Compose way to build preference screens without using a fragment?

I was unable to find any documentation on how to create preference screens in a pure Compose way without using a fragment. Can anyone please suggest the best wa

Jetpack compose dialogFragment equivalent

I'm trying to implement a dialogFragment with custom layout in Jetpack compose but can't find any samples. Do I need to wrap the UI components inside a Card/Sur

Add card to Google pay

We are implementing Google pay into our bank app. We would like to add a credit card to google pay (wallet). We follow all instructions in doc we should have a

On Complete on Normal function in Kotlin

I have a Piece of code I want to execute just after the completing the first function doc_ViewModel.encryption(img,txt,uid!!) The above is just a rando

My android app keeps crashing from which seems to be a permission problem despite granting the relevant permission in the Manifest

Below is the MainActivity code from which the problem is arising from. class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelectedListene

Change switch color programmatically in Android Studio using Kotlin

I am trying to add a color to the switches in Android Studio using Kotlin I tried few answers fronm this forum and couldn't get it to work Is it possible to mak

How to update listview in Fragment with custom adapter

I am giving product id with barcode scanner. I can add product to listView but when i try to increase or decrease amount of the product. It doesn't update UI. I

How to build an .aab using Buildozer via Docker?

I have just seen that support for AAB files have just been introduced in Python for Android (p4a). Considering that, fom August 2021, new apps are required to p

Invariant Violation: requireNativeComponent: "BVLinearGradient"

I have been working with the react-native-gradient and I am getting the following error regarding the package. Error Invariant Violation: requireNativeComponent