Category "android"

Hide floating button when collapsing toolbar is collapsed

I have a coordinator layout containing a collapsing toolbar, a nestedscrollview and a floating button. My floating button is placed at the bottom right end of t

Partial wake lock releases when screen turns off

Im building a Cordova/Ionic app which lets a user view the camera of an Andoroid cellphone live using webrtc (peerJs). I need to allow the device to turn off t

Java: Solving unchecked call

I'm having an issue with unchecked calls even though I already introduced the type parameter to my method. I don't want to suppress the warnings because I'm pre

Error inflating class com.andexert.expandablelayout.library.ExpandableLayout

Im getting this error android.view.InflateException: Binary XML file line #12: Error inflating class com.andexert.expandablelayout.library.ExpandableLayout E/A

Cancel all Previous Api call in Android - Retrofit - Using module

I have created below module in my android application. val appNetworkModule = module { // Dependency: OkHttpClient single { var okHttpClient=OkHttpClient.Bu

flutter-how to download file with inappwebview

I want to use inappwebview to download files on a website, but when I try the code available at https://blog.codemagic.io/inappwebview-the-real-power-of-webview

How to detect when Android WebView has loaded page?

I have an app that displays a splash page and removed that splash page when a URL is loaded in WebView. The following is the relevant code we are using to remov

How to Save Username and Password in Webview

Currently, I am still in the proccess of learning Android development so please excuse me if this question of mine is not easily understandable for you. I creat

Emulator command not recognized in command line

I am trying to use enulator command and list all of my emulator nevertheless i get infromation that command is not found. My avds are installed in visual studio

How to send parameters for get request using retrofit and kotlin Coroutines.?

I was following the tutorial from https://proandroiddev.com/suspend-what-youre-doing-retrofit-has-now-coroutines-support-c65bd09ba067. I am having difficulty t

How to remove an animation in Flutter?

I would like to remove an animation and just print the result but I don't know how to remove the animation from this result Here is where the result is: onPress

How to retrieve data from sql server db in android

this is the first time I am developing an android application. I want to bind some data with grid view or list view based employee id provided on the text box.

Unity Editor - stuck at building native binary with IL2CPP

I have an Unity project and planning to embed it in Android studio as a library. I followed https://medium.com/@davidbeloosesky/embedded-unity-within-android-ap

Changing the Wifi name for a Virtual Android Device

The Android Virtual Device is connected by defualt to a wifi network called "AndroidWifi". I am working with an app that expects to be connected to a wifi netwo

How to get a text from SearchView?

I need to get a text from SearchView and compare it to strings in my activity's ListView and show a Toast if the word in a SearchView is in my ListView. How do

How to make middle ellipsis in Text with Jetpack Compose

I need to make Middle Ellipsis in Jetpack Compose Text. As far as I see there is only Clip, Ellipsis and Visible options for TextOverflow. Something like this:

Sending voice in broadcast from android to many androids

I need to develop Android application which sends voice from Android phone to many Android phones and hear it in the real time. All phones are on the same net,

get id of node in firebase by item in recyclerView

i want to access on this point by clicking on element inside cardView i only can reach to the point before it by using this line reference = FirebaseDatabase.

android reset in app purchase

at the moment i testing the in app purchase of my app. for this i create a google account as test account. i bought with my test account the in app option. now

How to bring imageView in front of cardview ? When both are of Relative Layout childs

I have a layout XML: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools