Category "android"

Flutter: Could not compile build file 'build.gradle', General error during semantic analysis: Unsupported class file major version 57

I try to develop an app using Flutter. Everything is OK when I initiate my app, it runs perfect for 2 days. But when I had an error writing my widgets, I restar

Minimal android foreground service killed on high-end phone

I'm trying to create an app that lets users log routes (locations/GPS). To ensure locations are logged even when the screen is off, I have created a foreground

Creating a simple Hello world Android Client-Server program

To keep it simple, all I'm trying to do is to send a message from my Android Emulator to a Java console server on Eclipse that contains a simple string, then I

Android Notification Action Button Click Listener

I am developing an event planning application, and I'm currently working on a feature for assigning an item to a guest. When the item is assigned, a notificatio

flutter android gradle error with flutterdownloader

I have implemented flutterDownloader (its a package for downloading files in flutter ) in my project and when I add it to android manifest like the doc says and

java.lang.NullPointerException React Native

I've been trying to build my React Native application for release, but I always get this error: FAILURE: Build failed with an exception. * What went wrong: ja

Android IAB: Billing service unavailable on device

I am trying to implement IAB in my app. Each time the app starts, the start up fails with: Problem setting up In-app Billing: IabResult: Billing service unavai

What is the Chain object in OkHttp Interceptors? Retrofit

I am watching a tutorial on how to add headers with OkHttp Interceptors, but I am confused about a few things. What is a Chain object? What does Request origina

How to stop all sounds in SoundPool?

I am using SoundPool to play sfx sounds in a game on Android. In most cases it works perfectly, except sometimes I need to stop all sounds at once not pause (do

Text Input layout hint is overlapped with the outlined box

my text input layout's hint text seems overlapped how can I move the hint text to little right of the outline. my xml : <com.google.android.material.textfiel

Google SignIn API Exception 10

Approaching to the final stage of the authentification, but something is going wrong in handleSignInResult method. It returns Exception code 10 (Developer error

How to achieve click effect on ShapeableImageView, min api 21 without nesting view

Is there a better way to achieve click effect on ShapeableImageView with recent release of Material components v1.2.0 I do not want to use foreground property a

How to set visibility in Kotlin?

I am new in Kotlin. I have a view that I need to show or hide in conditional ways. How can I do this in Kotlin? In Java: public void showHide(View view){

Socket communication between Android app and web browser

My Android device+app is continuously sending data every few ms, and I'd like to receive it on my web browser application that I'm building with JavaScript/HTML

Compare Two String Date and Time in android?

I have Two String Datetime as follows: String Date1 = "05-09-2013 10:46:10" String Date2 = "06-09-2013 10:46:10" I Need to compare these datetimes and i need

How to use bias in Constraint Layout Compose

How do I set the layout_constraintHorizontal_bias prop on a Composable that is in a Constraint Layout? Here is the XML code: <TextView ... tool:layou

is it possible to convert aar file to android studio project?

Currently I have an aar file and need to edit the structure and functions in it. I need to convert it to a project in order for you to edit it. Is there any way

How to use bias in Constraint Layout Compose

How do I set the layout_constraintHorizontal_bias prop on a Composable that is in a Constraint Layout? Here is the XML code: <TextView ... tool:layou

IOException: read failed, socket might closed - Bluetooth on Android 4.3

Currently I am trying to deal with a strange Exception when opening a BluetoothSocket on my Nexus 7 (2012), with Android 4.3 (Build JWR66Y, I guess the second 4

Toolbar subtitle is cut (It does not fit in height)

My question is very simple, but i can't figure it out: When i try to display a subtitle, the toolbar has not enough space do display it and it is cut. Toolbar