Category "android"

App Links `legacy_failure` verification error on Android 12

I have setup assetlinks.json and AndroidManifest.xml so that the desired App Links are verified in all previous versions of Android. However, the verification n

How can I downgrade the Gradle in NativeScript?

In my NativeScript project, after the last Gradle update, I can't build a new Bundle file (for Android release). This error is about the compatibility of some p

on swipe how can i set text in text field after that edit text and insert again on that position where we swipe

on swipe how can I set text in the text field after that edit text and insert it again in that position. swipe in Dismissible and after swipe, I want my text on

Jetpack Compose TopAppBar with dynamic actions

@Composable fun TopAppBar( title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable (() -> Unit)? = null,

How support PhoneStateListener for APIs below 31?

I have discovered that the code of my application has been deprecated. I was using PhoneStateListener class but now I see that this decreasing for API 31 and th

Best practice for combining android client, spring-boot backend and Oauth2 social login

I am attempting to create a project that combines an Android client with a spring-boot microservices architecture in the backend. The client application will co

Not sure how to convert a Cursor to this method's return type in Room Android?

I am getting the following error when I build my application Not sure how to convert a Cursor to this method's return type (kotlinx.coroutines.flow.Flow<? ex

<a /> tag with a child image opens the image in new tab instead of the <a /> tag's link when clicked

I have an anchor tag <a /> with and image as a child , basically I want to create an image that works as a link .in this case the image is a youtube thumb

Duplicated class Koin org.koin and io.insert-koin

I'm using two library that have dependencies of two different versions of Koin. One of the library has org.koin:koin-android:2.0.1 and the other has io.insert-k

App is not working and shuts down on Samsung Galaxy S22

Samsung Galaxy S22 users are complaining that they cannot login to app (probably related to Facebook Login) and the app crashes - presenting them with the follo

Flutter snapshot lost data after update in offline

I created a simple application that displays a list of movies from Firestore DB. When you tap the movie, the number of likes increases by one. The problem occur

MutableStateFlow and Firebase console with jetpackCompose

I don't know why, but my text in MutableStateFlow doesn't change when i'm changing the string in firebase console. Can someone help me and say why ? I'm putting

Firebase Query in Android returns random number of items altough multiple items match the query

I am using the Firebase Realtime database and I constructed a query for the node "Orders" which should return all items whole attribute "orderID" is equal to 2.

How to open SQLite DB created by one Xamarin Android app in another app?

I have a Xamarin Android app which creates SQLite DB. After reinstaling this app I am not able open the DB with a new version of the app. For the testing purpos

Convert EditText to TextView Programatically? [duplicate]

What I Want I want to convert EditText into TextView programmatically. <EditText android:id="@+id/inputValue" android:layout_width=

How to run android app (.apk) inside a docker container without emulator

I want to run android apps inside a docker container to run them on Linux. I know there are ways to run android apps using some tools like Anbox or Genymotion b

When I Update my Phone to Android 12, Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

I was working on my project perfectly since I Update my phone to Android 12 unfortunately when I run the project to my phone this Error appears: Installation d

Keep data in ListView after refresh - Android Studio

I have a Main Activity and PersonListView Activity. In Main Activity, there are some input text and when click save button, it will send data and save to listvi

I am trying an else if statement for validation email however it throws an error on else if(password.isEmpty) saying "else without if"

@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCRE

Failed to create AR session in AR supported devices

I am trying to implement AR Core feature in my app. This works fine in few devices (supports AR core - One plus 6T and Xiaomi Redmi Note 8). Doesn't work in few