Category "android"

Get lat/lon from google maps url ftid (hex)

When using android google maps app share button for a location, it just return a url as intent to other applications like this one: https: // goo. gl / maps/tk

Glympse notification "Smart Device Link" on Android 10

since quite a while I get an annoying notification from Glympse about "Smart Device Link". As I am not aware of using that feature, I would like to get rid of t

Working with .sql file in android?

I am working on android project. In my project I have a 'DatabaseFood .sql 'file(initially it was a .csv file), it looks like this BEGIN TRANSACTION; CREATE TA

I have problem with gradle in flutter. Could not open settings generic class cache for settings file

Here is the error: FAILURE: Build failed with an exception. What went wrong: Could not open settings generic class cache for settings file 'E:\proj\android\sett

Which Java version is the fastest on and is supported by Android?

I heard that Java is becoming faster on newer versions of Android that it's almost as fast as C++, and the performance depends on the type of code/operations. I

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