Category "android"

add Crashlytics in project have Dexguard

I am tired to sync my project whit Crashlytics. in my app using Dexguard and in release app is not synced whit Crashlytics. and add this code in Dexguard file:

Android Firebase: Set Value not working

I am trying to add an test value to Firebase Database by following code: FirebaseDatabase database = FirebaseDatabase.getInstance(); DatabaseReference ref = F

Android - Firebase ServerValue.TIMESTAMP returns "{.sv=timestamp}"

I have to save ServerValue.TIMESTAMP in my Database but it must be a string. When I type String.valueOf(ServerValue.TIMESTAMP); or ServerValue.TIMESTAMP.toStrin

JSON object showing null pointer exception

I want to post data to the url and getting Null pointer exception My JSON URL contains { "Details": [ { "Status":"NO UPDATES" }

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