Category "android"

Change Package Name after implementation of data binding

I'm using Databinding with one of my project with project name com.abc.def. I've related all my views with binding like ActivityLoginBinding binding = DataBin

Read value from local.properties via Kotlin DSL

I want to retreive key from local.properties file that looks like : sdk.dir=C\:\\Users\\i30mb1\\AppData\\Local\\Android\\Sdk key="xxx" and save this value in m

Android and Socket.io , send and receive data

I can send data to server.js and it work well but i can't receive data from server.When i click button server.js gets data i think Server.js send data but my Ap

Exposed drop-down menu for jetpack compose

I was wondering if there is a solution for Exposed drop-down menu for jetpack compose? I couldn't find a proper solution for this component inside jetpack compo

TextField is overlapped by keyboard in Android Compose

I have a TextField in column with verticalScroll(). When adding a large number of characters, the textfield size goes beyond the keyboard and I stop seeing what

Android kotlin Object Any type mismatch

How to assign kotlin map to java library map. This gives type mismatch error for Object and Any. I need to assign java map variable in a 3rd party java library

DataBindingUtil is not working after adding safe-args dependency

I'm adding the safe-args dependency: project level: dependencies { classpath 'com.android.tools.build:gradle:3.3.0' classpath "org.jetbrains.kotlin:ko

Progruard and R8 being deprecated - Android Studio 3.6

I'm getting deprecated warnings in regards to Proguard as well as R8 after upgrading my Android Studio to 3.6. Does that mean we shouldn't use obfuscation in ou

Can not build the android application after upgrading to flutter 3.0

Command: flutter run --flavor dev --no-sound-null-safety FAILURE: Build failed with an exception. Where: Script '/Users/petodavid/Developer/flutter/packages/flu

Only the second function is called, Android studio Kotlin

I followed a tutorial on Camerax from the Android Studio website, and I wanted the camera button when pressed to take a picture from the front and the back came

File filter in Jacoco android test coverage report not working as expected

I am trying to add Jacoco to my project for test coverage reporting. Referred the following blogs for that, https://medium.com/nerd-for-tech/setup-jacoco-code-c

React-navigation drawer content is misaligned

I'm writing a React Native app that uses the react-navigation 5.x library, specifically @react-navigation/drawer. I have four screens in the drawer, each with a

How to process multiple tensorflow models android

I am working on the app which will take the camera input and process with tensorflow model(for gesture detection) which will give the bounding box output. I hav

Cannot create an instance of an abstract class (Kotlin)

Trying to use LiveData but this error apears. class GameViewModel : ViewModel() { private val _score = MutableLiveData<Int>() val score: LiveData<Int&g

Xamarin Android custom action bar - something went wrong error

I was trying to do exactly this tutorial for xamarin android: https://docs.microsoft.com/pl-pl/xamarin/android/user-interface/controls/tool-bar/replacing-the-ac

How do I get Wireguard-Android make file to function on Windows?

I'm trying to build the wireguard-android sources on my windows machine, fixing the problems step by step with trial and error. I have CMake and Make installe

Change the TextInputLayout outline color

I'm trying to customize a TextInputLayout with material style. I managed to set the focused state to the colors I want: Using <com.google.android.material.t

Should I have the web version of an app in the same Flutter project for android and iOS, even though the web version is 100% different?

I have a Flutter app running on both android and iOS (Flutter + Firebase) but I'm implementing an admin dashboard that will only work on the web version. I was

Android Gradle project sync failed due to unresolved dependency

I recently added a card-stack-view dependency (implementation 'com.yuyakaido.android:card-stack-view:2.3.4') to my app level build.gradle and after that my proj

Flutter error: Each child must be laid out exactly once. On building layout

I'm using flutter_bloc. I've got code like this: class Settings extends StatelessWidget { final _formKey = GlobalKey<FormState>(); @override Widget