Category "android"

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

Google Calendar API mobile

I'm trying to add multiple events to Google Calendar, but I only can launch one event at a time. val intent = Intent(Intent.ACTION_INSERT) .setData(Ca

Creating a list of objects from a nested JSON in Flutter

There's a URL address that I decoded to JSON, and there's a certain header (result) that I'm trying to convert to a list of objects (Book). When I print the con

onPurchasesUpdated called multiple times

I have set up in-app billing on an Android app (java). When I call launchBillingFlow on the BillingClient: BillingFlowParams billingFlowParams = Billing

DialogFragment not hiding navigation controls when in full screen

I'm trying to have a full screen DialogFragment with the ability to show / hide status and navigation bars when tapping the screen. Here is the DialogFragment c

minCompileSDK specified in dependency AAR metadata (androidx.window:window:1.0.0-beta04)

I'm currently using Android studio attempting to run an old Flutter project I made about a year and a half ago. When I attempt to run it I get the error: The mi

Android API 28 getBitmap throwing "no such column" error

On Android API 28, I'm trying to get the album art for a particular album using the albumID. The code throws the following error on getBitmap android.database.s

How to get the Config.json file for Alexa voice service (AVS) SDK (Download button missing ?)

I am trying to build AVS built-in device for Android platform I followed the steps given in this doc https://developer.amazon.com/en-GB/docs/alexa/avs-device-sd