Category "android"

Androi Kotlin flow: How to call multiple task in sequence without many callback

i have 2 flow (flow1, flow2) and want to call 2 flows in sequential (flow1 then flow2) cause "flow2" depend on "flow1" result but want to implement "flow1" base

Android Paint. How is the character width calculated?

I need to know how the width of text changes when I increase paint.getTextSize() n times. I thought that is proportional, but first test indicates that it is no

Getting error while running command "flutter build --release"

The android studio builds the apk perfectly with the following command : "flutter build apk" but is throwing error when I try to run "flutter build apk --releas

kotlin android gradle error id 'kotlin-android-extensions'

plugins { id 'com.android.application' id 'kotlin -android' id 'kotlin-android-extensions' } After updating the build.gradle file, it changed a

Android with Libgdx: cannot resolve symbol GoogleSignInOptions

I'm developing a game on Libgdx. And I can not set up GoogleSignIn in the application. I'm using this instructions: https://developers.google.com/identity/sign-

How to sign Multiple Flavor APK's with a Single Keystore

I have 11 flavors for an app and one Keystore for an app. I hoped to use one keystore to sign multiple product flavors like below. signingConfigs { release

Flutter: I can't pull data with Mysql1

I recently started Flutter. I want to make a simple contacts application with "mysql1" but I failed to pull the data. I installed the MySQL plugin in VS Code an

Jetpack compose, bring nth item in column to top of the screen like Twitter Comment section

if you can notice here, as soon as i opened the screen the UI first focused on comment composable on the screen and i was able to scroll up for top composables.

Life cycle of foreground service started with setForegroundAsync

In the documentation of setForegroundAsync it says: "This specifies that WorkRequest is long-running or otherwise important. In this case, WorkManager provides

How to impl LazyVerticalGrid with set full span or dynamic num of GridCells.Fixed in jetpack compose?

Just like Sliver in Flutter or StaggeredGridLayoutManager in android reyclerview so I can insert a banner or some thing else into grid layout

Material BottomNavigationView app:menu doesnt work

I'm doing everything according to the document on the developer.android.com, but I can't see the menu. I think the app:menu line is not working. When I enter th

Set Content Compose Dialog Works on Phone, but Not Tablet? - Android

I've run this through the debugger a hundred times and stepped into the setContent over and over. I can't figure out why. No errors given. Works perfectly on A

Material Design 3 uses colorPrimary for actionBar, navBar and calendar background color. How do I disable this?

After upgrading to Material Design 3, I noticed that the background colors of certain things changed to a faded version of whatever my primary color is set to.

rebuild my screen with future provider for specific widgets using id root

im trying to retrieve tasks from project in another words i want to rebuild my screen on viewing tasks with specific forgin key projectId i got this error while

Getting 'com.android.tools.r8.internal.Hc: Sealed classes are not supported as program classes' when trying to load Microsoft SQL Server JDBC

I'm using android studio to connect to a Microsoft SQL Server and I can't use the JDBC for JDK 17. It just appears with the following error message: 'com.androi

File pattern '*.psd' (from 'bundled' plugin) was reassigned to file type 'Adobe Photoshop' by 'Android' plugin

Got this message in event log: Same like File pattern '*.apk' (from 'bundled' plugin) was reassigned to file type 'APK' by 'Android' plugin In my project there

File pattern '*.apk' (from 'bundled' plugin) was reassigned to file type 'APK' by 'Android' plugin

Suddenly android studio showed this message. What is that I must do? It is showing: File pattern '*.apk' (from 'bundled' plugin) was reassigned to file type 'AP

Flutter android app doesn't have internet connection

I built an flutter app. I used url_launcher package to navigate social links and other external browser links. And it was perfectly working on android emulator.

How fix remember in Jetpack Compose?

The picture shows the code and logs For some reason startDate and endDate not recreated

Intent from widget not taken into account since Android SDK 31

My app offers the possibility to launch it through as many widgets as wanted by the user. To determine which widget trigerred the launch, I use an extra paramet