Category "android"

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

Execution failed for task ':app:compileDevDebugAndroidTestJavaWithJavac'

I am trying to run a command ./gradlew app:assembleAndroidTest inside android directory of my app in order to build an app-debug-androidTest.apk under androidTe

Get realtime data change update when data changes on Firebase Realtime Database

I have written this code to fetch the data. But I want to fetch updates without restarting the activity as data changes in real-time in the database. I want to

Material Design 3: How to make Toolbars the same color as primary surface?

I'd like my Android app to have toolbars the same color as the primary surface (and the status bar -- which is already the primary surface color out of the box

How to handle Single<Single<String>> in RX?

I have an api with a method fun getList( @Path("array") array: String ): Single<List<EpisodeRetrofitModel>> I need an argument to u

Untrusted Server Certificate in Intellij

I don't understand why Android Studio behaving weird, sending this Untrusted Server Certificate request again and again. Please suggest how to avoid this?

Call from foreground service stops working when screen is off

I have the following code that makes a phone call: public static void CallPhoneNumber(this Context context, string phoneNumber) { var uri = Android.Net.Uri.

Unknown DataBinding Class

I am newbie to DataBinding in Android and learning it to my own. I have just enabled the DataBinding in my App Gradle File in the Android Tag as: dataBindin

Using Custom Views with Jetpack Compose

Let's suppose I'm using some library that's intended to provide some UI Widgets. Let's say this library provides a Button Widget called FancyButton. In the oth

What is Scaffold? Jetpack compose

I want to know what is Scaffold in jetpack compose with a BottomAppBar example can anyone help me Scaffold

how to set condition in adapter?

I use this to visible some textview public void onBindViewHolder(@NonNull ViewHolder holder, int position) { Post p = posts.get(position); hold

After cleaning gradle, androidx-test.core module throws merged-manifest errors

In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, th

After cleaning gradle, androidx-test.core module throws merged-manifest errors

In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, th