Category "android"

Copy Data from CSV file to Sqlite file in Android

I want to copy the data from CSV file to SQLite file for my android application.SQLite table structure i.e. the columns are different than the CSV file columns.

Cause: androidx.navigation.safeargs can only be used with an androidx project

I am facing issue with navigation component called safeargs. I have used classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.0.0' in build grad

How to customize a vector in Android Studio?

I am working with an Android app (using API 21) in which I can change the color of a vector manually depends on previous Activity, but I have a problem, I can n

Why can't I use `AnimatedVisibility` in a `BoxScope`?

I have a layout which looks like this: Row { ... Box( modifier = Modifier .fillMaxHeight() .width(5

intent.putExtra() in pending intent not working

I am passing a pending intent through alarmreceiver, from a service class. But, after the pendingIntent fires, the intent.putExtra() information is not being re

Implementing eSIM, LPA Example

I'm trying to write a test example of code for implementing eSim on a device using examples from the documentation https://source.android.com/devices/tech/conne

How to use navGraphViewModels in Activity (Not in Fragment)

In Fragment, we can use ViewModel scoped to navigation Graph. private val viewModel: ViewModel by navGraphViewModels(R.id.youNavGraphID) But how to create View

Could not get unknown property 'RELEASE_STORE_PASSWORD' for SigningConfig_Decorated{name=debugY

I've been having this problem recently as I'm searching everywhere, also here in stack, I see a lot of different answers. Does anybody know how to solve this on

Xamarin Forms Editor Scrollbar

I have a need for an Editor, with a checkbox in a left margin for each line. (When the user clicks on the check box, the text for that line changes color.) At t

Itemdecoration in Jetpack compose

I am currently in the process of evaluating whether or not we can migrate our rather complex UI to jetpack compose at this stage and I am struggling with the fo

AndroidViewClient: unable to dump correctly the view

I'm trying to use CulebraTester2 to dump the Window hierarchy. I'm testing an app where the text of some TextView changes: the first time I call dumpWindowHiera

FacebookSdk not starting android

I have tried everything from tutorials, answers all around, even with examples from https://github.com/facebook/facebook-android-sdk/tree/master/samples. I have

Android NavigationRail Show multiple label lines for item text

I'm developing a NavigationRail and I wanted to display the text of each item in two lines, as show in this official example, but it keeps getting ellipsized in

How to programmatically change Bottom Navigation View's Icons?

I want know how can I change Bottom Navigation View's Icons when user basically selects it and then again replace it with previous icon if user selects differen

Android walkie talkie application unable to connect to server

I am trying to modify an open source application Android Walkie Talkie http://sourceforge.net/projects/android-ptt/ but the original application itself seems to

Persisted SAF URI from Google Drive changes after a few days, content is unreachable

I'm persisting an URI obtained via SAF launched with the following intent: val intent = Intent(Intent.ACTION_CREATE_DOCUMENT) .setType("application/json")

What are dependencies in android?

What are dependencies ? Why do we add dependencies ? I searched a lot but could not find the answers to above questions.

How to fix User interaction disclosure : Eligibility issue in Play Store Family Requirement Policy?

Issue: You must accurately disclose the app's interactive elements on the content rating questionnaire in the Play Console, including whether: users can interac

Could not reach Cloud Firestore backend. Connection failed 1 times

i'm using a very simple code and fetching data from firestore import firebase from 'firebase/app'; import 'firebase/firestore' const firebaseApp = firebase.ini

Android SDK path not specified

I already installed the android studio but i am having a problem to proceed ahead, and the problem is Android SDK path not specified, what does it mean, do i ne