Category "android"

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

Android Navigation Component: dynamically adding fragment to graph

I got a question about using Navigation Architecture Component. I have defined a navigation graph to my app and it works perfectly but I need to use framework S

Android Studio: An exception has occurred in the compiler (1.8.0_152-release)

While running app, unable to complete compilation. Keep throwing error. I am using dagger2 library for annotation. Error:15:04:36.466 [ERROR] [system.err

How to show most used item in first place in RecyclerView in Android?

I have made the application of different tools which have more than 60 tools I want that the user most used item showed in first place in RecyclerView. Please h

FlickrJ-Android Alway authentication failed

I am developing a small android application to upload photo to Flickr. I use Flickj-android library to call Flickr API. But I can't authorize my app. I always g