Category "android"

Android Dialog with CountDown TImer

In my app, I show the push notification as a Dialog that has two buttons named Yes and No. I need to show a timer (20 seconds) running in the dialog's title.

Android socket.io application can't connect to node.js server

my application, using socket.io, cant connect to node.js server. server node.js var app = require('http').createServer() var io = require('socket.io')(app);

Send multiple values between two activities

Hi I´m just starting to learn how to use Android Studio. And I want to try to send the values of the choices the user makes from one activity to the other

JCenter deprecation; impact on Gradle and Android

Should I be worried about JCenter being deprecated? Why should I migrate my libraries from JCenter to other Maven repositories? Can I continue to use jcenter()

Play recorded audio with chronometer counter

I'm creating a recorder app with chronometer counter, the chronometer is working fine with start record, stop record and stop play. My problem is only with sta

How to wait for khttp (kotlin) response in Android

I've been trying to use khttp to send an .jpg file in an android activity but haven't been able to make it work. fun sendImage(view: View) { try {

Kotlin-Android First App Unresolved Reference TextView Button etc

I'm new to Android & Kotlin development. I wanted to get started with a simple "Hello World", but am already running into problems. I added a Textview to

How to completely delete/uninstall eclipse

I tried downloading and installing eclipse because I want to explore android programming. I tried downloading and installing all the tools in the android device

Execution failed for task ':app:processDebugResources'. failed to execute aapt

In Android Studio I have this error when I update Android SDK Tools to version 25: I tried to modify SDK version in gradle build to 21 to execute my app but

NDK is not installed

When building a flutter app, I get an error stating FAILURE: Build failed with an exception.

how to make thumbnail image with initials two char from name android?

I want to thumbnail initials with two word for my image view like "Peter Parker" but am able to get only one word "P"while running code how can get second word

importing an existing JAR or AAR as new project module

how to import JAR or AAR package as new project module in A new Android Studio Arctic Fox | 2020.3.1 Canary 9 ? please let me know.

Android app not writing to firebase database

I know this question has been asked before, but I've tried just about every posted solution and have been unsuccessful. I set up my Firebase realtime database w

OutlinedBox for TextInputEditText is not working

I am working on login screen where I want to implememt material edit text with following view : Following is my code : <com.google.android.material.textf

Could not resolve all artifacts for configuration ':react-native-safe-area-context:classpath'

I have created a boilerplate react-native application and then trying to add react-navigation to it. However the moment I add dependencies for "react-native-saf

Clear state for fragment when using bottom navigation

We have implemented bottom navigation as described here: https://developer.android.com/guide/navigation/navigation-ui#bottom_navigation https://medium.com/andro

Google sign in(OAuth) does not work when the apk is from Firebase App Distribution

I have built a simple Google Sign in for my application. However, when I deploy the apk using Firebase App Distribution, the process returns error code 10 when

Android 13 Themed Icon cut off / doesnt fit in frame

I'm trying to implement the new themed icons and I have the problem that my icon is always zoomed in by 2x and I cannot get it to fit the canvas. Below you can

Android - DataSource vs Repository

You hear a lot of people talking about repositories and datasources when talking about design patterns like MVVM or MVI. I've been creating repositories for thi

Cannot find setter for attribute app:visibleGone

I am trying to implement the MVVM architecture in my android application. I'm using Kotlin for the same. This is my binding adapter class: class BindingAdapte